Mathematica and OpenScad Knarik Tunyan Assistant Professor ICTCM - - PowerPoint PPT Presentation

mathematica
SMART_READER_LITE
LIVE PREVIEW

Mathematica and OpenScad Knarik Tunyan Assistant Professor ICTCM - - PowerPoint PPT Presentation

3D printing Adventures with Mathematica and OpenScad Knarik Tunyan Assistant Professor ICTCM 2020 3D printing stages 1. Idea Educational, useful, or just for fun Blender, TinkerCad, OpenScad, Mathematica 2. Software design MatLab, and


slide-1
SLIDE 1

3D printing Adventures with Mathematica and OpenScad

Knarik Tunyan Assistant Professor

ICTCM 2020

slide-2
SLIDE 2

3D printing stages

  • 1. Idea
  • 2. Software design
  • 3. STL file
  • 4. Slicing
  • 5. Printing
  • 6. Final product

Blender, TinkerCad, OpenScad, Mathematica MatLab, and many others STereoLithography Standard Triangle/Tesselation Language Density of layers, adding constructional support Actual printing Educational, useful, or just for fun Removing support, polishing final object

slide-3
SLIDE 3
  • 1. Idea

https://simple.wikipedia.org/wiki/Pac-Man resource: https://www.thingiverse.com/thing:404028 resource: https://longliveyoursmile.com/3d- printable-mask-for-covid-19/

slide-4
SLIDE 4
  • 2. Software design

Mathematica OpenScad MatLab

slide-5
SLIDE 5
  • 3. STL file

STereoLithography Standard/Surface Triangle/Tesselation Language

A vase created in Mathematica by Eric Greenberg the corresponding stl file

slide-6
SLIDE 6
  • 3. STL file

viewstl.com

slide-7
SLIDE 7
  • 4. Slicing

Ultimaker Cura

slide-8
SLIDE 8
  • 5. Printing
slide-9
SLIDE 9
  • 6. Final product
slide-10
SLIDE 10

=

  • 6. Final product

+ will turn into

slide-11
SLIDE 11

Sometimes things can go wrong

Overlapped faces Thin surface Design error Extra parts Small area vs.

slide-12
SLIDE 12

OpenScad

www.openscad.org

  • Used to create 3D models
  • Available for Linux/Unix, MS Windows, Mac OS X
  • Free under the General Public License version 2
slide-13
SLIDE 13

OpenScad: 3D Basic Shapes

cube(10); cylinder(r1=8,r2=8,h=4); sphere(r=10);

slide-14
SLIDE 14

cube(10); color("red") cube([50,100,30]); length=50; width=100; height=30; color([0,1,0]) cube([length,width,height], center=true) ;

OpenScad: More Basic Shapes and More Colors

slide-15
SLIDE 15

sphere(100); $fn=10; $fn=70; $fn=30; cylinder(h=10, r1=20, r2=20); cylinder(h=10, r1=20, r2=15);

slide-16
SLIDE 16
slide-17
SLIDE 17

Example with Rotations

slide-18
SLIDE 18

Example with Translations

Christmas Tree in OpenScad by Juan Gomez 1. 2. 3. 4.

slide-19
SLIDE 19

OpenScad Cheetsheet www.openscad.org/cheatsheet

slide-20
SLIDE 20

Wolfram Mathematica

www.wolfram.com/mathematica

  • Sophisticated computing
  • Available for Linux/Unix, MS Windows, Mac OS X
slide-21
SLIDE 21

Student projects with Mathematica

A Vase in Mathematica, by Eric Greenberg

1. 2. 3. 4.

slide-22
SLIDE 22

Student projects with OpenScad

Satellite dish Alben Kalambukadu

Gramophone Bobby Woody Pac-Man Sharon Levin Crown Avery Piper Castle in the Sky Victoria Silva Bridge Nicholas Roberts

Christmas Tree Juan Gomez

Skyscrapers Stanimir Stoychev

slide-23
SLIDE 23

Student projects with Mathematica

Propeller Yuta Sakai

Cuboids Estefania Serrano and Amanda Tsang Horn Jake Wenig Two-base vase Keeshawn King Flower Nivedita Ravi A Saddle Esmeralda Michaca

slide-24
SLIDE 24

Castle in the Sky Victoria Silva

3D printed objects

A 3D printed model of Purchase College Laszlo Osvath

slide-25
SLIDE 25

Acknowledgements

 The organizers of ICTCM 2020  Keith Landa, Director of the Teaching, Learning and Technology Center, for introducing me to 3D printing technology  Computer Technology Services at Purchase College for providing 3D printing services  Hillsdale (NJ) Public Library and David Franz, the Director of the Library, for using their 3D printer  Purchase College Faculty Development Grant  UUP Professional Development Grant

slide-26
SLIDE 26

Special Thanks go to all my students who participated in this project in 2015-2017

slide-27
SLIDE 27

Thank you! Stay safe! Hope to see you at ICTCM 2021!