Slide 1

Slide 1 text

Designing and printing 3D objects Gerrit Niezen

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Drawing your first object cube([10,10,10]);

Slide 7

Slide 7 text

Subtracting two objects difference(){ cylinder(h=5,r=20); translate(v=[0,0,-1]) cylinder(h=7,r=4); } $fn=128;

Slide 8

Slide 8 text

Primitive solids cube(size = [1,2,3], center = true); sphere(r = 10); cylinder(h = 10, r1 = 20, r2 = 10, center = true); polyhedron(points = [ [x, y, z], ... ], triangles = [ [p1, p2, p3..], ... ], 
 convexity = N);

Slide 9

Slide 9 text

union() { cylinder (h = 4, r=1, center = true, $fn=100); rotate ([90,0,0]) cylinder (h = 4, r=0.9, 
 center = true, $fn=100); } Transformations and CSG operators difference() intersection()

Slide 10

Slide 10 text

Designing an enclosure for the Raspberry Pi

Slide 11

Slide 11 text

Creating the base (1) use ! base_x = 95.0; base_y = 66.0; base_z = 2; base_width = 1.5; ! base(); translate([5,5,6]) %board();

Slide 12

Slide 12 text

Creating the base (2) module base() { $fn=50; minkowski() { cube([base_x,base_y,base_z]); cylinder(r=2,h=1); } }

Slide 13

Slide 13 text

Building up the sides module base_block() { difference() { base(); translate([base_width,base_width,base_width]) cube([base_x-base_width,base_y- base_width,base_z]); } }

Slide 14

Slide 14 text

Removing the holes module bottom() { difference () { base_block(); translate([5,5,6]) board(); } }

Slide 15

Slide 15 text

Creating some slits module slits() { for (i = [0:16]){ translate([i*5+base_x*0.08,base_y*0.08,-0.25]) cube([2, base_x*0.6, base_width+4]); } } ! difference() { bottom(); slits(); }

Slide 16

Slide 16 text

Printing with MakerWare

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Images used under the Creative Commons license: MakerBot Industries Replicator 2X by Creative Tools from Flickr Orange bike planter with succulents by Colleen Elizabeth Jordan on Flickr Snap-together Robohand by MakerBot on Thingiverse ! The design files used in this tutorial are available on Thingiverse: http://www.thingiverse.com/thing:201867