summaryrefslogtreecommitdiff
path: root/another.scad
authorMichael Krelin <hacker@klever.net>2017-02-06 21:19:20 (UTC)
committer Michael Krelin <hacker@klever.net>2017-02-06 21:19:20 (UTC)
commitd481811cad040ab887ffb9dca6b41616e842e0ca (patch) (unidiff)
tree133c43736e214ede19cfa01e4d8b9a2900249ab4 /another.scad
parent25836f14f59bdeb216a6fb189b6c4720db518c0d (diff)
downloadextrudery-d481811cad040ab887ffb9dca6b41616e842e0ca.zip
extrudery-d481811cad040ab887ffb9dca6b41616e842e0ca.tar.gz
extrudery-d481811cad040ab887ffb9dca6b41616e842e0ca.tar.bz2
bore shape as it is
Diffstat (limited to 'another.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad10
1 files changed, 7 insertions, 3 deletions
diff --git a/another.scad b/another.scad
index f78d1b0..d4a3f90 100644
--- a/another.scad
+++ b/another.scad
@@ -19,6 +19,7 @@ module the_extruder(
19 mounthole_depth = 5, 19 mounthole_depth = 5,
20 protrusion_d = 22, protrusion_h = 2.2, // the dimensions of the protrusion on top of gearbox 20 protrusion_d = 22, protrusion_h = 2.2, // the dimensions of the protrusion on top of gearbox
21 bore_d = 8, bore_l = 17.6, 21 bore_d = 8, bore_l = 17.6,
22 bore_dd = 7,
22 // pulley properties 23 // pulley properties
23 pulley_d = 11.5, pulley_h=10, 24 pulley_d = 11.5, pulley_h=10,
24 pulley_elevation = 1, // pulley elevation above the protrusion 25 pulley_elevation = 1, // pulley elevation above the protrusion
@@ -78,14 +79,17 @@ module the_extruder(
78 } 79 }
79 } 80 }
80 81
81 // vitamins
82 % if(vitamins) mirrorleft() { 82 % if(vitamins) mirrorleft() {
83 translate([0,0,-epsilon]) mirror([0,0,1]) cylinder(d=gearbox_d,h=1,$fn=60); 83 translate([0,0,-epsilon]) mirror([0,0,1]) cylinder(d=gearbox_d,h=1,$fn=60);
84 for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) 84 for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0])
85 cylinder(d=mount_screw_d,h=20,$fn=30); 85 cylinder(d=mount_screw_d,h=20,$fn=30);
86 translate([0,0,-epsilon]) cylinder(d=protrusion_d,h=protrusion_h,$fn=30); 86 translate([0,0,-epsilon]) cylinder(d=protrusion_d,h=protrusion_h,$fn=30);
87 translate([0,0,protrusion_h]) { 87 translate([0,0,protrusion_h]) {
88 cylinder(d=bore_d,h=bore_l,$fn=30); 88 difference() {
89 cylinder(d=bore_d,h=bore_l,$fn=30);
90 translate([-bore_d/2-1,bore_dd-bore_d/2,-1])
91 cube([bore_d+2,bore_d/2,bore_l+2]);
92 }
89 translate([0,0,pulley_elevation]) { 93 translate([0,0,pulley_elevation]) {
90 cylinder(d=pulley_d,h=pulley_h,$fn=30); 94 cylinder(d=pulley_d,h=pulley_h,$fn=30);
91 translate([0,0,teeth_elevation]) { 95 translate([0,0,teeth_elevation]) {
@@ -103,7 +107,7 @@ module the_extruder(
103 }//translate teeth 107 }//translate teeth
104 }//translate pulley 108 }//translate pulley
105 }//translate protrusion 109 }//translate protrusion
106 }// vitamins to let 110 }//vitamins
107 111
108 module lever() { 112 module lever() {
109 translate([0,0,protrusion_h+pulley_elevation+teeth_elevation]) { 113 translate([0,0,protrusion_h+pulley_elevation+teeth_elevation]) {