summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad5
1 files changed, 3 insertions, 2 deletions
diff --git a/another.scad b/another.scad
index 8ba0d58..6bb0664 100644
--- a/another.scad
+++ b/another.scad
@@ -392,13 +392,13 @@ module the_extruder(
}
module springpad() {
smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell;
bigd = spring_d+spring_d_clearance/2;
hf = (bigd-smalld)/2;
- h = max(hf,fsw-st_screw_l+hf);
+ h = max(hf*2,fsw-st_screw_l+hf);
translate([-gearbox_d/2+fsw-h,-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=h-hf,$fn=fnd*bigd);
@@ -410,13 +410,14 @@ module the_extruder(
translate([0,0,w])
cube(size=[l,st_split_w,w]);
cube(size=[l-w,st_split_w,2*w]);
}
}
translate([0,0,-epsilon])
- cylinder(d=st_screw_d+st_screw_d_tolerance,h=st_screw_l-fsw+h+2*epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
+ cylinder(d=st_screw_d+st_screw_d_tolerance,
+ h=min(st_screw_l,fsw-hf)-fsw+h+2*epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
}
}
module knob() {
ch = knob_indent_d/2;
knob_bore_l = body_h-protrusion_h-pulley_elevation-pulley_h-knob_v_clearance;