3d Printing With Mathematica
In this lab, students design a three-dimensional object using Mathematica software by graphing functions and rotating them around the y-axis. After designing the object, the students create a real representation out of plastic.
A photoreactive mixture of chemicals polymerizes when exposed to ultraviolet light, leaving nearby polymer unreacted. Using a computer and a data projector, one can create different shapes by shining the light of the data projector into a beaker of the photoreactive polymer. Where the light shines, the polymer solidifies, making a cross section of an object. Mathematica creates the cross sections to shine into the polymer in a user-friendly interface. By continually lowering the previous layer of hardened polymer into the beaker and shining the next layer on top of it, a three-dimensional object is made one cross-sectional layer at a time.
- Prepare polymer:
- Measure 98 mL of polyethylene glycol dicrylate, mass .02 g of Sudan I, Mass 2.00 g of phenylbis(2,4,6-trimethylbenzoyl)-phosphine oxide,
- Mix all three components in 100 mL amber bottle. Add stirbar, put on stir plate gently mixing, allow to mix for a minimum of three days to allow all chemicals to dissolve
- Prepare Station:
The staging device moves on a threaded rod. Be sure threaded rod is moved to the top to allow full range of movement when printing.The stage has a locking mechanism, unlock stage to pull it up or down. Place beaker on stage
- Place projector, magnifying glass, mirror, and stage.
- Start the Mathemeatica workbook. Execute the code.
- Enter the functions you want to use. Special functions can be used, such as “Abs[X]” for the absolute value of X and “Cos[X]” for the Cosine of x. Exponents are denoted by the “^” symbol (Shift+6)
- Prepare to Print:
- Generate the cross sections in Mathematica. Use the red text from the first screen to focus the image from the projector onto the stage. The red text will not polymerize the polymer.
- Fill the beaker with the polymer solution so that a very thin layer is covering the stage.
- Advance the Mathematica presentation. Center the image of the red circle on the stage. This will ensure the object will be printed on the stage.
- Print Object:
- Project the image for 10 seconds, alternating with a couple seconds of black screen. When the screen is blank, make a quarter turn on the knob to lower the image and allow fresh polymer to flow over the top. (Note, the second portion of this video is a time lapse, condensing several minutes into a few seconds.)
- Remove and Clean Object:
- Move staging device out of the path of the light. Raise the object out of the polymer. Remove the beaker and clean the object.
- Clean the staging device. Pour the unused polymer back into the amber storage bottle. Clean the area.
- Instructional Manual
- Introductory Presentation
- Mathematica workbook for 3D solids of revolution
- Mathematica workbook for 2D inequalities
- Mathematica workbook for 3D inequalities
Goggles and aprons should be worn as in all chemistry laboratory activities.
Ester Rhodes for the initial idea of using Mathematica to create 3D objects. Bryan Murawski for helping with initial development. Igor Antonio and Bret Champion from Wolfram Research for help developing the code. Matt Ragusa, Craig Russell and Ann Munroe for testing and refinement.
Adam Poetzel and Joe Muskin