My Mathematica Model of a 3D Printer

Cyrus Tabrizi, 1/19/14

      Computer Aided Design (CAD) software is my best friend. For the past four years, I've been using it at all hours to design creations of mine and make them. During the fall of my senior year at Thomas Jefferson High School for Science and Technology, I took Computational Physics, a course that focused on using Mathematica to model physical systems and explore how programming can be used to simulate interactions and objects. At the end of the course, I created a 3D–printer model in Mathematica that allowed configuration of the printer's different dimensions and allowed the extruder and bed to move around. It is currently hosted on Wolfram's "Demonstrations Project" website, where creators of Mathematica programs can publish their work and explore the work of others. It is embedded below, but you must have Wolfram's CDF player to view and interact with it.
      The model is pretty simple. I based it off of the Ultimaker configuration (where the extruder motor and the X, Y motors are all fixed to the chassis, reducing weight and allowing for faster print speeds and a higher build–volume to printer–volume ratio). In the future, if I have the chance, I want to go back and create models of different printer configurations (Printrbot, Thing-o-matic, Delta Arm etc.) and include a feature to allow simulation of inputted g–code and visualization of printing (I was actually working on this, but didn't finish). My code (I used Mathematica 9) is available for preview and download on my page on Wolfram (it's too long to paste here). Just make sure to attribute me and let me know what you are able to do with it!