Being tired of running back and forth to my 3D-printer to change stl files and starting / stopping prints, I decided to give Octoprint a shot. Octoprint basically provides a webinterface for 3D-printers, which allows you to send tasks over your local network to the printer and to monitor the prints. The software also provides a plugin functionality, so you can create your custom addons if required.
Note that you can use Octoprint for slicing, but in my case I will be starting of with only sending pre sliced stl files to print.
Hardware & Installation
In this article, I cover the usage in combination with a Raspberry Pi. If you have a spare Raspberry Pi 3, I recommend using it, since it has built in WIFI. However, you can of course also use older versions with wired connection or by adding a WIFI adapter.
If you don’t have anything installed on your pi, you can use OctoPi, which is a preconfigured image which includes Octoprint. However, since I already have raspbian installed, I’ll install Octoprint manually.
As you can see in the installation guide, you’ll first need to install several packages for python. Of course, update your system first.
As soon as this is done, clone the repository from GitHub and run the installation script.
After installing, you might have to update user configuration:
Now, you should be able to start the service:
You should be able to connect to the web interface by using the pi’s IP on port 5000. After your first connect, you’ll face an installation page. These steps are useful if you want to setup custom slicing for octoprint. Since I slice my models in cura and send stl files to the printer, I’ll skip these steps.
I currently don’t have a webcam for my pi, so I won’t install webcam support. However, you can check out the instructions here if you’d like to do this.
I’d like to set up my installation to automatically start when the pi boots up. These steps are also covered in the installation guide, but I’ll wrap them up. Start by copying the init script and adjusting its privileges to be executable:
Remove the comment-symbol (#) from the DAEMON-line in your
file and add the script to your autostart with
Besides having automatic startup enabled, you can now start, stop and monitor the octoprint service with
Connecting to a 3D-Printer
Well, that last step is quite simple. In my case, my Anet A8 came with a USB type B cable which can be direcly plugged into the Raspberry Pi. And that’s it. After connecting to the printer, you can’t just only upload files and print them, you’re also able to see the files available on the printers sd card and restart older jobs.
While that first introduction gave me some insights on what octoprint is capable of, but I’ve definitely barely scratched the surface. One cool thing for example is the built in API, which allows you to connect for example Android apps to monitor temperatures or to upload files.
All in all, I’ve had a great start with Octoprint and really recommend trying it out. Stay tuned for future updates!
Subscribe via RSS