summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-23 18:35:23 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-23 18:35:23 (UTC)
commit942136568980e54b372af0fdbe2af074c89bed86 (patch) (unidiff)
treeffe384e6fec275d1f56169a76fde3f1caeafb615
parentc1cb6ce47647599f7a682593c0dea2d4c99be6af (diff)
downloadextrudery-942136568980e54b372af0fdbe2af074c89bed86.zip
extrudery-942136568980e54b372af0fdbe2af074c89bed86.tar.gz
extrudery-942136568980e54b372af0fdbe2af074c89bed86.tar.bz2
give more space for idler to travel
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
@@ -78,12 +78,15 @@ module the_extruder(
78 78
79 idler_filament_offset = filament_path_d/2; // -filament_offset; 79 idler_filament_offset = filament_path_d/2; // -filament_offset;
80 lever_shell = mount_screwhead_h+0.5; 80 lever_shell = mount_screwhead_h+0.5;
81 lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); 81 lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell);
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) );
86 spring_dl = idler_travel*longwing/ri; 89 spring_dl = idler_travel*longwing/ri;
87 90
88 mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1; 91 mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1;
89 mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1; 92 mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1;
@@ -227,13 +230,13 @@ module the_extruder(
227 230
228 module body() { 231 module body() {
229 difference() { 232 difference() {
230 union() { 233 union() {
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() {
236 hull() { 239 hull() {
237 translate([0,-longwing,ls_z]) 240 translate([0,-longwing,ls_z])
238 rotate([0,90,0]) 241 rotate([0,90,0])
239 cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); 242 cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness);