From 942136568980e54b372af0fdbe2af074c89bed86 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 23 Aug 2018 18:35:23 +0000 Subject: give more space for idler to travel --- (limited to 'another.scad') diff --git a/another.scad b/another.scad index 4f70a1a..79cebdd 100644 --- a/another.scad +++ b/another.scad @@ -81,6 +81,9 @@ module the_extruder( lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); lsd = idler_d-idler_clearance*2; 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)); ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); spring_dl = idler_travel*longwing/ri; @@ -230,7 +233,7 @@ module the_extruder( union() { cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d); // 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() { union() { hull() { -- cgit v0.9.0.2