-rw-r--r-- | another.scad | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/another.scad b/another.scad index a93d21a..50b3a84 100644 --- a/another.scad +++ b/another.scad | |||
@@ -71,6 +71,7 @@ module the_extruder( | |||
71 | ) { | 71 | ) { |
72 | fnd = 2*PI; fnr = 2*fnd; | 72 | fnd = 2*PI; fnr = 2*fnd; |
73 | 73 | ||
74 | idler_filament_offset = filament_path_d/2; // -filament_offset; | ||
74 | lever_shell = mount_screwhead_h+0.5; | 75 | lever_shell = mount_screwhead_h+0.5; |
75 | lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); | 76 | lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell); |
76 | lsd = idler_d-idler_clearance*2; | 77 | lsd = idler_d-idler_clearance*2; |
@@ -122,12 +123,16 @@ module the_extruder( | |||
122 | cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); | 123 | cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); |
123 | }//place idler | 124 | }//place idler |
124 | // filament path | 125 | // filament path |
125 | rotate([0,0,45]) translate([pulley_d/2+filament_offset,0,0]) { | 126 | rotate([0,0,45]) { |
126 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); | 127 | translate([pulley_d/2-idler_filament_offset,0,0]) rotate([90,0,0]) { |
127 | rotate([-90,0,0]) | 128 | cylinder(d=filament_d,h=gearbox_d,center=false,$fn=15); |
129 | }//rotate translate | ||
130 | translate([pulley_d/2+filament_offset,0,0]) rotate([-90,0,0]) { | ||
131 | cylinder(d=filament_d,h=gearbox_d,center=false,$fn=15); | ||
128 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) | 132 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) |
129 | pushfit(pf); | 133 | pushfit(pf); |
130 | } | 134 | }//rotate translate |
135 | }//rotate | ||
131 | }//translate teeth | 136 | }//translate teeth |
132 | }//translate pulley | 137 | }//translate pulley |
133 | }//translate protrusion | 138 | }//translate protrusion |
@@ -153,12 +158,12 @@ module the_extruder( | |||
153 | 158 | ||
154 | // filament path | 159 | // filament path |
155 | place_idler() { | 160 | place_idler() { |
156 | translate([-idler_d/2+filament_offset,0,0]) rotate([90,0,0]) { | 161 | translate([-idler_d/2-idler_filament_offset,0,0]) rotate([90,0,0]) { |
157 | cylinder(d=filament_path_d,h=3*gearbox_d,center=true,$fn=30); | 162 | cylinder(d=filament_path_d,h=3*gearbox_d,center=true,$fn=30); |
158 | translate([0,-filament_path_d/2/sqrt(2),0]) rotate([0,0,45]) | 163 | translate([0,-filament_path_d/2/sqrt(2),0]) rotate([0,0,45]) |
159 | cube(size=[filament_path_d/2,filament_path_d/2,3*gearbox_d],center=true); | 164 | cube(size=[filament_path_d/2,filament_path_d/2,3*gearbox_d],center=true); |
160 | }//rotate translate | 165 | }//rotate translate |
161 | translate([-idler_d/2+filament_offset,0,0]) | 166 | translate([-idler_d/2-idler_filament_offset,0,0]) |
162 | rotate([90,0,0]) | 167 | rotate([90,0,0]) |
163 | translate([0,0, | 168 | translate([0,0, |
164 | sqrt(2)*(mount_d-pulley_d+lsd)/2 | 169 | sqrt(2)*(mount_d-pulley_d+lsd)/2 |