author | Michael Krelin <hacker@klever.net> | 2018-08-23 18:35:23 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-23 18:35:23 (UTC) |
commit | 942136568980e54b372af0fdbe2af074c89bed86 (patch) (side-by-side diff) | |
tree | ffe384e6fec275d1f56169a76fde3f1caeafb615 | |
parent | c1cb6ce47647599f7a682593c0dea2d4c99be6af (diff) | |
download | extrudery-942136568980e54b372af0fdbe2af074c89bed86.zip extrudery-942136568980e54b372af0fdbe2af074c89bed86.tar.gz extrudery-942136568980e54b372af0fdbe2af074c89bed86.tar.bz2 |
give more space for idler to travel
-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 @@ -76,16 +76,19 @@ module the_extruder( ) { fnd = 2*PI; fnr = 2*fnd; idler_filament_offset = filament_path_d/2; // -filament_offset; lever_shell = mount_screwhead_h+0.5; 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; mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1; mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1; filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; ls_z = filament_elevation; // leverspace mid-z @@ -225,17 +228,17 @@ module the_extruder( }//translate }//lever module module body() { difference() { 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() { translate([0,-longwing,ls_z]) rotate([0,90,0]) cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); hh=body_h-ls_z; translate([0,0,ls_z]) |