author | Michael Krelin <hacker@klever.net> | 2018-08-11 14:25:28 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-11 14:25:28 (UTC) |
commit | 6ff4b3c2e76bbc6d37e933bcab7c47260785cab6 (patch) (unidiff) | |
tree | 4b7b408a2e5039d320fae3e15d1bf1cc912dbc2a | |
parent | 495bcda94c4b32b13044cfa9e97c8ea25b32cdfb (diff) | |
download | extrudery-6ff4b3c2e76bbc6d37e933bcab7c47260785cab6.zip extrudery-6ff4b3c2e76bbc6d37e933bcab7c47260785cab6.tar.gz extrudery-6ff4b3c2e76bbc6d37e933bcab7c47260785cab6.tar.bz2 |
adjusted filament path
it used to within the pulley, but now it's only half there
-rw-r--r-- | another.scad | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/another.scad b/another.scad index 2ea5417..be0c887 100644 --- a/another.scad +++ b/another.scad | |||
@@ -111,25 +111,25 @@ module the_extruder( | |||
111 | cylinder(d=bore_d,h=bore_l,$fn=30); | 111 | cylinder(d=bore_d,h=bore_l,$fn=30); |
112 | translate([-bore_d/2-1,bore_dd-bore_d/2,-1]) | 112 | translate([-bore_d/2-1,bore_dd-bore_d/2,-1]) |
113 | cube([bore_d+2,bore_d/2,bore_l+2]); | 113 | cube([bore_d+2,bore_d/2,bore_l+2]); |
114 | } | 114 | } |
115 | translate([0,0,pulley_elevation]) { | 115 | translate([0,0,pulley_elevation]) { |
116 | cylinder(d=pulley_d,h=pulley_h,$fn=30); | 116 | cylinder(d=pulley_d,h=pulley_h,$fn=30); |
117 | translate([0,0,teeth_elevation]) { | 117 | translate([0,0,teeth_elevation]) { |
118 | place_idler() { | 118 | place_idler() { |
119 | cylinder(d=idler_d,h=idler_h,center=true,$fn=30); | 119 | cylinder(d=idler_d,h=idler_h,center=true,$fn=30); |
120 | cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); | 120 | cylinder(d=idler_screw_d,h=lever_thickness+2,center=true,$fn=30); |
121 | }//place idler | 121 | }//place idler |
122 | // filament path | 122 | // filament path |
123 | rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) { | 123 | rotate([0,0,45]) translate([pulley_d/2,0,0]) { |
124 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); | 124 | rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15); |
125 | rotate([-90,0,0]) | 125 | rotate([-90,0,0]) |
126 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) | 126 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) |
127 | pushfit(pf); | 127 | pushfit(pf); |
128 | } | 128 | } |
129 | }//translate teeth | 129 | }//translate teeth |
130 | }//translate pulley | 130 | }//translate pulley |
131 | }//translate protrusion | 131 | }//translate protrusion |
132 | }//vitamins | 132 | }//vitamins |
133 | 133 | ||
134 | module lever() { | 134 | module lever() { |
135 | translate([0,0,protrusion_h+pulley_elevation+teeth_elevation]) { | 135 | translate([0,0,protrusion_h+pulley_elevation+teeth_elevation]) { |
@@ -142,33 +142,33 @@ module the_extruder( | |||
142 | cylinder(d=lsd,h=lever_thickness,center=true,$fn=60); | 142 | cylinder(d=lsd,h=lever_thickness,center=true,$fn=60); |
143 | }//hull | 143 | }//hull |
144 | hull() { | 144 | hull() { |
145 | translate([mount_d/2,0,0]) | 145 | translate([mount_d/2,0,0]) |
146 | cylinder(d=lsd,h=lever_thickness,center=true,$fn=60); | 146 | cylinder(d=lsd,h=lever_thickness,center=true,$fn=60); |
147 | translate([mount_d/2,-longwing,0]) rotate([0,90,0]) | 147 | translate([mount_d/2,-longwing,0]) rotate([0,90,0]) |
148 | cylinder(d=lever_thickness,h=lsd,center=true,$fn=60); | 148 | cylinder(d=lever_thickness,h=lsd,center=true,$fn=60); |
149 | }//hull | 149 | }//hull |
150 | }//union | 150 | }//union |
151 | 151 | ||
152 | // filament path | 152 | // filament path |
153 | place_idler() { | 153 | place_idler() { |
154 | translate([-(idler_d+filament_path_d)/2,0,0]) rotate([90,0,0]) { | 154 | translate([-idler_d/2,0,0]) rotate([90,0,0]) { |
155 | cylinder(d=filament_path_d,h=3*gearbox_d,center=true,$fn=30); | 155 | cylinder(d=filament_path_d,h=3*gearbox_d,center=true,$fn=30); |
156 | translate([0,-filament_path_d/2/sqrt(2),0]) rotate([0,0,45]) | 156 | translate([0,-filament_path_d/2/sqrt(2),0]) rotate([0,0,45]) |
157 | cube(size=[filament_path_d/2,filament_path_d/2,3*gearbox_d],center=true); | 157 | cube(size=[filament_path_d/2,filament_path_d/2,3*gearbox_d],center=true); |
158 | }//rotate translate | 158 | }//rotate translate |
159 | translate([-(idler_d+filament_path_d)/2,0,0]) | 159 | translate([-idler_d/2,0,0]) |
160 | rotate([90,0,0]) | 160 | rotate([90,0,0]) |
161 | translate([0,0, | 161 | translate([0,0, |
162 | sqrt(2)*(mount_d-pulley_d+filament_path_d+lsd)/2 | 162 | sqrt(2)*(mount_d-pulley_d+lsd)/2 |
163 | ]) { | 163 | ]) { |
164 | cylinder(d1=filament_path_d,d2=2*filament_path_d, | 164 | cylinder(d1=filament_path_d,d2=2*filament_path_d, |
165 | h=filament_path_d,$fn=2*filament_path_d*fnd); | 165 | h=filament_path_d,$fn=2*filament_path_d*fnd); |
166 | translate([0,0,filament_path_d-epsilon]) | 166 | translate([0,0,filament_path_d-epsilon]) |
167 | cylinder(d=2*filament_path_d,h=lsd,$fn=2*filament_path_d*fnd); | 167 | cylinder(d=2*filament_path_d,h=lsd,$fn=2*filament_path_d*fnd); |
168 | } | 168 | } |
169 | }//place_idler | 169 | }//place_idler |
170 | 170 | ||
171 | // idler space and mounting hole | 171 | // idler space and mounting hole |
172 | place_idler() { | 172 | place_idler() { |
173 | difference() { | 173 | difference() { |
174 | cylinder(d=idler_d+idler_clearance*2,h=idler_h+idler_v_tolerance,center=true,$fn=60); | 174 | cylinder(d=idler_d+idler_clearance*2,h=idler_h+idler_v_tolerance,center=true,$fn=60); |
@@ -236,25 +236,25 @@ module the_extruder( | |||
236 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) | 236 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) |
237 | cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, | 237 | cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, |
238 | h=hf+epsilon, $fn=fnd*bigd); | 238 | h=hf+epsilon, $fn=fnd*bigd); |
239 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) | 239 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) |
240 | cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); | 240 | cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); |
241 | } | 241 | } |
242 | } | 242 | } |
243 | } | 243 | } |
244 | } // translate | 244 | } // translate |
245 | 245 | ||
246 | // pushfit bracket | 246 | // pushfit bracket |
247 | translate([0,0,filament_elevation]) | 247 | translate([0,0,filament_elevation]) |
248 | rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) | 248 | rotate([0,0,45]) translate([pulley_d/2,0,0]) |
249 | rotate([-90,0,0]) | 249 | rotate([-90,0,0]) |
250 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) { | 250 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) { |
251 | pfb2a = pf_d(pf)+2*pf_shell; pfba = pfb2a/2; | 251 | pfb2a = pf_d(pf)+2*pf_shell; pfba = pfb2a/2; |
252 | pfbd = pfb2a/cos(30); | 252 | pfbd = pfb2a/cos(30); |
253 | pfbs = pfb2a*tan(30); | 253 | pfbs = pfb2a*tan(30); |
254 | pfbl = pf_h(pf)+gearbox_d/2/*TODO:*/; | 254 | pfbl = pf_h(pf)+gearbox_d/2/*TODO:*/; |
255 | cylinder(d=pfbd,h=pfbl,$fn=6); | 255 | cylinder(d=pfbd,h=pfbl,$fn=6); |
256 | translate([-pfbs/2,0,0]) { | 256 | translate([-pfbs/2,0,0]) { |
257 | hull() { | 257 | hull() { |
258 | translate([0,-pfba,0]) cube(size=[pfbs,pfb2a,pfbl]); | 258 | translate([0,-pfba,0]) cube(size=[pfbs,pfb2a,pfbl]); |
259 | cube(size=[pfbs,filament_elevation,pfbl-filament_elevation+pfba]); | 259 | cube(size=[pfbs,filament_elevation,pfbl-filament_elevation+pfba]); |
260 | mirror([0,1,0]) | 260 | mirror([0,1,0]) |
@@ -270,25 +270,25 @@ module the_extruder( | |||
270 | // mount screw holes | 270 | // mount screw holes |
271 | for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) { | 271 | for(zr=[0:90:359]) rotate([0,0,zr]) translate([mount_d/2,0,0]) { |
272 | translate([0,0,mount_screw_l-mounthole_depth/2-(bridges?layer_height:-epsilon)]) | 272 | translate([0,0,mount_screw_l-mounthole_depth/2-(bridges?layer_height:-epsilon)]) |
273 | mirror([0,0,1]) | 273 | mirror([0,0,1]) |
274 | cylinder(d=mount_screw_d+mount_screw_d_tolerance, | 274 | cylinder(d=mount_screw_d+mount_screw_d_tolerance, |
275 | h=mount_screw_l-mounthole_depth/2+1, | 275 | h=mount_screw_l-mounthole_depth/2+1, |
276 | $fn=fnd*(mount_screw_d+mount_screw_d_tolerance)); | 276 | $fn=fnd*(mount_screw_d+mount_screw_d_tolerance)); |
277 | translate([0,0,mount_screw_l-mounthole_depth/2]) | 277 | translate([0,0,mount_screw_l-mounthole_depth/2]) |
278 | cylinder(d=mount_screwhead_d,h=body_h+1,$fn=fnd*mount_screwhead_d); | 278 | cylinder(d=mount_screwhead_d,h=body_h+1,$fn=fnd*mount_screwhead_d); |
279 | }//for | 279 | }//for |
280 | // pushfit | 280 | // pushfit |
281 | translate([0,0,filament_elevation]) | 281 | translate([0,0,filament_elevation]) |
282 | rotate([0,0,45]) translate([(pulley_d-filament_path_d)/2,0,0]) | 282 | rotate([0,0,45]) translate([pulley_d/2,0,0]) |
283 | rotate([-90,0,0]) | 283 | rotate([-90,0,0]) |
284 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon]) | 284 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon]) |
285 | rotate([0,0,180]) { | 285 | rotate([0,0,180]) { |
286 | pushfit(pf); | 286 | pushfit(pf); |
287 | cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=fnd*filament_guide_d); | 287 | cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=fnd*filament_guide_d); |
288 | translate([0,-filament_guide_d/2/sqrt(2),0]) | 288 | translate([0,-filament_guide_d/2/sqrt(2),0]) |
289 | rotate([0,0,45]) | 289 | rotate([0,0,45]) |
290 | cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true); | 290 | cube(size=[filament_guide_d/2,filament_guide_d/2,gearbox_d],center=true); |
291 | }//rotate translate rotate translate rotate translate | 291 | }//rotate translate rotate translate rotate translate |
292 | // pulley | 292 | // pulley |
293 | cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance)); | 293 | cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_clearance)); |
294 | // leverspace | 294 | // leverspace |