FlatCAM fork for modern systems

Marius Stanciu 9761e5e6fa - added a CHANGELOG file and changed the README file to contain the installation instructions %!s(int64=5) %!d(string=hai) anos
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) %!s(int64=6) %!d(string=hai) anos
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 %!s(int64=6) %!d(string=hai) anos
descartes 9f99520683 - fixed a bug in milling holes due of a message wrongly formatted %!s(int64=6) %!d(string=hai) anos
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. %!s(int64=7) %!d(string=hai) anos
flatcamEditors dc1a198235 - added ability to use line width when adding shapes for both Legacy and OpenGL graphic engines %!s(int64=5) %!d(string=hai) anos
flatcamGUI dc1a198235 - added ability to use line width when adding shapes for both Legacy and OpenGL graphic engines %!s(int64=5) %!d(string=hai) anos
flatcamParsers fdd5344581 - fixed bug in Gerber parser that allowed loading as Gerber of a file that is not a Gerber %!s(int64=5) %!d(string=hai) anos
flatcamTools dc1a198235 - added ability to use line width when adding shapes for both Legacy and OpenGL graphic engines %!s(int64=5) %!d(string=hai) anos
locale d80de538e3 - modified all CTRL+ with Ctrl+ and all ALT+ with Alt+ and all SHIFT+ with Shift+. Fixed issue #387. %!s(int64=5) %!d(string=hai) anos
locale_template d80de538e3 - modified all CTRL+ with Ctrl+ and all ALT+ with Alt+ and all SHIFT+ with Shift+. Fixed issue #387. %!s(int64=5) %!d(string=hai) anos
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 %!s(int64=6) %!d(string=hai) anos
share 0394011046 - added to GIT some missed files %!s(int64=5) %!d(string=hai) anos
tclCommands e64c7060e5 - updated DrillCncJob Tcl Command with new parameters and fixed it to work in the new format of the Excellon methods %!s(int64=5) %!d(string=hai) anos
tests a6b89dbf3a - moved back the ApertureMacro class to camlib for now and made some import changes in the new ParseGerber and ParseExcellon classes %!s(int64=6) %!d(string=hai) anos
.gitignore b9cbe97f4d - fixed display HPGL code geometry on canvas %!s(int64=7) %!d(string=hai) anos
CHANGELOG.md 9761e5e6fa - added a CHANGELOG file and changed the README file to contain the installation instructions %!s(int64=5) %!d(string=hai) anos
FlatCAM.py c13721184c - if FlatCAM is not run with Python version >= 3.5 it will exit. %!s(int64=5) %!d(string=hai) anos
FlatCAMApp.py dc1a198235 - added ability to use line width when adding shapes for both Legacy and OpenGL graphic engines %!s(int64=5) %!d(string=hai) anos
FlatCAMCommon.py abce81d802 - fixed issue #394 - the saveDialog in Linux did not added the selected extension %!s(int64=5) %!d(string=hai) anos
FlatCAMObj.py c5926ae99f - modified the extensions all over such the names include also the extension name. For Linux who does not display the extensions in the native FileDialog. %!s(int64=5) %!d(string=hai) anos
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 %!s(int64=6) %!d(string=hai) anos
FlatCAMPostProc.py 2ca509ca04 - few bugs solved regarding the newly created empty objects %!s(int64=6) %!d(string=hai) anos
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 %!s(int64=6) %!d(string=hai) anos
FlatCAMTool.py 22f74edfab - added to Paint and NCC Tool a feature that allow polygon area selection when the reference is selected as Area Selection %!s(int64=6) %!d(string=hai) anos
FlatCAMTranslation.py a9d69a57fe - make sure that the fixes above apply when rebooting app for theme change or for language change %!s(int64=6) %!d(string=hai) anos
FlatCAMWorker.py 4c1fdd2e2d - fixed bug in Tool Subtract that did not allow subtracting Gerber objects %!s(int64=6) %!d(string=hai) anos
FlatCAMWorkerStack.py dc6479210a - chagend the workers thread priority back to Normal %!s(int64=6) %!d(string=hai) anos
LICENSE f242e3163e - small changes (dates, version) %!s(int64=7) %!d(string=hai) anos
ObjectCollection.py 742180d6e3 - updated the Tcl commands PlotAll and PlotObjects to have a parameter that control if the objects are to be plotted or not on canvas; it serve as a disable/enable %!s(int64=5) %!d(string=hai) anos
README.md 9761e5e6fa - added a CHANGELOG file and changed the README file to contain the installation instructions %!s(int64=5) %!d(string=hai) anos
camlib.py 5a5a18ef43 - some PEP8 changes in Geometry Editor and other minor changes %!s(int64=5) %!d(string=hai) anos
make_freezed.py 2ca509ca04 - few bugs solved regarding the newly created empty objects %!s(int64=6) %!d(string=hai) anos
requirements.txt e1269cdb34 - updated the requirements file %!s(int64=5) %!d(string=hai) anos
setup_ubuntu.sh 13644187e4 - removed some packages from setup_ubuntu.sh as they are not needed in FlatCAM beta %!s(int64=5) %!d(string=hai) anos

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.

  1. MacOS
  2. none (yet)

  3. Linux

  4. make sure that Python 3.8 is installed on your OS and that the command: python3 -V confirm it

  5. verify that the file setup_ubuntu.sh has Linux line-endings (LF) and that it is executable (chmod +x setup_ubuntu.sh)

  6. run the file setup_ubuntu.sh and install all the dependencies with the command: ./setup_ubuntu.sh

  7. if the previous command is successful and has no errors, run FlatCAM with the command: python3 FlatCAM.py

  8. Windows

  9. download the provided installer (for your OS flavor 64bit or 32bit) from https://bitbucket.org/jpcgt/flatcam/downloads/

  10. execute the installer and install the program. It is recommended to install as a Local User.

or

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