From 8be1b94f275e66162031a23784c25c2a783675ef Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Thu, 18 Dec 2014 15:45:33 +0100 Subject: [PATCH] Initial setup documentation --- SETUP.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ worklog.md | 22 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 SETUP.md diff --git a/SETUP.md b/SETUP.md new file mode 100644 index 0000000..545d1c3 --- /dev/null +++ b/SETUP.md @@ -0,0 +1,53 @@ + +1. Install GNU/Linux +----------------------- + +Any dekstop GNU/Linux system should work. +[Ubuntu 14.04 LTS](http://releases.ubuntu.com/14.04/) has been tested and is recommended. +The rest of the instructions might need some changes if using another distribution. + +2. Setup CUPS printer service +------------------------- + + +3. Install fabmodules +------------------- + +Right now a custom version of Fabmodules is needed. In the future, +the version should be downloadable at the [regular](http://kokompe.cba.mit.edu/downloads.html) location. + +Open a terminal + + Alt + F2 -> type gnome-terminal -> Enter + +Install dependencies + + sudo apt-get install python python-wxgtk2.8 python-dev python-pip gcc g++ libpng12-dev libgif-dev make bash okular libboost-thread-dev libboost-system-dev cmake + +Get the code + + git clone https://github.com/fellesverkstedet/fabmodules.git + cd fabmodules + +Build & install + + make fab + sudo make install + +4. Run & Verify install +--------------------- + +Ensure that your GCC laser cutter is plugged in over USB. + +In the terminal + + fab + +Choose "Vector SVG" and "GCC laser cutter", hit "Start". +A new window should appear. + +Load an SVG file, click "make path", then "make gcc" and then "Send it!" + +Your toolpath should now show on your GCC laser control panel, +and if you press "Start" it should cut. + diff --git a/worklog.md b/worklog.md index 8bee6f4..55e4d42 100644 --- a/worklog.md +++ b/worklog.md @@ -1,4 +1,5 @@ + Monday 1 September 2014 ------------------------- @@ -50,3 +51,24 @@ Fixed the inverted Y axis. Currently assumes 460 mm work-area. Made a more generic fix for correct proportions, both for job origin and scaling. Added Fabmodules workflow from SVG to GCC + + +Thursday 18 December 2014 +--------------------------- + +Time spent: + +Verified existing setup still working. +In Arch Linux, the CUPS service had been renamed from cups.service to org.cups.cupsd.service +Worked when taking this into account. + +On Arch Linux, also need to fix Python hashbangs because Python3 is default + + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" bin/* + +Remove autofocus button, replaced with "Make sure to focus" text. + +Installed Ubuntu 14.04 on laser cutter control machine. Installing to USB stick failed, +using Virtualbox in Windows instead. Documenting process going along so others can reproduce. + +