Octoprint is the main printer manager used. website

Required:

  • A running raspberry Here
  • The internet box should seta static local IP for the Pi
  • The ports 9000 on your internet box should be opened and rooted to your Pi.
  • The public IP of your internet is probably dynamic... Solution

Install prerequired packets Python dev and build essential

apt-get install build-essential python-dev python-pip libcairo2-dev libpango1.0-dev libglib2.0-dev libxml2-dev librrd-dev python2.7-dev rrdtool python-rrdtool -y

wget https://pypi.python.org/packages/source/p/psutil/psutil-2.1.1.tar.gz

tar xf psutil-2.1.1.tar.gz

cd psutil-2.1.1

sudo python setup.py install

sudo apt update

sudo apt install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential -y

Install Octoprint As PI user:

cd ~

mkdir OctoPrint 

cd OctoPrint

virtualenv venv

source venv/bin/activate

pip install pip --upgrade

pip install https://get.octoprint.org/latest

You may need to add the pi user to the dialout group and tty so that the user can access the serial ports:

sudo usermod -a -G tty pi >sudo usermod -a -G dialout pi

Launch the server as PI user

octoprint serve

Wait 5 complete minuts before fully launch and accessible.

 

Cura engine

mkdir /prj

cd /prj

sudo apt-get -y install gcc-4.7 g++-4.7

git clone -b legacy https://github.com/Ultimaker/CuraEngine.git

cd CuraEngine

make

Path to add in octoprint interface: /prj/CuraEngine/build/CuraEngine

Setup a webcam

apt-get install subversion libjpeg8-dev imagemagick libav-tools -y

git clone https://github.com/jacksonliam/mjpg-streamer.git

cd mjpg-streamer/mjpg-streamer-experimental

Start the streaming

./mjpg_streamer -i ./input_uvc.so -o ./output_http.so

Link to add in octoprint:

http://localhost:8080/?action=stream http://localhost:8080/?action=snapshot

More infos

Usefull plugins to add

  • Webcam Tab (0.1.2)
  • Printer Stats (1.0.0)
  • PSU Control (0.1.7)
  • Slicer (1.4.2)
  • TouchUI (0.3.12)
  • CuraEngine (<= 15.04)
  • Custom Control Editor (0.2.1)