summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-26 19:14:23 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-26 19:14:23 (UTC)
commit3855bfa499f674b41fa5edf3506e41238520d2da (patch) (unidiff)
treeb5db5ec8bb73bf72cae6f6326d7c883df9566cfe
parentc36f7b9afffdf4fd363ed5abb5a8bd2b4644aec8 (diff)
downloadextrudery-3855bfa499f674b41fa5edf3506e41238520d2da.zip
extrudery-3855bfa499f674b41fa5edf3506e41238520d2da.tar.gz
extrudery-3855bfa499f674b41fa5edf3506e41238520d2da.tar.bz2
the comment
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad2
1 files changed, 1 insertions, 1 deletions
diff --git a/another.scad b/another.scad
index b752f30..2383276 100644
--- a/another.scad
+++ b/another.scad
@@ -71,25 +71,25 @@ module the_extruder(
71 what="lever", // lever|body|knob|springpad|* 71 what="lever", // lever|body|knob|springpad|*
72 left=false, 72 left=false,
73 vitamins = true, 73 vitamins = true,
74 supports = false, bridges = true, 74 supports = false, bridges = true,
75 tensioner = true, 75 tensioner = true,
76 debug = false 76 debug = false
77) { 77) {
78 fnd = 2*PI; fnr = 2*fnd; 78 fnd = 2*PI; fnr = 2*fnd;
79 79
80 idler_filament_offset = filament_path_d/2; // -filament_offset; 80 idler_filament_offset = filament_path_d/2; // -filament_offset;
81 lever_shell = mount_screwhead_h+0.5; 81 lever_shell = mount_screwhead_h+0.5;
82 lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); 82 lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell);
83 lsd = idler_d-idler_clearance*2; 83 lsd = idler_d-idler_clearance*2; // the diameter of lever thingie
84 longwing=(mount_d+mount_screw_d+mount_screw_d_tolerance+spring_d+spring_d_clearance)/2+extrusion_width; 84 longwing=(mount_d+mount_screw_d+mount_screw_d_tolerance+spring_d+spring_d_clearance)/2+extrusion_width;
85 shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2)) 85 shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2))
86 sqrt(c*c+pow(a-c,2)); 86 sqrt(c*c+pow(a-c,2));
87 longwing_travel = idler_travel*longwing/shortwing; 87 longwing_travel = idler_travel*longwing/shortwing;
88 h_ = (pulley_d+idler_d)/(2*sqrt(2)); 88 h_ = (pulley_d+idler_d)/(2*sqrt(2));
89 ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); 89 ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) );
90 spring_dl = idler_travel*longwing/ri; 90 spring_dl = idler_travel*longwing/ri;
91 // finger and spring support 91 // finger and spring support
92 fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2); 92 fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2);
93 93
94 mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1; 94 mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1;
95 mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1; 95 mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1;