FlatCAM fork for modern systems

Leandro e7a42d037b Normalize messages hace 5 años
Utils ca4c7b245f - added a script to remove the bad profiles from resource pictures. From here: https://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile/43415650, link mentioned by @camellan (Andrey Kultyapov) hace 6 años
assets 392d93aa05 Fix script path hace 5 años
config 26fe1bf5e1 - if FlatCAM is started with the 'quit' or 'exit' as argument it will close immediately and it will close also another instance of FlatCAM that may be running hace 6 años
descartes 9f99520683 - fixed a bug in milling holes due of a message wrongly formatted hace 6 años
doc e945ced44b - modified the way FlatCAM preferences are saved. Now they can be saved as new files with .FlatConfig extension by the user and shared. hace 7 años
flatcamEditors 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
flatcamGUI fe2d232f60 - minor changes hace 5 años
flatcamObjects fe2d232f60 - minor changes hace 5 años
flatcamParsers 3ec666edbb - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
flatcamTools 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
locale a30d2d9185 - added support for Hungarian language - no translation for now hace 5 años
locale_template 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
preprocessors c5e4d72db8 - solved issue #381 where there was an error when trying to generate CNCJob out of an Excellon file that have a tool with only slots and no drills hace 5 años
share c9ba61dea9 - updated some of the icons in the dark_resources folder (some added, some modified) hace 5 años
tclCommands 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
tests a6b89dbf3a - moved back the ApertureMacro class to camlib for now and made some import changes in the new ParseGerber and ParseExcellon classes hace 6 años
.gitignore b9cbe97f4d - fixed display HPGL code geometry on canvas hace 7 años
CHANGELOG.md fe2d232f60 - minor changes hace 5 años
FlatCAM.py c13721184c - if FlatCAM is not run with Python version >= 3.5 it will exit. hace 5 años
FlatCAMApp.py fe2d232f60 - minor changes hace 5 años
FlatCAMBookmark.py fe2d232f60 - minor changes hace 5 años
FlatCAMCommon.py 3ec666edbb - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
FlatCAMDB.py 3ec666edbb - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
FlatCAMPool.py 32ff417a2c - fixed a bug in Excellon Editor that crashed the app when editing the first tool added automatically into a new black Excellon file hace 6 años
FlatCAMPostProc.py 3ec666edbb - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
FlatCAMProcess.py 97024ed643 - corrected some issues and made Move Tool to show correctly when it is moving and when it is offsetting the objects position hace 6 años
FlatCAMTool.py a1499158c2 - refactored some of the code in the App class and created a new Tcl Command named Help hace 5 años
FlatCAMTranslation.py a30d2d9185 - added support for Hungarian language - no translation for now hace 5 años
FlatCAMWorker.py 4c1fdd2e2d - fixed bug in Tool Subtract that did not allow subtracting Gerber objects hace 6 años
FlatCAMWorkerStack.py dc6479210a - chagend the workers thread priority back to Normal hace 6 años
LICENSE f242e3163e - small changes (dates, version) hace 7 años
Makefile e7a42d037b Normalize messages hace 5 años
README.md fbaaee4cce Update Linux install info hace 5 años
camlib.py 9f13b47077 - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute hace 5 años
make_freezed.py 527dcf6270 - added possibility to save as text file the content in Tcl Shell browser window when clicking the Save log context menu entry hace 5 años
requirements.txt 61020e3624 - finished the moving of all Tcl Shell stuff out of the FlatCAAMApp class to flatcamTools.ToolShell class hace 5 años
setup_ubuntu.sh f01b3be869 Add pyqt5 as requested hace 5 años

README.md

FlatCAM BETA (c) 2019 - by Marius Stanciu Based on FlatCAM:

2D Computer-Aided PCB Manufacturing by (c) 2014-2016 Juan Pablo Caram

FlatCAM is a program for preparing CNC jobs for making PCBs on a CNC router. Among other things, it can take a Gerber file generated by your favorite PCB CAD program, and create G-Code for Isolation routing.

=================================================

------------ Installation instructions ----------

Works with Python version 3.5 or greater and PyQt5. More on the YouTube channel: https://www.youtube.com/playlist?list=PLVvP2SYRpx-AQgNlfoxw93tXUXon7G94_ You can contact me on my email address found in the app in: Menu -> Help -> About FlatCAM -> Programmers -> Marius Stanciu

  1. Windows
  2. download the provided installer (for your OS flavor 64bit or 32bit) from: https://bitbucket.org/jpcgt/flatcam/downloads/
  3. execute the installer and install the program. It is recommended to install as a Local User.

or from sources:

You can download all the required wheels files into a folder (e.g D:\my_folder) and install them from Command Prompt like this: cd D:\my_folder and for each wheel file (*.whl) run: D:\my_folder> pip install --upgrade package_from_requirements.whl

Run FlatCAM beta from the installation folder (e.g D:\FlatCAM_beta) in the Command Prompt with the following command: cd D:\FlatCAM_beta python FlatCAM.py

  1. Linux
  2. make sure that Python 3.8 is installed on your OS and that the command: python3 -V confirm it
  3. verify that the pip package is installed for your Python installation (e.g 3.8) by running the command pip3 -V. If it is not installed, install it. In Ubuntu-like OS's it is done like this: sudo apt-get install python3-pip or: sudo apt-get install python3.8-pip
  4. verify that the file setup_ubuntu.sh has Linux line-endings (LF) and that it is executable (chmod +x setup_ubuntu.sh)
  5. run the file setup_ubuntu.sh and install all the dependencies with the command: ./setup_ubuntu.sh
  6. if the previous command is successful and has no errors, run FlatCAM with the command: python3 FlatCAM.py
  • Alternatively you can install it on Ubuntu with:

    # Optional if depencencies are missing
    make install_dependencies
    
    # Install for the current user only (using the folder in its place)
    make install
    
    # System-wide instalation
    sudo make install
    
  1. MacOS Instructions from here: https://gist.github.com/natevw/3e6fc929aff358b38c0a#gistcomment-3111878