summaryrefslogtreecommitdiff
path: root/another.scad
authorMichael Krelin <hacker@klever.net>2018-09-01 15:04:55 (UTC)
committer Michael Krelin <hacker@klever.net>2018-09-01 15:04:55 (UTC)
commitfc5c22aeb877892c1caabf628d2bc675de681ff3 (patch) (unidiff)
tree74a3d550b292a8b0894813b205f928d7a2f90cca /another.scad
parent2f6d5390149d351d131e294946ba2b948bfd7aca (diff)
downloadextrudery-fc5c22aeb877892c1caabf628d2bc675de681ff3.zip
extrudery-fc5c22aeb877892c1caabf628d2bc675de681ff3.tar.gz
extrudery-fc5c22aeb877892c1caabf628d2bc675de681ff3.tar.bz2
cap springpad calculations for longer screws
Diffstat (limited to 'another.scad') (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
@@ -395,7 +395,7 @@ module the_extruder(
395 smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell; 395 smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell;
396 bigd = spring_d+spring_d_clearance/2; 396 bigd = spring_d+spring_d_clearance/2;
397 hf = (bigd-smalld)/2; 397 hf = (bigd-smalld)/2;
398 h = max(hf,fsw-st_screw_l+hf); 398 h = max(hf*2,fsw-st_screw_l+hf);
399 translate([-gearbox_d/2+fsw-h,-longwing,filament_elevation]) 399 translate([-gearbox_d/2+fsw-h,-longwing,filament_elevation])
400 rotate([0,90,0]) difference() { 400 rotate([0,90,0]) difference() {
401 union() { 401 union() {
@@ -413,7 +413,8 @@ module the_extruder(
413 } 413 }
414 } 414 }
415 translate([0,0,-epsilon]) 415 translate([0,0,-epsilon])
416 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)); 416 cylinder(d=st_screw_d+st_screw_d_tolerance,
417 h=min(st_screw_l,fsw-hf)-fsw+h+2*epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
417 } 418 }
418 } 419 }
419 420