summaryrefslogtreecommitdiff
Side-by-side diff
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 7e7f22d..3d804c1 100644
--- a/another.scad
+++ b/another.scad
@@ -53,6 +53,8 @@ module the_extruder(
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 */
what="lever", // lever|body|knob|springpad|*
left=false,
@@ -212,14 +214,14 @@ module the_extruder(
translate([0,0,st_thickshell])
hull() for(o=[0,spring_d]) translate([0,-o,0])
rotate([0,0,30])
- cylinder(d=st_nut_d,h=st_nut_h,$fn=6);
+ 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);
bigd = spring_d+spring_d_clearance;
hf = (bigd-st_screw_d)/2;
- translate([0,0,st_thickshell+st_nut_h+st_thinshell-epsilon])
+ translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon])
cylinder(d1=st_screw_d,d2=bigd,
h=hf+epsilon, $fn=fnd*bigd);
- translate([0,0,st_thickshell+st_nut_h+st_thinshell+hf-epsilon])
+ 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);
}
}
@@ -341,7 +343,7 @@ module the_extruder(
smalld=st_screw_d+2*extrusion_width;
bigd = spring_d+spring_d_clearance/2;
hf = (bigd-smalld)/2;
- translate([-gearbox_d/2+st_thickshell+st_nut_h+st_thinshell+1,-longwing,filament_elevation])
+ 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);