author | Michael Krelin <hacker@klever.net> | 2018-09-01 14:47:19 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-09-01 14:47:19 (UTC) |
commit | 32b8dbd19b009091567d8e73636ffa50ea2d6335 (patch) (unidiff) | |
tree | 7517e7107ee512417b13d7f5e3eda9296f141ba7 /another.scad | |
parent | 8b0f9de8f05097c2dfa22088d187ac44aadcefc8 (diff) | |
download | extrudery-32b8dbd19b009091567d8e73636ffa50ea2d6335.zip extrudery-32b8dbd19b009091567d8e73636ffa50ea2d6335.tar.gz extrudery-32b8dbd19b009091567d8e73636ffa50ea2d6335.tar.bz2 |
better calculate springpad size
-rw-r--r-- | another.scad | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/another.scad b/another.scad index faa41da..92187c5 100644 --- a/another.scad +++ b/another.scad | |||
@@ -390,8 +390,8 @@ module the_extruder( | |||
390 | smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell; | 390 | smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell; |
391 | bigd = spring_d+spring_d_clearance/2; | 391 | bigd = spring_d+spring_d_clearance/2; |
392 | hf = (bigd-smalld)/2; | 392 | hf = (bigd-smalld)/2; |
393 | h = hf*3.5; | 393 | h = max(hf,fsw-st_screw_l+hf); |
394 | translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) | 394 | translate([-gearbox_d/2+fsw-h,-longwing,filament_elevation]) |
395 | rotate([0,90,0]) difference() { | 395 | rotate([0,90,0]) difference() { |
396 | union() { | 396 | union() { |
397 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); | 397 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); |
@@ -408,7 +408,7 @@ module the_extruder( | |||
408 | } | 408 | } |
409 | } | 409 | } |
410 | translate([0,0,-epsilon]) | 410 | translate([0,0,-epsilon]) |
411 | cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); | 411 | 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)); |
412 | } | 412 | } |
413 | } | 413 | } |
414 | 414 | ||