-rw-r--r-- | another.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/another.scad b/another.scad index 1811584..faa41da 100644 --- a/another.scad +++ b/another.scad | |||
@@ -86,25 +86,25 @@ module the_extruder( | |||
86 | 86 | ||
87 | idler_filament_offset = filament_path_d/2; | 87 | idler_filament_offset = filament_path_d/2; |
88 | lever_shell = mount_screwhead_h+0.5; | 88 | lever_shell = mount_screwhead_h+0.5; |
89 | lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); | 89 | lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); |
90 | lsd = idler_d-idler_clearance*2; // the diameter of lever thingie | 90 | lsd = idler_d-idler_clearance*2; // the diameter of lever thingie |
91 | longwing=(mount_d+mount_screw_d+mount_screw_d_tolerance+spring_d+spring_d_clearance)/2+min_xy_shell; | 91 | longwing=(mount_d+mount_screw_d+mount_screw_d_tolerance+spring_d+spring_d_clearance)/2+min_xy_shell; |
92 | shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2)) | 92 | shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2)) |
93 | sqrt(c*c+pow(a-c,2)); | 93 | sqrt(c*c+pow(a-c,2)); |
94 | longwing_travel = idler_travel*longwing/shortwing; | 94 | longwing_travel = idler_travel*longwing/shortwing; |
95 | h_ = (pulley_d+idler_d)/(2*sqrt(2)); | 95 | h_ = (pulley_d+idler_d)/(2*sqrt(2)); |
96 | ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); | 96 | ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); |
97 | spring_dl = idler_travel*longwing/ri; | 97 | spring_dl = idler_travel*longwing/ri; |
98 | // finger and spring support | 98 | // finger and spring support width |
99 | fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2); | 99 | fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2); |
100 | 100 | ||
101 | mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1; | 101 | mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1; |
102 | mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1; | 102 | mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1; |
103 | filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; | 103 | filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; |
104 | ls_z = filament_elevation; // leverspace mid-z | 104 | ls_z = filament_elevation; // leverspace mid-z |
105 | ls_h = lever_thickness+lever_v_clearance; // leverspace height | 105 | ls_h = lever_thickness+lever_v_clearance; // leverspace height |
106 | mount_depth = mount_screw_l - (ls_z+ls_h/2+min_z_shell); | 106 | mount_depth = mount_screw_l - (ls_z+ls_h/2+min_z_shell); |
107 | body_h = max(protrusion_h+bore_l,mount_screw_l-mount_depth+mount_screwhead_h+min_z_shell,ls_z*2); | 107 | body_h = max(protrusion_h+bore_l,mount_screw_l-mount_depth+mount_screwhead_h+min_z_shell,ls_z*2); |
108 | echo("mount depth",mount_depth); | 108 | echo("mount depth",mount_depth); |
109 | 109 | ||
110 | pf_offset = mount_d/sqrt(2)/2+mount_screw_d/2+min_xy_shell; | 110 | pf_offset = mount_d/sqrt(2)/2+mount_screw_d/2+min_xy_shell; |