Making beautiful time lapse videos of 3D prints
It would be easy to set a camera next to the printer, set a fixed time lapse between shots, and let it run the while the printer does what it do…. but I want better than that: I want the time lapse to show the growing shape to be the only moving thing in the shot and the printer moves as little as possible. The difference is intense.
This is done with Raspberry Pi that will control both the 3D printer and the web camera. So enough talk, let’s get to it.
The time lapse tools
- Prusa i3 MK3 3D printer
- Raspberry Pi B+ (or more recent model) with at least two USB ports (not including the power port)
- Bitvise SSH Client (open source)
- Etcher (open source)
- Octoprint (open source)
- A web camera. I used a Logitech C920 HD Pro
The time lapse setup
- Follow the steps in the above video until the 6:45 mark.
- Settings > Software Update > Update All. Restart Octoprint when it requests and surf back to the page.
- Settings > Plugin Manager > Get More… > Search: OctoLapse > Install. I had to be very patient here. The download was fast, the install took nearly an hour on a Pi B+. Eventually Restart Octoprint when it requests and surf back to the page. The top will now say OCTOLAPSE instead of OctoPrint. The Octolapse settings will be hidden in a drop-down menu on the top right, under the user login. Set your Printer and Stabilization settings. I chose Back Right because my camera is front left.
Time lapse usage
- Load a model in Slic3r Prusa and process it as normal. I used a Tesla wall charger bracket from Thingiverse.
- Save the gcode file your computer.
- In Octoprint web panel expand the left side Files box and click Upload. Not Upload to SD! Choose the gcode file you saved to your computer.
- To the right of Files is a wrench. Click it and “sort by upload date (descending)”. Your new file will be at the top of the list of files, which will include whatever is on your Prusa’s SD card. Timelapses will not be perfect if done from the SD card. They must be uploaded to the Pi so that the Pi (octolapse) can inject the gcode to move the printer when it’s time to take a photo.
- Hit print!
Time lapse results
It looks pretty good! For better results I will move the filament out of the shot, add a backdrop to hide irrelevant noise, and maybe play with a better camera angle. Surely Mr. Robot Guy can build a rail for a panning time lapse, right?
See Also
– Octoprint’s list of webcameras known to work
If you like those open source projects please show your support with a donation.
If you have updates to this post, please comment below!