3D printing in math and chemistry

A unique 3D printing collaboration between mathematics and chemistry faculty

  • University
  • Science

Kristen Schreck, Ultimaker Pioneer and Associate Professor of Mathematics, follows a practice of "passing it on" — collaborating with colleagues to spread 3D printing across disciplines at Saint Xavier University.

How it all began in mathematics

My journey to integrate 3D printing into the curriculum of the mathematics courses I teach at Saint Xavier University (SXU) began in the fall of 2016 in Multivariable Calculus with the Pioneer Program and an Ultimaker 2+ 3D printer. My students and I were accustomed to working with the mathematical computing programs, Mathematica and Maple, to render plots and animations of curves and surfaces in 3D. We used them to explore and illustrate the properties of a myriad of parameterized surfaces, observe their characteristics, and test our theories and conjectures.

Generating the 3D plot of a particular surface brought to life from its equation, being able to rotate it in any direction, or look down one of the coordinate axes to get a bird’s-eye view using these math software programs, certainly has its own wow factor and makes the mathematics more meaningful to students who are just learning it. However, it’s hard to top watching a mathematical surface, that you have created, emerge layer-by-layer for the first time upon the bed of a 3D printer. It is a most remarkable sight! The iterative process of writing code in the math software, creating a successful 3D plot, and tweaking the design (in other programs, where necessary) to finally obtain a successful 3D print gave my students overwhelming satisfaction and ownership of the complex mathematics they were studying.

I have since integrated 3D printing into the curriculum of many of the other math courses I teach: Calculus I, Modern Geometry, History of Mathematics, senior seminar student capstone projects, and general education mathematic courses. From the moment those memorable first 3D prints of mathematical surfaces appeared, it’s been my aim to enthusiastically further and infuse the 3D modeling and printing process in my own field and to share what I have learned with educators in a wide variety of disciplines.

01Forms of a Hyperboloid of Revolution
Forms of a hyperboloid of revolution generated using Mathematica in multivariable calculus
02Hyperbolic Paraboloid surface
Hyperbolic paraboloid surface, shown printing with supports
03Hyperbolic Paraboloids
Hyperbolic paraboloids (saddle surfaces) generated using Mathematica in multivariable calculus
04Hyperbolic Paraboloids
Surfaces with negative curvature created in Mathematica for a senior seminar project

Passing it on: 3D printing across disciplines

In the spring 2018 semester, I teamed with a fellow colleague at SXU, Dr. Sharada Buddha, Associate Professor of Chemistry, and Curtis Feipel, Lab Assistant and a 2018 SXU Biological Sciences graduate, to bring 3D printing into the curriculum of the Survey of Organic Chemistry course. The course is chock full of biological applications and is designed for Biology, Natural Science, and secondary education students. Typically, students spend some time during the laboratory component of the course physically building ball and stick models of the biochemical molecules they are studying using a purchased molecular model set for Organic Chemistry.

05Molecular Model Set
Molecular model set for Organic Chemistry

This semester, using my technical 3D printing assistance, the Ultimaker 2+, and the Ultimaker 2 Go, Dr. Buddha developed a new laboratory lesson in which students designed, modeled, and 3D printed the molecules. In her research and teaching, Dr. Buddha’s previous experience using open-source molecular modeling and visualization tools includes Avogadro (free to download), PyMol(this is a commercial product, a free academic version may be requested), and ArgusLab (freely licensed), to name a few. The key to 3D printing the chemical models designed in these programs is converting the files to STL format.

I read the interesting and highly informative article, 3D Printable molecular models with accompanying detailed 3D printable molecular model lesson by Dr. W. Tandy Grubbs, Professor and Chair of the Department of Chemistry and Biochemistry at Stetson University and shared it with Dr. Buddha. Dr. Buddha informed me of another article in the Journal of Biocommunication3D printing of molecular models by Dr. Arthur Olson and Adam Gardner. These articles and lesson provided the exact inspiration, along with excellent resources, for the missing pieces we needed! To convert a chemical model created in Avogadro (or other molecular modeling tool) to an STL file for 3D printing, an additional free software tool Python Molecular Viewer was required. With this information, we were off and running.

Creating test prints of molecules

