summaryrefslogtreecommitdiff
Side-by-side diff
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(
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|*
@@ -217,9 +218,9 @@ module the_extruder(
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])
@@ -336,5 +337,5 @@ module the_extruder(
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;
@@ -349,5 +350,5 @@ module the_extruder(
}
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));
}
}