If you haven’t heard of it by now, OctoPrint is one of the most versatile and popular upgrades for 3D printers. OctoPrint is open-source software that makes it easy to host your own 3D printer remote control server off a single-board computer (SBC) like a Raspberry Pi.
Over the past couple of years, OctoPrint has greatly expanded its functionality, and one of the main reasons for this is the available plug-in repository. The OctoPrint Plugin Repository offers free, open-source programs that you can download and attach to your OctoPrint server to add more features.
One of the most popular plug-ins to date is Octolapse, which uses a connected webcam through OctoPrint to make a unique time-lapse (also known as an Octolapse) of your 3D printer in action. Octolapses look much better than a normal time-lapse of a 3D printer while it’s printing, which tends to be very blurry due to the printhead’s constant motion.
But Octolapse doesn’t work perfectly right after you click “Install”. To achieve the best Octolapses, you have to tune some settings based on your OctoPrint setup and slicer profile. In this article, we’ll go over the different settings for Octolapse and how you can use them to make the coolest Octolapses.
Before we dive into the settings, it’s important to go over the Octolapse plug-in and how Octolapses differ from regular time-lapses. As we mentioned, Octolapse is a plug-in for OctoPrint servers that uses a camera connected to the OctoPrint computer to generate unique time-lapses of your machine 3D printing a model.
The program was originally developed by FormerLurker, an active 3D printing and OctoPrint enthusiast, and was first released in early 2018. While the development of Octolapse was halted in late 2020, the program is still very popular among new OctoPrint users.
What makes Octolapse unique is that the Octolapses (time-lapses) that it generates are made up of stand-still photos of the 3D printer at each layer rather than photos at specified time intervals like a normal time-lapse. Additionally, each photo is taken when the printhead is in the same position, eliminating the chance of blurry movement in the Octolapse, which can ruin a normal time-lapse of your 3D printer.
Now that you know a little about the program and how it works, let’s dive into the setting!
The first step for achieving the best Octolapses is actually installing the program on your OctoPrint server. To do this, you’ll, of course, need to have an OctoPrint server connected to your 3D printer. Making your own OctoPrint server can be done with just a Pi board (e.g. 3B+) and a few other components.
On top of the base OctoPrint server, you’ll also need a camera, such as a Logitech webcam, connected to the host computer. Many cameras are compatible with OctoPrint, and connecting the camera to OctoPrint is also a fairly simple procedure.
Once you’ve got all the hardware set up, installing the Octolapse plug-in is a breeze.
Congrats, you now have Octolapse installed. When you reload the OctoPrint web interface, you should see a tab for “Octolapse” alongside the other tabs like “Temperature” and “Timelapse”.
Before going further, make sure that you’ve properly connected your camera to your OctoPrint server. You can check this by going to the “Control” tab in your OctoPrint web interface. If you can see the video feed from the camera, then it’s working.
Now that you’ve got the plug-in installed on your OctoPrint server, you need to configure the program for your connected 3D printer and slicer profile.
For most 3D slicers, including PrusaSlicer, Slic3r, and Simplify3D, choosing the “Automatic Configuration” option for the “Current Slicer Settings” in your printer profile is all you need to do. However, as mentioned by the developers, if you’re using Cura, you’ll need to make additional changes to make the slicer compatible with Octolapse and the G-code commands it adds.
Specifically, you’ll need to change the start and end G-code scripts that Cura generates for your printer. Here’s how to do it:
Changing these G-code scripts in Cura will set a few settings that Octolapse requires.
The printer and slicer configuration make up a bulk of the initial configuration process for Octolapse. However, there are a handful of other settings that you need to set and adjust.
At the top of the Octolapse tab in your OctoPrint web interface, you’ll see a drop-down menu for choosing what camera you want Octolapse to use. If you’re using a webcam, the name of the camera will be something similar to “Webcam – Default OctoPi 0.16”. Select this option and leave it at the default settings; we will configure the settings for your camera later.
The “Stabilization” setting in Octolapse controls where your machine’s printhead moves during the snapshots that Octolapse takes. There are a few options for this setting, including “Centered”, “Back Left”, “Back Right”, and “Animated – Orbit”. We suggest using the “Centered” option as this will keep the printhead in the center of the print bed, which looks very nice during the Octolapses.
The “Trigger” setting controls when each snapshot of your printer is taken during the print job. There are four default “Classic” options for this setting, including “Layer”, “Height”, “Timer”, and “Gcode”.
The “Layer” option tells Octolapse to take a photo for the time-lapse at each layer, while the “Height” option triggers photos every certain distance along the Z-axis. The classic “Timer” option triggers a snapshot after a certain period of time, and the “Gcode” trigger tells Octolapse to take a photo every time it reads a certain G-code command in your print job G-code file.
You can also use “Smart” triggers. These were one of the latest features added to Octolapse, and they give the program more information to use to determine when to take each photo. The two current smart triggers are “Layer/Height” and “Gcode”. For each smart trigger, there are a handful of options you can choose, which you can read more about on the Octolapse GitHub page.
Rendering is essentially stitching the individual images together into a continuous video. We suggest leaving the “Rendering” setting in Octolapse at its default value unless you know your connected camera can handle a different rendering profile.
For example, let’s say Octolapse defaults the “Rendering” setting to 30 frames per second (FPS), but you know that your connected webcam can handle 60 FPS. You can click the “Rendering” tab in Octolapse and add a new profile that runs at 60 FPS, and then switch to this rendering profile.
The “Logging” setting in Octolapse controls how the program creates a log file, which is a record of the plug-in’s operations. We suggest leaving this setting at its default profile, which should be “Log All Errors”.
Beneath the “Logging” setting in the Octolapse tab, there are a few other settings and options that you can adjust. We recommend turning on the “Snapshot Plan Preview” and “Snapshot Plan Info” options.
Turning these snapshot planning settings on will provide you with information about the printhead’s positioning right before you start an Octolapse-enabled print. This is helpful for checking that your printhead is moving to the right place. In the snapshot, there’s even a little visual diagram of the printhead’s different positions.
Setting up a camera with Octolapse is very easy due to the program’s auto-detection feature that will automatically recognize and use a connected camera. However, the default hardware settings might not reflect the true capabilities of your camera.
For example, Octolapse might only be running your camera at 30 FPS, even if it can run at 60 FPS. Familiarize yourself with the maximum video resolution and frames per second of your camera. You can usually find this information on the product page for the device.
Once you know the specs of your camera, follow the steps below to adjust the main camera settings for Octolapse:
#camera="auto"
” and change it to the following:
"camera="USB"
#
” to uncomment the line of code.#camera_usb_options
” and change it to the following:
"camera_usb_options="-r <insert maximum camera video resolution> -f <insert maximum video frame rate>"
"camera_usb_options="-r 1920x1080 -f 60"
What you’ve done is changed the maximum hardware settings for Octolapse. However, these aren’t the only camera settings you can change. Next, we’ll go over how you can adjust snapshot and time-lapse settings like “Brightness”, “Sharpness”, and more.
To fine-tune the camera settings, you’ll have to adjust the camera profile in your OctoPrint Octolapse settings. Luckily, fine-tuning the camera settings is nowhere as difficult as it used to be, thanks to the latest Octolapse interface. Here’s how to add your own Octolapse camera profile and adjust the settings:
From here, you can make all the adjustments to the camera image quality that you need to achieve the perfect Octolapse. And in the bullet points below, we’ll go over what each of the settings does and what effect it will have on your Octolapse.
Now that you’ve properly configured your Octolapse instance for your printer, slicer, and camera, it’s time to get printing! It’s worth noting that if you want to generate an Octolapse for a print, you’ll need to start the print job from OctoPrint’s web interface. Below, find the steps for starting an Octolapse-enabled print:
And that’s it! Now let your printer and your OctoPrint server do their thing, and in no time, you’ll have a very cool Octolapse to share!
While Octolapse is pretty easy to use once you have the plug-in up and running, the setup and tuning processes can be a little complex. To help you with your installation of Octolapse as well as how you use the plug-in, we’ve gone over some tips, tricks, and common issues (with solutions) below:
For any additional issues that you might be facing, there’s a troubleshooting guide that may help.
License: The text of "The Best Octolapse/OctoPrint Time-Lapse Settings" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.