In preparation for my lab visit to meet with the organic chemistry students and walk them through the 3D printing steps, Dr. Buddha and I performed a few trials of the design and printing process for two simple molecules: Methane (CH4) and Ethane (C2H6).

We devised the following system that worked most efficiently:

  • The two test molecules were built in Avogadro with lab assistant Curtis Feipel’s expert help, and saved as Mol2 or PDB files.

6-7 methane and ethane
Methane and ethane as constructed in Avogadro
  • The Mol2 (or PDB) files were sent to me to be read in the Python Molecular Viewer (PMV). Each molecule was displayed as ball and stick model, adjustments to the radii were made in order to represent each molecule with visually accurate proportions, as possible. Each molecule was then saved as an STL file. The specific steps in the PMV are as follows:

1. File, Read Molecule (Mol2 or PDB file)

2. Display, sticks and balls, use Stick radius = 0.2 and Ball radius = 0.5.  We experimented quite a bit with various radii, the values given here provided the sturdiness we needed without portions of the models breaking when removing the supports when 3D printing.

3. The last step in the PMV is to save the ball and stick model as an STL file

Python Molecular Viewer (PMV) adjustment of ball and stick radii for Ethane
09PMV of Ethane
PMV illustrating ball and stick display for ethane
10PMV of Ethane as STL
PMV saving ball and stick model of ethane as an STL file
  • Next, the STL files were uploaded to Ultimaker Cura for printing on the Ultimaker 2+. PLA (polylactic acid) filament was used for all molecules.

Note: The molecules appear very tiny when the STL is first opened in Ultimaker Cura. I used a uniform scale factor = 1000% for the two test prints which kept the print time under 30 minutes per molecule. The molecules at this scale factor were quite small and removing the supports was a bit tricky. Eventually, for the student’s molecules, the scale factor was increased to print larger, and stronger molecule models that were easier to clean up (i.e. remove supports and smooth surfaces) for a print time within 2 hours per molecule.

11Cura settings
Ultimaker Cura settings for 3D printing of ethane
12-13 printed molecules
3D printed test molecules methane and ethane next to the ball and stick model set versions (Note: In the photos, the PMV ball radius = 0.3 and stick radius = 0.2 is shown, the ball radius was later increased to r = 0.5 )

3D printing in the organic chemistry lab

Now that we had successfully 3D printed our test cases, we were ready to embark on designing and printing the molecules with the students in lab. Dr. Buddha’s lesson instructed the students to study the four molecules:

  • n-Butane (C4H10)

  • Hexane (C6H14)

  • 2,2-Dimethylbutane

  • 1,3 Dimethylcyclopentane

The students were individually assigned a molecule to build in Avogadro and save as a Mol2 file. During different lab sessions, I wheeled in the Ultimaker 2+ and Ultimaker 2 Go 3D printers on a cart and a laptop loaded with Avogadro, PMV, and Ultimaker Cura software. As students completed their molecule in Avogadro, the Mol2 files were sent to me for manipulating the models in the PMV. Changes to the ball and stick radii were made before saving it as an STL file. Finally, each STL file was uploaded to Ultimaker Cura to modify the scaling, orientation, and support settings before sending to the 3D printer.

13-14Dr. Buddha providing instruction
Dr. Buddha providing instruction on the lab assignment and the molecules assigned to each student
15-16Curtis Feipel
Lab Assistant, Curtis Feipel, working with a student on the lab lesson in Avogadro

After printing the first two student designed molecules, we found it necessary to increase the ball radius in the PMV (to r = 0.5 from r = 0.3, with a stick r = 0.2 staying the same) and the uniform scaling in Ultimaker Cura (from 500% to 1100%). The initial settings kept the print time per molecule to under 30 minutes, this allowed the students to see a few 3D printed molecules completed during the lab session. Since the molecules the students built in lab were more complex than our test cases and required more supports, we ended up reprinting them outside of class with the new settings, as indicated, to make them larger and sturdier.

17First prints
First prints of two student designed molecules - we later changed the ball and stick size as well as the overall scaling since these versions were very small and a bit fragile
18 Second print
Second print of a student designed molecule with ball, stick, and scaling settings revised
19 final
Final 3D printed versions of the four molecules: n-butane, hexane, dimethylbutane, and dimethylcyclopentane

