2-D post processing for manufacturing, specialized in Printed Circuit Board fabrication on CNC routers.
Go to file
Marius Stanciu eed7e3d620 - some minor changes in the Python version detection
- added a new Tcl Command named SetPath which will set a path to be used by the Tcl commands. Once set will serve as a fallback path in case that the files fail to be opened first time. It will be persistent, saved in preferences.
- added the GUI for the new Open Example in the FIle -> Scripting menu.
- I am modifying all the open ... handlers to add a parameter that will flag if the method was launched from Tcl Shell. This way if the method will fail to open the filename (which include the path) it will try to open from a set fallback path.
- fixed issue #406, bug introduced recently (leftover changes).
- modified the ImportSVG Tcl command name to OpenSVG (open_svg alias)
- added a new Tcl command named OpenDXF (open_dxf alias)
- fixed some errors in Scripting features
- added a new Tcl command named GetPath as a convenient way to get the current default path stored in App.defaults['global_tcl_path']
2020-04-28 14:37:34 +03:00
Utils - 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) 2019-12-15 14:26:41 +02:00
assets/linux Fix script path 2020-04-27 15:22:12 -03:00
config - 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 2019-09-17 14:08:57 +03:00
descartes - fixed a bug in milling holes due of a message wrongly formatted 2019-10-17 15:29:52 +03:00
doc - modified the way FlatCAM preferences are saved. Now they can be saved as new files with .FlatConfig extension by the user and shared. 2019-01-23 17:06:14 +02:00
flatcamEditors - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute 2020-04-27 12:34:56 +03:00
flatcamGUI - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
flatcamObjects - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
flatcamParsers - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
flatcamTools - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
locale - added support for Hungarian language - no translation for now 2020-04-27 12:37:44 +03:00
locale_template - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute 2020-04-27 12:34:56 +03:00
preprocessors - 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 2020-02-28 17:59:15 +02:00
share - updated some of the icons in the dark_resources folder (some added, some modified) 2020-04-24 14:21:57 +03:00
tclCommands - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
tests - moved back the ApertureMacro class to camlib for now and made some import changes in the new ParseGerber and ParseExcellon classes 2019-10-06 15:56:41 +03:00
.gitignore - fixed display HPGL code geometry on canvas 2019-01-19 03:02:47 +02:00
CHANGELOG.md - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
FlatCAM.py - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
FlatCAMApp.py - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
FlatCAMBookmark.py - minor changes 2020-04-27 14:05:40 +03:00
FlatCAMCommon.py - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute 2020-04-27 10:03:22 +03:00
FlatCAMDB.py - handled a possible situation in App.load_defaults() method 2020-04-28 09:48:49 +03:00
FlatCAMPool.py - fixed a bug in Excellon Editor that crashed the app when editing the first tool added automatically into a new black Excellon file 2019-09-28 21:29:23 +03:00
FlatCAMPostProc.py - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute 2020-04-27 10:03:22 +03:00
FlatCAMProcess.py - corrected some issues and made Move Tool to show correctly when it is moving and when it is offsetting the objects position 2019-09-07 18:41:48 +03:00
FlatCAMTool.py - refactored some of the code in the App class and created a new Tcl Command named Help 2020-04-22 23:00:54 +03:00
FlatCAMTranslation.py - added support for Hungarian language - no translation for now 2020-04-27 12:37:44 +03:00
FlatCAMWorker.py - fixed bug in Tool Subtract that did not allow subtracting Gerber objects 2019-11-20 00:12:34 +02:00
FlatCAMWorkerStack.py - chagend the workers thread priority back to Normal 2019-09-10 15:16:51 +03:00
LICENSE - small changes (dates, version) 2019-01-20 05:37:04 +02:00
Makefile Normalize messages 2020-04-27 17:07:11 -03:00
README.md - handled a possible situation in App.load_defaults() method 2020-04-28 09:48:49 +03:00
camlib.py - replaced the testing if instance of FlatCAMObj with testing the obj.kind attribute 2020-04-27 12:34:56 +03:00
make_freezed.py - some minor changes in the Python version detection 2020-04-28 14:37:34 +03:00
requirements.txt - finished the moving of all Tcl Shell stuff out of the FlatCAAMApp class to flatcamTools.ToolShell class 2020-04-27 06:55:08 +03:00
setup_ubuntu.sh Add pyqt5 as requested 2020-04-27 14:37:30 -03:00

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

or from sources:

pip -V

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

2.Linux

  • make sure that Python 3.8 is installed on your OS and that the command: python3 -V confirm it
  • 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
  • verify that the file setup_ubuntu.sh has Linux line-endings (LF) and that it is executable (chmod +x setup_ubuntu.sh)
  • run the file setup_ubuntu.sh and install all the dependencies with the command:
./setup_ubuntu.sh
  • 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

3.MacOS

Instructions from here: https://gist.github.com/natevw/3e6fc929aff358b38c0a#gistcomment-3111878