summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-06 16:52:38 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-06 16:52:38 (UTC)
commit8efe8f057476efcaba06c6eac7d64792c53e442a (patch) (unidiff)
tree85f0aabee02edc88ee6836c51e21230d8c232259
parent1d8f93c354df4effca90d355841d189ecdec7a27 (diff)
downloadextrudery-8efe8f057476efcaba06c6eac7d64792c53e442a.zip
extrudery-8efe8f057476efcaba06c6eac7d64792c53e442a.tar.gz
extrudery-8efe8f057476efcaba06c6eac7d64792c53e442a.tar.bz2
introduce idler screw dimensions
which are, in fact, idler screw hole dimensions…
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad10
1 files changed, 6 insertions, 4 deletions
diff --git a/another.scad b/another.scad
index 03f3bf9..dbd20f3 100644
--- a/another.scad
+++ b/another.scad
@@ -36,12 +36,14 @@ module the_extruder(
36 st_screw_d = 5, 36 st_screw_d = 5,
37 st_thickshell = 8*extrusion_width, st_thinshell = 4*extrusion_width, 37 st_thickshell = 8*extrusion_width, st_thinshell = 4*extrusion_width,
38 38
39 // screw it 39 // screw it
40 mount_screw_d = 3.1, mount_screw_l = 20, 40 mount_screw_d = 3.1, mount_screw_l = 20,
41 mount_screwhead_d=6, mount_screwhead_h=3, 41 mount_screwhead_d=6, mount_screwhead_h=3,
42 idler_screw_d = 3,
43 idler_screwhead_d=6, idler_screwhead_h=3,
42 44
43 pf = pushfit_embeddest, 45 pf = pushfit_embeddest,
44 46
45 // empty spaces 47 // empty spaces
46 idler_travel = 3, // how far should idler travel when pressed 48 idler_travel = 3, // how far should idler travel when pressed
47 idler_clearance=1, 49 idler_clearance=1,
@@ -110,13 +112,13 @@ module the_extruder(
110 } 112 }
111 translate([0,0,pulley_elevation]) { 113 translate([0,0,pulley_elevation]) {
112 cylinder(d=pulley_d,h=pulley_h,$fn=30); 114 cylinder(d=pulley_d,h=pulley_h,$fn=30);
113 translate([0,0,teeth_elevation]) { 115 translate([0,0,teeth_elevation]) {
114 place_idler() { 116 place_idler() {
115 cylinder(d=idler_d,h=idler_h,center=true,$fn=30); 117 cylinder(d=idler_d,h=idler_h,center=true,$fn=30);
116 cylinder(d=idler_id,h=lever_thickness+2,center=true,$fn=30); 118 cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30);
117 }//place idler 119 }//place idler
118 // filament path 120 // filament path
119 rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) { 121 rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) {
120 rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); 122 rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15);
121 rotate([-90,0,0]) 123 rotate([-90,0,0])
122 translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) 124 translate([0,0,mount_d/sqrt(2)/2+mount_screw_d])
@@ -157,15 +159,15 @@ module the_extruder(
157 difference() { 159 difference() {
158 cylinder(d=idler_d+idler_clearance*2,h=idler_h+idler_v_tolerance,center=true,$fn=60); 160 cylinder(d=idler_d+idler_clearance*2,h=idler_h+idler_v_tolerance,center=true,$fn=60);
159 if(supports) for(y=[-lsd/2+extrusion_width:(lsd-2*extrusion_width)/3:lsd/2-extrusion_width]) 161 if(supports) for(y=[-lsd/2+extrusion_width:(lsd-2*extrusion_width)/3:lsd/2-extrusion_width])
160 translate([-lsd/2-1,y-extrusion_width/2,-idler_h/2-idler_v_tolerance/2-1]) 162 translate([-lsd/2-1,y-extrusion_width/2,-idler_h/2-idler_v_tolerance/2-1])
161 cube(size=[lsd+2,extrusion_width,idler_h+idler_v_tolerance+2]); 163 cube(size=[lsd+2,extrusion_width,idler_h+idler_v_tolerance+2]);
162 } 164 }
163 cylinder(d=mount_screw_d+mount_screw_d_tolerance,h=lever_thickness+2,center=true,$fn=30); 165 cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30);
164 translate([0,0,lever_thickness/2-mount_screwhead_h]) 166 translate([0,0,lever_thickness/2-idler_screwhead_h])
165 cylinder(d=mount_screwhead_d,h=mount_screwhead_h+1,$fn=fnd*mount_screwhead_d); 167 cylinder(d=idler_screwhead_d,h=idler_screwhead_h+1,$fn=fnd*idler_screwhead_d);
166 } 168 }
167 // mounting screw hole 169 // mounting screw hole
168 translate([mount_d/2,0,0]) 170 translate([mount_d/2,0,0])
169 cylinder(d=mount_screw_d+mount_screw_d_tolerance,h=lever_thickness+2,center=true,$fn=fnd*mount_screw_d); 171 cylinder(d=mount_screw_d+mount_screw_d_tolerance,h=lever_thickness+2,center=true,$fn=fnd*mount_screw_d);
170 172
171 // lever end 173 // lever end