Installing FlatCam on macOS Sierra

first install homebrew if you don’t have it already!

download and install Python 2.7.x from python.org

Then in Terminal:

brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt
brew install pyside
brew install cartr/qt4/pyqt@4

To enable Python.org Python to find packages from homebrew:

mkdir -p /Users/xxx/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/xxx/Library/Python/2.7/lib/python/site-packages/homebrew.pth

Install requirements for Flatcam

brew install geos
brew install spatialindex
sudo -H pip install numpy matplotlib rtree scipy shapely simplejson
sudo -H pip install svg.path

Download FlatCam from http://flatcam.org/download

Unzip

Start with python FlatCam.py 

Applescript to Start / Icon on Mac OS

tell application "Terminal"
    activate
    do script "python /Applications/FlatCAM-8.5/FlatCAM.py; exit"
end tell

Leave a Reply

Your email address will not be published. Required fields are marked *

Sprache ändern

Categories

Archives