Two more molecule sets

In addition to the set of molecules printed during the lab session, we worked on 3D printing two other sets outside of class:

The “cyclo” set:

  • Cyclopropane (C3H6)

  • Cyclobutane (C4H8 )

  • Cyclopentane (C5H10)

  • cyclohexane (C6H12)

The set of two larger and more complex molecules:

  • Glucose

  • Adenosine triphosphate (ATP)

Note: We used the same ball r = 0.5 and stick r = 0.2 in the PMV as previous models. The scale factor in Ultimaker Cura for glucose was 2000% (size: 104mm x 171mm x 80mm) with a print time of 7h 52min and for ATP, a scale factor of 1100% (size: 160mm x 133mm x 65mm) with a print time of 5h 23min using the Ultimaker 2+ for both.

20 cyclo
The “cyclo” set of molecules (with an extra and more grand model of cyclopropane)
21-22 ATP molecule
23-24ATP molecule
ATP molecule: showing four stages of 3D printing
25-26 ATP and glucose
ATP and glucose with supports and the finished molecules
27All three combined sets
All three combined sets of our 3D printed molecules
28Students in the Organic Chemistry
Students in the organic chemistry course with the 3D printed molecules: glucose, ATP, and cyclopropane
29-30 up-close
Close-up views of some of the molecules
31Students in the Organic Chemistry
Students in the organic chemistry course showing off their hard work and delight with the 3D printed molecules

Lessons learned and future projects 3D printing molecular models

Throughout the semester, Dr. Buddha, Mr. Feipel, and I met to refine the process we used and to discuss ways to improve our 3D printed molecules. This will be an ongoing project during the new academic year in which we plan to fine-tune the process we used and expand the scope of work to integrate 3D printing into other science courses.

32The sets of biochemical models
The sets of biochemical models created can be used in future organic chemistry classes for hands-on student explorations

Some of the lessons learned from this endeavor:

  • It took significant trial and error adjusting the appropriate ball and stick radii in the PMV to represent each molecule most accurately and proportionately. When printing smaller molecules, the ball radius needed to be larger than the stick radius. For the larger molecules, the ball and stick size needed decrease, or the molecule would look too chunky and disproportionate. The “best” proportions also made the models sturdier and easier for the printing supports to be removed without breaking the model.

  • In the 3D printer slicing software, it was always necessary to uniformly scale the models in the imported STL file much larger than they first appear.

Some improvements and future plans for 3D printing molecules:

  • Investigate other computational chemistry software to build molecules that more accurately represent the arrangements of atoms and bonds (i.e., closer to the precise radii of the atoms and proportionate bond lengths)

  • Experiment with different types of filament (we used PLA for all the models) to produce stronger or more flexible molecules

  • Use different colored filament for the atoms and bonds during the printing process (a dual-extrusion 3D printer would help), or experiment with the right type of filament that could be permanently colored by hand using markers

  • Explore the “MoleculePlot” command in Mathematica for generating 3D plots of molecular structures and exporting the plot to an STL file

  • Upload the STL files and images of the biochemical molecules created by our faculty-student led team effort to the  National Institutes of Health (NIH) 3D Print Exchange.

33Dr. Sharada Buddha with lab assistants
Dr. Sharada Buddha with lab assistants studying the finished 3D printed molecules

Sharing our scholarly work and creative productions

The results of our collaborative efforts were presented at the SXU 2018 Research Expo. This inaugural conference celebrated the scholarly contributions of SXU faculty, students, and staff. Dr. Buddha provided an abstract explaining our work on computing preferred molecular structures from an energy minimization and 3D printing:

“3D structures of molecules are complex and a challenging concept not only for student comprehension, but equally for instructor communication. The most common approach is a hands-on ball stick modeling kit, although this approach is limited to the qualitative analysis of structure. Our approach used computational chemistry software to present a more quantitative analysis, through molecular geometry optimization and energy minimization, along with a reward of 3D prints of students’ own computational molecular models.”

SXU 2018 Research Expo: Curtis Feipel, SXU lab assistant and Biological Sciences graduate (2018 ), presenting 3D printed biochemical molecules for the project with Dr. Sharada Buddha and Dr. Kristen R. Schreck

