Augmented Reality for 3D Printing

Yoda
My roommate’s struggles designing his first 3D printed part gave me the idea to write an augmented reality viewer that lets you preview and interact with STL models in the real world without having to commit an object to plastic. This is actually sort of an update on part of a project I did for a Computational Photography course three years ago, but not terrible looking this time. I used the ArUco library to track the fiducial markers, largely because there is a javascript version if I ever want to make it web based. The program, which I uncreatively named arstl, reads in ASCII and binary STL files and displays them on top of the tracked marker. Right now, it uses a pretty basic OpenGL shader for a shiny plastic look, but I plan on making a more convincingly plastic one with bump mapping and subsurface scattering soon. As usual, the code is up on github under an ISC License. The STL parsing part of it is in the public domain, in case anyone finds it useful.

Related Posts

2 Replies to “Augmented Reality for 3D Printing”

  1. Fantastic and thanks for sharing! Don’t have my 3d printer yet, but will be using this as soon as its done to visualize the object on the print bed before I start.

    Thanks again!

  2. Hi there! You’ve made an impressive work here and I would really like to play around with this but I can’t make the files after installing OpenCV from macports and built Aruco 1.1.0 could I have a clue on that? Thanks in advance and keep the good stuff

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.