-rw-r--r-- | another.scad | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/another.scad b/another.scad index 4f70a1a..79cebdd 100644 --- a/another.scad +++ b/another.scad | |||
@@ -82,4 +82,7 @@ module the_extruder( | |||
82 | lsd = idler_d-idler_clearance*2; | 82 | lsd = idler_d-idler_clearance*2; |
83 | longwing=gearbox_d/2+spring_d/2+lsd/2; | 83 | longwing=gearbox_d/2+spring_d/2+lsd/2; |
84 | shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2)) | ||
85 | sqrt(c*c+pow(a-c,2)); | ||
86 | longwing_travel = idler_travel*longwing/shortwing; | ||
84 | h_ = (pulley_d+idler_d)/(2*sqrt(2)); | 87 | h_ = (pulley_d+idler_d)/(2*sqrt(2)); |
85 | ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); | 88 | ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); |
@@ -231,5 +234,5 @@ module the_extruder( | |||
231 | cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d); | 234 | cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d); |
232 | // finger and spring support | 235 | // finger and spring support |
233 | fsw = gearbox_d-(gearbox_d-mount_d)/2-spring_lc; | 236 | fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2); |
234 | translate([-gearbox_d/2,0,0]) difference() { | 237 | translate([-gearbox_d/2,0,0]) difference() { |
235 | union() { | 238 | union() { |