author | Michael Krelin <hacker@klever.net> | 2018-08-02 10:50:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-02 10:50:09 (UTC) |
commit | 5ee18dd18d2bc9557ab635db6e997a09c9717c10 (patch) (unidiff) | |
tree | e963abd2cea6139cb31afb1e78f68256f8741424 /another.scad | |
parent | b717362a236ec1a95d54e7106f11e4f3e3e85b76 (diff) | |
download | extrudery-5ee18dd18d2bc9557ab635db6e997a09c9717c10.zip extrudery-5ee18dd18d2bc9557ab635db6e997a09c9717c10.tar.gz extrudery-5ee18dd18d2bc9557ab635db6e997a09c9717c10.tar.bz2 |
another: minor adjustment to spring tensioner
-rw-r--r-- | another.scad | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/another.scad b/another.scad index cd084ce..fe30fce 100644 --- a/another.scad +++ b/another.scad | |||
@@ -274,107 +274,108 @@ module the_extruder( | |||
274 | translate([-r-1,0,-1]) cube(size=[2*r+2,r+1,ls_h+2]); | 274 | translate([-r-1,0,-1]) cube(size=[2*r+2,r+1,ls_h+2]); |
275 | } | 275 | } |
276 | 276 | ||
277 | rotate([0,0,-45]) | 277 | rotate([0,0,-45]) |
278 | translate([0,0,ls_z-ls_h/2]) | 278 | translate([0,0,ls_z-ls_h/2]) |
279 | cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]); | 279 | cube(size=[gearbox_d,gearbox_d,lever_thickness+lever_v_clearance]); |
280 | translate([0,0,ls_z-ls_h/2]) { | 280 | translate([0,0,ls_z-ls_h/2]) { |
281 | translate([mount_screwhead_d/2,0,0]) | 281 | translate([mount_screwhead_d/2,0,0]) |
282 | mirror([0,1,0]) | 282 | mirror([0,1,0]) |
283 | cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]); | 283 | cube(size=[gearbox_d,gearbox_d/2+1,lever_thickness+lever_v_clearance]); |
284 | } | 284 | } |
285 | //translate([-mount_d/2,-longwing,filament_elevation]) | 285 | //translate([-mount_d/2,-longwing,filament_elevation]) |
286 | if(!tensioner) translate([mount_d/2,-longwing,filament_elevation]) | 286 | if(!tensioner) translate([mount_d/2,-longwing,filament_elevation]) |
287 | rotate([0,-90,0]) difference() { | 287 | rotate([0,-90,0]) difference() { |
288 | cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=PI*spring_d); | 288 | cylinder(d=spring_d+spring_d_clearance,h=spring_lc+spring_dl,$fn=PI*spring_d); |
289 | translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=PI*spring_d); | 289 | translate([0,0,spring_lc+spring_dl]) sphere(d=spring_d*3/4,$fn=PI*spring_d); |
290 | } | 290 | } |
291 | //sphere(d=spring_d*3/4,$fn=PI*spring_d); | 291 | //sphere(d=spring_d*3/4,$fn=PI*spring_d); |
292 | * difference() { | 292 | * difference() { |
293 | // spring support | 293 | // spring support |
294 | translate([0,-longwing,filament_elevation]) | 294 | translate([0,-longwing,filament_elevation]) |
295 | sphere(d=spring_d*3/4,$fn=PI*spring_d); | 295 | sphere(d=spring_d*3/4,$fn=PI*spring_d); |
296 | } | 296 | } |
297 | 297 | ||
298 | }//difference | 298 | }//difference |
299 | 299 | ||
300 | if(supports) intersection() { | 300 | if(supports) intersection() { |
301 | difference() { | 301 | difference() { |
302 | translate([0,0,ls_z-ls_h/2-epsilon]) | 302 | translate([0,0,ls_z-ls_h/2-epsilon]) |
303 | cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=2*PI*gearbox_d); | 303 | cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=2*PI*gearbox_d); |
304 | cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=2*PI*(pulley_d+pulley_clearance)); | 304 | cylinder(d=pulley_d+pulley_clearance,h=body_h+1,$fn=2*PI*(pulley_d+pulley_clearance)); |
305 | } | 305 | } |
306 | // supports | 306 | // supports |
307 | // TODO: hardcoded stuff below… | 307 | // TODO: hardcoded stuff below… |
308 | if(false) { // parallel | 308 | if(false) { // parallel |
309 | for(y=[-gearbox_d:4:gearbox_d]) | 309 | for(y=[-gearbox_d:4:gearbox_d]) |
310 | translate([0,y-extrusion_width/2,0]) | 310 | translate([0,y-extrusion_width/2,0]) |
311 | cube(size=[gearbox_d,extrusion_width,body_h]); | 311 | cube(size=[gearbox_d,extrusion_width,body_h]); |
312 | }else{ // radial | 312 | }else{ // radial |
313 | for(zr=[-65:(65+50)/7:50]) | 313 | for(zr=[-65:(65+50)/7:50]) |
314 | rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) | 314 | rotate([0,0,zr]) translate([0,-extrusion_width/2,0]) |
315 | cube(size=[gearbox_d,extrusion_width,body_h]); | 315 | cube(size=[gearbox_d,extrusion_width,body_h]); |
316 | } | 316 | } |
317 | } | 317 | } |
318 | 318 | ||
319 | }//body module | 319 | }//body module |
320 | 320 | ||
321 | module springpad() { | 321 | module springpad() { |
322 | smalld=st_screw_d+extrusion_width; | 322 | smalld=st_screw_d+2*extrusion_width; |
323 | bigd = spring_d+spring_d_clearance/2; | 323 | bigd = spring_d+spring_d_clearance/2; |
324 | hf = (bigd-smalld)/2; | 324 | hf = (bigd-smalld)/2; |
325 | translate([-gearbox_d/2+st_shell+st_nut_h+st_shell+smalld,-longwing,filament_elevation]) | 325 | translate([-gearbox_d/2+st_shell+st_nut_h+st_shell+smalld,-longwing,filament_elevation]) |
326 | rotate([0,90,0]) difference() { | 326 | rotate([0,90,0]) difference() { |
327 | union() { | 327 | union() { |
328 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=bigd*PI*2); | 328 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=bigd*PI*2); |
329 | translate([0,0,hf-epsilon]) | 329 | translate([0,0,hf-epsilon]) |
330 | cylinder(d=bigd,h=hf*2,$fn=bigd*PI*2); | 330 | cylinder(d=bigd,h=hf*2,$fn=bigd*PI*2); |
331 | } | 331 | } |
332 | cylinder(d=st_screw_d,h=2*hf,$fn=st_screw_d*PI*2); | 332 | translate([0,0,-epsilon]) |
333 | cylinder(d=st_screw_d,h=2*hf+epsilon,$fn=st_screw_d*PI*2); | ||
333 | } | 334 | } |
334 | } | 335 | } |
335 | 336 | ||
336 | module knob() { | 337 | module knob() { |
337 | ch = knob_indent_d/2; | 338 | ch = knob_indent_d/2; |
338 | translate([0,0,body_h+epsilon]) { | 339 | translate([0,0,body_h+epsilon]) { |
339 | mirror([0,0,1]) translate([0,0,-epsilon]) { | 340 | mirror([0,0,1]) translate([0,0,-epsilon]) { |
340 | difference() { | 341 | difference() { |
341 | cylinder(d=pulley_d,h=knob_bore_l,$fn=pulley_d*PI*2); | 342 | cylinder(d=pulley_d,h=knob_bore_l,$fn=pulley_d*PI*2); |
342 | translate([0,0,-1]) difference() { | 343 | translate([0,0,-1]) difference() { |
343 | cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2); | 344 | cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2); |
344 | translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1]) | 345 | translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1]) |
345 | cube([bore_d+2,bore_d/2,knob_bore_l+4]); | 346 | cube([bore_d+2,bore_d/2,knob_bore_l+4]); |
346 | } | 347 | } |
347 | } | 348 | } |
348 | } | 349 | } |
349 | difference() { | 350 | difference() { |
350 | union() { | 351 | union() { |
351 | cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=PI*gearbox_d*2); | 352 | cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=PI*gearbox_d*2); |
352 | translate([0,0,ch]) | 353 | translate([0,0,ch]) |
353 | cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=PI*gearbox_d*2); | 354 | cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=PI*gearbox_d*2); |
354 | translate([0,0,knob_h-ch]) | 355 | translate([0,0,knob_h-ch]) |
355 | cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=PI*gearbox_d*2); | 356 | cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=PI*gearbox_d*2); |
356 | } | 357 | } |
357 | for(a=[0:360/knob_indents:359]) rotate([0,0,a]) | 358 | for(a=[0:360/knob_indents:359]) rotate([0,0,a]) |
358 | translate([0,gearbox_d/2,-1]) | 359 | translate([0,gearbox_d/2,-1]) |
359 | cylinder(d=knob_indent_d,h=knob_h+2,$fn=knob_indent_d*PI*2); | 360 | cylinder(d=knob_indent_d,h=knob_h+2,$fn=knob_indent_d*PI*2); |
360 | } | 361 | } |
361 | } | 362 | } |
362 | }//knob module | 363 | }//knob module |
363 | 364 | ||
364 | mirrorleft() | 365 | mirrorleft() |
365 | if(what=="lever") color("green",0.7) lever(); | 366 | if(what=="lever") color("green",0.7) lever(); |
366 | else if(what=="body") color("yellow",0.7) body(); | 367 | else if(what=="body") color("yellow",0.7) body(); |
367 | else if(what=="knob") color("red",0.7) knob(); | 368 | else if(what=="knob") color("red",0.7) knob(); |
368 | else if(what=="springpad") color("blue",0.7) springpad(); | 369 | else if(what=="springpad") color("blue",0.7) springpad(); |
369 | else if(what=="both") { | 370 | else if(what=="both") { |
370 | color("green",0.7) lever(); | 371 | color("green",0.7) lever(); |
371 | color("yellow",0.7) body(); | 372 | color("yellow",0.7) body(); |
372 | }else{ | 373 | }else{ |
373 | color("green",0.7) lever(); | 374 | color("green",0.7) lever(); |
374 | color("yellow",0.7) body(); | 375 | color("yellow",0.7) body(); |
375 | color("red",0.7) knob(); | 376 | color("red",0.7) knob(); |
376 | color("blue",0.7) springpad(); | 377 | color("blue",0.7) springpad(); |
377 | } | 378 | } |
378 | } | 379 | } |
379 | 380 | ||
380 | the_extruder(what="both",left=false); | 381 | the_extruder(what="both",left=false); |