-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 @@ -54,12 +54,13 @@ module the_extruder( protrusion_tolerance_v=.5, // vertical tolerance for the motor protrusion mount_screw_d_tolerance=.4, idler_v_tolerance=.5, 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, vitamins = true, supports = false, bridges = true, tensioner = true, @@ -213,17 +214,17 @@ module the_extruder( if(!tensioner) finger_indent(d=lever_thickness-1,r=15); else { mirror([0,0,1]) { translate([0,0,st_thickshell]) 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); } } } @@ -332,26 +333,26 @@ 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]) rotate([0,90,0]) difference() { union() { cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); translate([0,0,hf-epsilon]) cylinder(d=bigd,h=hf*2,$fn=fnd*bigd); translate([0,0,3*hf]) 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)); } } module knob() { ch = knob_indent_d/2; translate([0,0,body_h+epsilon]) { |