Compare commits
2 Commits
d4f941335c
...
Beta
Author | SHA1 | Date |
---|---|---|
giuliof | d9fdbc7279 | |
giuliof | 33cc1cb564 |
|
@ -1,4 +1,5 @@
|
|||
*.pyc
|
||||
.idea/
|
||||
tests/tmp/
|
||||
build/
|
||||
build/
|
||||
venv/
|
||||
|
|
27
README.md
27
README.md
|
@ -1,15 +1,13 @@
|
|||
FlatCAM BETA (c) 2019 - by Marius Stanciu
|
||||
# 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 ----------------
|
||||
## 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_
|
||||
|
@ -21,7 +19,20 @@ Menu -> Help -> About FlatCAM -> Programmers -> Marius Stanciu
|
|||
- Download sources from: https://bitbucket.org/jpcgt/flatcam/downloads/
|
||||
- Unzip them on a HDD location that your user has permissions for.
|
||||
|
||||
1.Windows
|
||||
### Linux Virtual Env
|
||||
|
||||
1. Clone this repository.
|
||||
2. Install these packages from your distro's repository.
|
||||
On Ubuntu:
|
||||
`sudo apt install libfreetype6 libfreetype6-dev libgeos-dev libpng-dev libspatialindex-dev qt5-style-plugins python3-dev python3-gdal python3-pip python3-pyqt5 python3-pyqt5.qtopengl python3-simplejson python3-tk python3-virtualenv`
|
||||
3. Create python virtual environment in repo's folder and activate it.
|
||||
`virtualenv venv`
|
||||
`source venv/bin/activate`
|
||||
4. Install python requirements.
|
||||
`pip3 install -r requirements.txt`
|
||||
5. Now, FlatCAM can be launched with `launch.sh`.
|
||||
|
||||
#### Windows
|
||||
|
||||
- download the provided installer (for your OS flavor 64bit or 32bit) from:
|
||||
https://bitbucket.org/jpcgt/flatcam/downloads/
|
||||
|
@ -61,7 +72,7 @@ Run FlatCAM beta from the installation folder (e.g D:\FlatCAM_beta) in the Comma
|
|||
cd D:\FlatCAM_beta
|
||||
python FlatCAM.py
|
||||
|
||||
2.Linux
|
||||
#### 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:
|
||||
|
@ -96,7 +107,7 @@ make install
|
|||
sudo make install
|
||||
```
|
||||
|
||||
3.MacOS
|
||||
#### MacOS
|
||||
|
||||
Instructions from here: https://gist.github.com/natevw/3e6fc929aff358b38c0a#gistcomment-3111878
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
cwd=$(dirname "$0")
|
||||
args=$*
|
||||
|
||||
source "$cwd/venv/bin/activate"
|
||||
|
||||
python "$cwd/FlatCAM.py" "$args"
|
||||
|
||||
deactivate
|
|
@ -2,30 +2,27 @@
|
|||
# Python packages that cannot be installed with pip (e.g. PyQt5, GDAL) are not included.
|
||||
# For Windows GDAL wheel can be found here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
|
||||
# Usage: pip3 install -r requirements.txt
|
||||
|
||||
pyqt5>=5.12.1
|
||||
numpy>=1.16
|
||||
matplotlib>=3.1
|
||||
cycler>=0.10
|
||||
python-dateutil>=2.1
|
||||
kiwisolver>=1.1
|
||||
six
|
||||
setuptools
|
||||
dill
|
||||
rtree
|
||||
pyopengl
|
||||
vispy
|
||||
ortools>=7.0
|
||||
svg.path>=4.0
|
||||
simplejson
|
||||
shapely>=1.7.0
|
||||
freetype-py
|
||||
fontTools
|
||||
rasterio
|
||||
lxml
|
||||
ezdxf
|
||||
qrcode>=6.1
|
||||
reportlab>=3.5
|
||||
svglib
|
||||
gdal
|
||||
pyserial>=3.4
|
||||
cycler==0.10.0
|
||||
dill==0.3.3
|
||||
ezdxf==0.15.2
|
||||
fonttools==4.21.1
|
||||
freetype-py==2.2.0
|
||||
kiwisolver==1.3.1
|
||||
lxml==4.6.2
|
||||
matplotlib==3.3.4
|
||||
numpy==1.20.1
|
||||
ortools==8.1.8487
|
||||
PyOpenGL==3.1.5
|
||||
PyQt5==5.15.3
|
||||
pyserial==3.5
|
||||
python-dateutil==2.8.1
|
||||
qrcode==6.1
|
||||
rasterio==1.2.0
|
||||
reportlab==3.5.59
|
||||
Rtree==0.9.7
|
||||
Shapely==1.7.1
|
||||
simplejson==3.17.2
|
||||
six==1.15.0
|
||||
svg.path==4.1
|
||||
svglib==1.0.1
|
||||
vispy==0.6.6
|
||||
|
|
Loading…
Reference in New Issue