author | Michael Krelin <hacker@klever.net> | 2018-09-01 15:04:55 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-09-01 15:04:55 (UTC) |
commit | fc5c22aeb877892c1caabf628d2bc675de681ff3 (patch) (side-by-side diff) | |
tree | 74a3d550b292a8b0894813b205f928d7a2f90cca /another.scad | |
parent | 2f6d5390149d351d131e294946ba2b948bfd7aca (diff) | |
download | extrudery-fc5c22aeb877892c1caabf628d2bc675de681ff3.zip extrudery-fc5c22aeb877892c1caabf628d2bc675de681ff3.tar.gz extrudery-fc5c22aeb877892c1caabf628d2bc675de681ff3.tar.bz2 |
cap springpad calculations for longer screws
-rw-r--r-- | another.scad | 5 |
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 @@ -397,3 +397,3 @@ module the_extruder( 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]) @@ -415,3 +415,4 @@ module the_extruder( 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)); } |