Read more education blogs

  • Naturalis Biodiversity Center: Prehistoric prints, cutting-edge technology

    Naturalis Biodiversity Center: Prehistoric prints, cutting-edge technology

    Naturalis Biodiversity Center, the Netherlands’ national natural history museum, is using 3D printing to create both partial and full dinosaur skeletons for public display.

    • History
    • Informal learning
  • College of the Desert 3D printing club

    Feel the Action: Learn about how a college is changing lives in ways we can touch!

    A 3D printing club emerges at College of the Dessert to help make ideas accessible to all students

    • Special education
    • Technology
  • Testing Quadcopter

    How the tools we use influence the designs we make

    Michael Delaney writes about his iterative process of integrating electronics and 3D printing in his programmable quadcopter project.

    • Informal learning
    • Technology
  • Ultimaker Met

    Bringing 3D printing to the Metropolitan Museum of Art

    Part of the mission from Ultimaker North America's Community team is to help educators get up and running with 3D printing and to help them find meaningful ways to integrate the technology into their curriculum while celebrating their successes. When we w

    • Secondary education
    • History
  • Smithsonian Learning Lab

    3D printing as part of the Smithsonian Learning Lab

    Pioneer Christopher Sweeney shares the work he did with 3D printing and the Smithsonian Learning Lab to create collections of educational resources, organized and structured for teaching and learning.

    • Informal learning
    • Art
  • Harvard calculus courses use 3D printed models to engage students

    Harvard calculus courses use 3D printed models to engage students

    What is the best way to teach concepts like surface area and volume relating to mathematical objects in a three-dimensional world? The curricular design team at Harvard University thinks the...

    • University
    • Mathematics
  • Mathematica Tea Light Holder

    3D Design in Mathematica: Tea Light Holders

    If it’s happening in Ultimaker’s world, you can find out about it here. 3D printing stories about inspiring moments, original 3D printed projects and much much more.

    • Informal learning
    • Mathematics
  • Code your 3D designs with Tinkercad’s new Codeblocks app

    Code your 3D designs with Tinkercad’s new Codeblocks app

    Tinkercad released Codeblocks last June, and now that it's out of Beta, Pioneer Rob Morrill tells us how he uses it.

    • Informal learning
    • Technology
  • printingUltibot

    Modifying an STL with Tinkercad

    When Ultimaker Pioneer Alex Larson contacted me about the Ultibot-D project, I was super excited. As a teacher and parent, I am a huge cheerleader for risk. I printed the base models at ⅕ scale and gave it to my students to explore

    • Primary education
    • Technology
  • Ultimaker at Camp

    Math Camp: Having fun doing stuff

    Pioneer Dr Toni Szymanski writes about summer fun at camp with 4th and 5th graders, math, and 3D printing.

    • Primary education
    • Mathematics
  • 3D printing for glass


    Guest blogger Astrida Valigorsky writes about combining the old and the new at Timothy Belliveau's GlitchCraft class where students combined 3D printing and glass blowing.

    • Informal learning
    • Technology
  • basecampProject

    Using Basecamp to manage your classroom/makerspace projects and print queue

    Pioneer Andrew Woodbridge uses Basecamp to organize his students' projects, and he explains how you can too.

    • Secondary education
    • Technology
  • 3D printing in math and chemistry

    A unique 3D printing collaboration between mathematics and chemistry faculty

    Passing it on. After integrating 3D printing into her own math courses, Kristen Schreck helps spread 3D printing across disciplines at Saint Xavier University.

    • University
    • Science
  • World monument project

    Living world monuments assignment

    Pioneer Joanne Barrett shares about a middle school project that combines 3D printing, Augmented Reality, History, and Art.

    • Secondary education
    • History
  • parts in cura (1)

    My reintroduction to Netfabb

    A recent NetFabb workshop convinced the writer that they can't live without this application. See why it's time to take another look at Netfabb.

    • Secondary education
    • Technology
  • hero wrenchs

    Wrench Engineering

    Inspired by NASA printed in space wrench, Pioneer Rob Morrill gave his fifth graders a design challenge to design their own real-world tool.

    • Primary education
    • Engineering
  • goblet project

    Integrating 3D printing and The Goblet Project

    Pioneer Chris Hanusa shares one way he integrated 3D printing into his Integral Calculus class

    • University
    • Mathematics
  • Finland’s mobile libraries

    3D printers in the public library: Finland ahead of the curve

    US Professor Joshua Pearce, sponsored by Fulbright Finland for Research, shares his first impressions of Finnish libraries.

    • Informal learning
    • Technology
  • Happiness

    Lessons in letting go - releasing student energy speeds creation and use of our art and innovation lab

    Pioneer John Nordell enlisted his students to put the Art and Innovation Lab together. The result was one of the best experiences he has had as an educator.

    • University
    • Technology
  • toni teaching fusion

    Teacher training for 3D printing

    Pioneer Dr. Toni Szymanski thought that 3D printing could engage students in math classes. To test this out, she had to learn all about 3D printing first.

    • Secondary education
    • Mathematics
  • ceramic stamps

    Digital fabrication informs ceramics decorative process

    Pioneer Young Kim blends his classical arts background with digital fabrication to create a ceramic project that incorporates 3D printing.

    • Secondary education
    • Art
  • buckeyball

    Modeling rocks at iCREATE

    iCREATE's Tiffany Huang shared an iCREATE success story about Jackie Zheng.

    • Secondary education
    • Science
  • Empathy map

    Elementary-College Engineering Design partnership

    Pioneer Matthew Wigdahl writes about how his fifth graders and local undergraduate engineering students learn from each other.

    • Primary education
    • Engineering
  • 014-SchoolHero

    Introducing Ultimaker’s Core Lessons Set for STEAM Educators

    Designed by the Ultimaker North America Community Team, our new Core Lessons: STEAM Set is a resource for educators who need inspiration and ideas when they bring 3D printing into their classrooms.

    • Primary education
    • Technology
  • MakerGirl

    Empower one MakerGirl, empower the world

    how the group traveled 10,000 miles around the country to help bring 3D printing workshops to over 1,000 young girls. In this week's post we catch up with the organization that is still working to create a new generation of confident, creative women leade

    • Primary education
    • Technology
  • Georgia Connections Academy

    Building a mobile maker space: part 2—up and rolling

    So what exactly does a Mobile MakerSpace look like? That's the question I had to ask myself once I began the project of bringing 3D printing technology to virtual students. When we started this project, we knew we needed something that would be easy to

    • Secondary education
    • Technology
  • Building a mobile makerspace: part 1— getting started

    Building a mobile makerspace: part 1— getting started

    Pioneer Wendy Aracich is putting together and implementing a mobile MakerSpace for her virtual school of 4000 students spread across the state of Georgia.

    • Secondary education
    • Technology
  • LibraryLyna

    Tactile Problem/Solution Bank Community Project

    3D modeling and printing should be accessible of every educator so that they may offer their students tactile means to understand spatial concepts.

    • Secondary education
    • Languages
  • Design Engine Box

    Design Engine community project

    We want to challenge educators and students to help evolve the Design Engine game. We want to see how you're using or modifying the game with your students, and we want to incorporate your ideas into the next edition.

    • Informal learning
    • Technology
  • coca cola upcycle

    Upcycling community project

    Upcycling challenges students and educators to use their creativity and 3D printing skills to breathe new life into a few familiar objects.

    • Informal learning
    • Technology
  • pecha-kuchas

    Construct3D to Kamehameha Ed Tech Conference

    Last year Pioneer Greg Kent traveled from Hawaii to North Carolina to attend Construct3D 2017. We thought we'd share his reflections with you now since we recently announced Construct3D 2018

    • Secondary education
    • Technology
  • Plastic Ocean by Kevin Krejci

    Ocean Plastic Community Project

    The Ultimaker Community Team will be launching a series of interdisciplinary projects over the next few months that challenge students to research, explore, design, and 3D print. Ocean Plastic is the first project of this series.

    • Secondary education
    • Geography
  • fractal2

    3D printed fractals at JMU 3SPACE

    Pioneer Professor Laura Taalman, (a.k.a. mathgrrl), reviews a multi-week study of fractals by general education math students in the JMU 3D printing classroom.

    • University
    • Mathematics
  • Drone1

    Using drones and 3D printing to develop design thinking during a summer robotics camp

    Pioneer Yuriy Drubinskiy writes about his experience leading a summer program and how creating drones with 3D printing brings form, structure, and design together.

    • Secondary education
    • Technology
  • The Starter Pack launch event at Digital Harbor Foundation

    Introducing the Ultimaker Design Engine Starter Pack

    Presenting the Ultimaker Design Engine Starter Pack: a game created to provoke, inspire, and entertain students, educators, 3D designers, artists, and engineers of all experience levels!

    • Informal learning
    • Technology
  • first puzzle cube and package to be made on a 3D printer entirely out of PLA

    Davidson Desktop Doohickeys: Puzzle cubes

    Pioneer Adam Davidson writes about a project in his curriculum that is a rite of passage for his high school's engineering program students. He explains at how it started and what caused it to change

    • Secondary education
    • Engineering
  • soft robot mold

    3D printing with UMaine Bioengineering students

    If it’s happening in Ultimaker’s world, you can find out about it here. 3D printing stories about inspiring moments, original 3D printed projects and much much more.

    • University
    • Science
  • Star Wars and STEAM

    3D printing, Arduino, and Star Wars: A guide to K-12 STEAM engagement

    If it’s happening in Ultimaker’s world, you can find out about it here. 3D printing stories about inspiring moments, original 3D printed projects and much much more.

    • Secondary education
    • Technology
  • 3D-printed molecules

    3D printable molecular models

    Tandy Grubbs, Professor of Chemistry, writes about how chemistry students at Stetson University are taking advantage of 3D printing to better visualize the molecular world.

    • University
    • Science
  • Cam-ball-launcher

    Nautilus cam ball launcher

    Design process is about discovery through iteration. Pioneer Brad Whitehead describes how his FTC robotics team learned this while working on a unique ball launcher.

    • Special education
    • Technology
  • animal adaptations

    Animal Adaptations

    If it’s happening in Ultimaker’s world, you can find out about it here. 3D printing stories about inspiring moments, original 3D printed projects and much much more.

    • Primary education
    • Technology
  • Launching water rockets

    3D water rockets

    Pioneer Tim Cooper explains what to do with a First Lego League team in the off season when they love rockets and 3D printing.

    • Primary education
    • Science
  • Three reasons for open source tech in your 3D printing classroom

    Three reasons for open source tech in your 3D printing classroom

    Pioneer Joshua Pearce explains why educators should consider using free and open source options in and out of the 3D printing classroom.

    • University
    • Technology
  • 3D printing in Multivariable Calculus

    Our 3D printing journey in Multivariable Calculus

    Here’s a story of the next generation of 3D printing pioneers exploring the 3D printing technology in Multivariable Calculus with the Ultimaker 2+.

    • University
    • Mathematics
  • 3D printed Cryptex puzzle

    #1 reason to love math: 3D printed puzzles

    Pioneer Andreas Kaiser writes about the power of puzzles in the classroom and how recreating or designing puzzles is a perfect fit for his engineering students.

    • Secondary education
    • Mathematics
  • 3D printed whistles

    Thinking about the environment

    The learning curve associated with 3D printing can produce a lot of 3D printed waste. It's time to start exploring and thinking about more sustainable options.

    • Informal learning
    • Geography
  • 3D printing in the classroom

    Why I use 3D printing in the classroom (and why you should too!)

    While 3D printing is not new to designers, engineers and other professionals in need of rapid prototyping tools, it is still a new and exciting technology for our students. Pioneer Grace Bennett shares why teachers should get started with 3D printing.

    • Secondary education
    • Technology
  • 3D printing artifacts

    3D printing artifacts from the Penn Museum

    The chance to hold a 3D printed historical artifact in our hands is one of the greatest ways to boost students' engagement with science, engineering, and culture. Learn how challenging and exciting it can really be.

    • Secondary education
    • History
  • UTEP Lab

    Managing an open 3D printing lab

    What’s it like to be a student administrator for a 3D printing lab space? What kind of knowledge and experiences could you offer to students at your own school by hiring them for such position?

    • University
    • Engineering