CartesianCo / argentum-control

GUI Control Program for the Argentum Circuit Printer
GNU General Public License v3.0
2 stars 10 forks source link

argentum-control

GUI Control Program for the Argentum Circuit Printer

NOTE: If you're looking for more recent changes:

git checkout develop

This Python app uses a number of libraries that may not be installed by default on your system (especially if you're using Windows). Obviously you may need to install Python, the latest version should be fine and should include the package manager (pip). Next, install PyQt4 if installing Python does not install it automatically (for most platforms it does).

PyQt4 Windows installer: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4

Installing PyQt4 on Mac OS X: http://www.pythonschool.net/pyqt/installing-pyqt-on-mac-os-x/

Make sure you install the right version for your python install. This means getting 32 bit vs 64 bit correct, and it may mean you need to upgrade python.

The remaining requirements can be installed with pip. You probably already have pip, but if not, you can get it from here:

https://pip.pypa.io/en/latest/installing.html

add it to your path and then run:

pip install esky --upgrade
pip install pyserial --upgrade
pip install requests --upgrade
pip install Pillow --upgrade
pip install pyopenssl --upgrade
pip install ndg-httpsclient --upgrade

Running any of these commands may nag you to install developer tools. Do that and rerun the command. The last one is probably the most difficult to get working.

At this point you're ready to run the program:

cd src
python gui.py

If you see an error message that requires you to install another package, please let someone know so this documentation can be updated.

For Linux users: You almost certainly don't have permission to talk to your printer. Regardless, the gui should tell you the port number. You probably want to do something like:

sudo usermod -a -G dialout [your username]

or

sudo chmod a+rw /dev/ttyACM0

or some other means of getting access to the device.