Fixed syntax error
[clinton/prusa3.git] / complete-printer.scad
1 // PRUSA iteration3
2 // Complete printer visualisation
3 // GNU GPL v3
4 // Greg Frost
5 // http://www.reprap.org/wiki/Prusa_Mendel
6 // http://github.com/prusajr/PrusaMendel
7
8 include <configuration.scad>
9 use <y-driverain.scad>
10 use <y-axis-corner.scad>
11
12 //motor and idler holding parts
13 translate([70,10,0]) rotate([0,90,0]) rotate([0,0,90]) motorholder();
14 translate([84, 367, 22]) rotate([0,-90,0]) idlermount();
15 // corners
16 leftfront();
17 translate([125,0,0]) mirror([1,0,0]) leftfront();
18 translate([0,410,0]) mirror([0,1,0]){
19 leftfront();
20 translate([125,0,0]) mirror([1,0,0]) leftfront();
21 // back bottom threaded rod
22 color("Aqua")
23 translate([-10,10,10]) rotate([0,90,0]) cylinder(h = 125, r=4);
24
25 // back top threaded rod
26 color("Aqua")
27 translate([0,10,30]) rotate([0,90,0]) cylinder(h = 125, r=4);
28 }
29
30 // front bottom threaded rod
31 color("Aqua")
32 translate([0,10,10]) rotate([0,90,0]) cylinder(h = 125, r=4);
33
34 // front top threaded rod
35 color("Aqua")
36 translate([0,10,30]) rotate([0,90,0]) cylinder(h = 125, r=4);
37
38 // left top rod
39 color("MediumBlue")
40 translate([0,2.2,45]) rotate([0,90,90]) cylinder(h = 405, r=4);
41 //left bottom rod
42 color("Aqua")
43 translate([3,0,20]) rotate([0,90,90]) cylinder(h = 420, r=4);
44
45 // right top rod
46 color("MediumBlue")
47 translate([125,2.2,45]) rotate([0,90,90]) cylinder(h = 405, r=4);
48 //right bottom rod
49 color("Aqua")
50 translate([125-3,0,20]) rotate([0,90,90]) cylinder(h = 420, r=4);
51
52
53 //heat bed
54 color("Lime")
55 translate([125/2,330,58]) cube([225,225,6], center=true);