-rw-r--r-- | another.scad | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/another.scad b/another.scad index 7a3b0ac..da5f695 100644 --- a/another.scad +++ b/another.scad @@ -57,6 +57,7 @@ module the_extruder( knob_bore_d_tolerance=.6, st_nut_h_tolerance=.2, st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ + st_screw_d_tolerance=.3, what="lever", // lever|body|knob|springpad|* left=false, @@ -216,11 +217,11 @@ module the_extruder( hull() for(o=[0,spring_d]) translate([0,-o,0]) rotate([0,0,30]) cylinder(d=st_nut_d+st_nut_d_tolerance,h=st_nut_h+st_nut_h_tolerance,$fn=6); - translate([0,0,-1]) cylinder(d=st_screw_d,h=fsw+2,$fn=fnd*st_screw_d); + translate([0,0,-1]) cylinder(d=st_screw_d+st_screw_d_tolerance,h=fsw+2,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); bigd = spring_d+spring_d_clearance; - hf = (bigd-st_screw_d)/2; + hf = (bigd-st_screw_d-st_screw_d_tolerance)/2; translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) - cylinder(d1=st_screw_d,d2=bigd, + cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, h=hf+epsilon, $fn=fnd*bigd); translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); @@ -335,7 +336,7 @@ module the_extruder( }//body module module springpad() { - smalld=st_screw_d+2*extrusion_width; + smalld=st_screw_d+st_screw_d_tolerance+2*extrusion_width; bigd = spring_d+spring_d_clearance/2; hf = (bigd-smalld)/2; translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) @@ -348,7 +349,7 @@ module the_extruder( sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); } translate([0,0,-epsilon]) - cylinder(d=st_screw_d,h=2*hf+epsilon,$fn=fnd*st_screw_d); + cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); } } |