summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-26 19:17:58 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-26 19:17:58 (UTC)
commit7fbe9cfcee18f826b71968b5e5a86ce509ebcaa6 (patch) (unidiff)
tree5e34bb2fe5e2177c9c0c552875af35e190f9fabd
parent1b9f8d6ae7e1e86d61ff92faaf281f6fb81a2831 (diff)
downloadextrudery-7fbe9cfcee18f826b71968b5e5a86ce509ebcaa6.zip
extrudery-7fbe9cfcee18f826b71968b5e5a86ce509ebcaa6.tar.gz
extrudery-7fbe9cfcee18f826b71968b5e5a86ce509ebcaa6.tar.bz2
made some more use of min_xy_shell
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/another.scad b/another.scad
index 55fda78..b2e6c74 100644
--- a/another.scad
+++ b/another.scad
@@ -78,13 +78,13 @@ module the_extruder(
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; // the diameter of lever thingie 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+min_xy_shell;
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;
@@ -406,13 +406,13 @@ module the_extruder(
406 } 406 }
407 } 407 }
408 408
409 }//body module 409 }//body module
410 410
411 module springpad() { 411 module springpad() {
412 smalld=st_screw_d+st_screw_d_tolerance+2*extrusion_width; 412 smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell;
413 bigd = spring_d+spring_d_clearance/2; 413 bigd = spring_d+spring_d_clearance/2;
414 hf = (bigd-smalld)/2; 414 hf = (bigd-smalld)/2;
415 h = hf*3.5; 415 h = hf*3.5;
416 translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) 416 translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation])
417 rotate([0,90,0]) difference() { 417 rotate([0,90,0]) difference() {
418 union() { 418 union() {