summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad5
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
@@ -83,2 +83,5 @@ module the_extruder(
longwing=gearbox_d/2+spring_d/2+lsd/2;
+ shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2))
+ sqrt(c*c+pow(a-c,2));
+ longwing_travel = idler_travel*longwing/shortwing;
h_ = (pulley_d+idler_d)/(2*sqrt(2));
@@ -232,3 +235,3 @@ module the_extruder(
// finger and spring support
- fsw = gearbox_d-(gearbox_d-mount_d)/2-spring_lc;
+ fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2);
translate([-gearbox_d/2,0,0]) difference() {