summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad11
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
@@ -58,4 +58,5 @@ module the_extruder(
58 st_nut_h_tolerance=.2, 58 st_nut_h_tolerance=.2,
59 st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ 59 st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */
60 st_screw_d_tolerance=.3,
60 61
61 what="lever", // lever|body|knob|springpad|* 62 what="lever", // lever|body|knob|springpad|*
@@ -217,9 +218,9 @@ module the_extruder(
217 rotate([0,0,30]) 218 rotate([0,0,30])
218 cylinder(d=st_nut_d+st_nut_d_tolerance,h=st_nut_h+st_nut_h_tolerance,$fn=6); 219 cylinder(d=st_nut_d+st_nut_d_tolerance,h=st_nut_h+st_nut_h_tolerance,$fn=6);
219 translate([0,0,-1]) cylinder(d=st_screw_d,h=fsw+2,$fn=fnd*st_screw_d); 220 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));
220 bigd = spring_d+spring_d_clearance; 221 bigd = spring_d+spring_d_clearance;
221 hf = (bigd-st_screw_d)/2; 222 hf = (bigd-st_screw_d-st_screw_d_tolerance)/2;
222 translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) 223 translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon])
223 cylinder(d1=st_screw_d,d2=bigd, 224 cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd,
224 h=hf+epsilon, $fn=fnd*bigd); 225 h=hf+epsilon, $fn=fnd*bigd);
225 translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) 226 translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon])
@@ -336,5 +337,5 @@ module the_extruder(
336 337
337 module springpad() { 338 module springpad() {
338 smalld=st_screw_d+2*extrusion_width; 339 smalld=st_screw_d+st_screw_d_tolerance+2*extrusion_width;
339 bigd = spring_d+spring_d_clearance/2; 340 bigd = spring_d+spring_d_clearance/2;
340 hf = (bigd-smalld)/2; 341 hf = (bigd-smalld)/2;
@@ -349,5 +350,5 @@ module the_extruder(
349 } 350 }
350 translate([0,0,-epsilon]) 351 translate([0,0,-epsilon])
351 cylinder(d=st_screw_d,h=2*hf+epsilon,$fn=fnd*st_screw_d); 352 cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
352 } 353 }
353 } 354 }