summaryrefslogtreecommitdiff
path: root/another.scad
authorMichael Krelin <hacker@klever.net>2018-08-21 18:00:23 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-21 18:00:23 (UTC)
commitcbfb4ceebad88f7c43ae862f863857074da462bd (patch) (unidiff)
tree7e4a31f3a1e490d6efcac3d01112109eeec094e0 /another.scad
parenteb49701c13f76640936e7a2a7a138bd92617b147 (diff)
downloadextrudery-cbfb4ceebad88f7c43ae862f863857074da462bd.zip
extrudery-cbfb4ceebad88f7c43ae862f863857074da462bd.tar.gz
extrudery-cbfb4ceebad88f7c43ae862f863857074da462bd.tar.bz2
typo fix
Diffstat (limited to 'another.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad2
1 files changed, 1 insertions, 1 deletions
diff --git a/another.scad b/another.scad
index 6ef7299..87121d2 100644
--- a/another.scad
+++ b/another.scad
@@ -402,86 +402,86 @@ module the_extruder(
402 hf = (bigd-smalld)/2; 402 hf = (bigd-smalld)/2;
403 translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) 403 translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation])
404 rotate([0,90,0]) difference() { 404 rotate([0,90,0]) difference() {
405 union() { 405 union() {
406 cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); 406 cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd);
407 translate([0,0,hf-epsilon]) 407 translate([0,0,hf-epsilon])
408 cylinder(d=bigd,h=hf*2,$fn=fnd*bigd); 408 cylinder(d=bigd,h=hf*2,$fn=fnd*bigd);
409 translate([0,0,3*hf]) 409 translate([0,0,3*hf])
410 sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); 410 sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4);
411 } 411 }
412 translate([0,0,-epsilon]) 412 translate([0,0,-epsilon])
413 cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); 413 cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
414 } 414 }
415 } 415 }
416 416
417 module knob() { 417 module knob() {
418 ch = knob_indent_d/2; 418 ch = knob_indent_d/2;
419 translate([0,0,body_h+epsilon]) { 419 translate([0,0,body_h+epsilon]) {
420 mirror([0,0,1]) translate([0,0,-epsilon]) { 420 mirror([0,0,1]) translate([0,0,-epsilon]) {
421 difference() { 421 difference() {
422 cylinder(d=pulley_d,h=knob_bore_l,$fn=fnd*pulley_d); 422 cylinder(d=pulley_d,h=knob_bore_l,$fn=fnd*pulley_d);
423 translate([0,0,-1]) difference() { 423 translate([0,0,-1]) difference() {
424 cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2); 424 cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2);
425 translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1]) 425 translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1])
426 cube([bore_d+2,bore_d/2,knob_bore_l+4]); 426 cube([bore_d+2,bore_d/2,knob_bore_l+4]);
427 } 427 }
428 } 428 }
429 } 429 }
430 difference() { 430 difference() {
431 union() { 431 union() {
432 cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=fnd*gearbox_d); 432 cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=fnd*gearbox_d);
433 translate([0,0,ch]) 433 translate([0,0,ch])
434 cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=fnd*gearbox_d); 434 cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=fnd*gearbox_d);
435 translate([0,0,knob_h-ch]) 435 translate([0,0,knob_h-ch])
436 cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=fnd*gearbox_d); 436 cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=fnd*gearbox_d);
437 } 437 }
438 for(a=[0:360/knob_indents:359]) rotate([0,0,a]) 438 for(a=[0:360/knob_indents:359]) rotate([0,0,a])
439 translate([0,gearbox_d/2,-1]) 439 translate([0,gearbox_d/2,-1])
440 cylinder(d=knob_indent_d,h=knob_h+2,$fn=fnd*knob_indent_d); 440 cylinder(d=knob_indent_d,h=knob_h+2,$fn=fnd*knob_indent_d);
441 } 441 }
442 } 442 }
443 }//knob module 443 }//knob module
444 444
445 module debug() { 445 module debug() {
446 difference() { 446 difference() {
447 children(); 447 children();
448 if(debug) { 448 if(debug) {
449 // spring tensioner debug cutout 449 // spring tensioner debug cutout
450 if(tensioner) // TODO: collaps copypasted transformations 450 if(tensioner) // TODO: collapse copypasted transformations
451 translate([-gearbox_d/2,0,0]) 451 translate([-gearbox_d/2,0,0])
452 translate([0,-longwing,ls_z]) rotate([0,-90,0]) 452 translate([0,-longwing,ls_z]) rotate([0,-90,0])
453 translate([0,-lever_thickness/2-1,-gearbox_d]) 453 translate([0,-lever_thickness/2-1,-gearbox_d])
454 cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); 454 cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]);
455 // lever axis debug cutout 455 // lever axis debug cutout
456 translate([mount_d/2,0,-1]) 456 translate([mount_d/2,0,-1])
457 rotate([0,0,-45]) 457 rotate([0,0,-45])
458 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); 458 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]);
459 // idler debug cutout 459 // idler debug cutout
460 translate([0,0,ls_z]) 460 translate([0,0,ls_z])
461 place_idler() 461 place_idler()
462 rotate([0,0,-45]) 462 rotate([0,0,-45])
463 translate([0,0,-lever_thickness/2-epsilon]) 463 translate([0,0,-lever_thickness/2-epsilon])
464 cube(size=[(idler_d+idler_clearance)/2,(idler_d+idler_clearance)/2, 464 cube(size=[(idler_d+idler_clearance)/2,(idler_d+idler_clearance)/2,
465 lever_thickness+2*epsilon]); 465 lever_thickness+2*epsilon]);
466 }//if debug 466 }//if debug
467 }//difference 467 }//difference
468 } 468 }
469 469
470 mirrorleft() 470 mirrorleft()
471 debug() 471 debug()
472 if(what=="lever") color("green",0.7) lever(); 472 if(what=="lever") color("green",0.7) lever();
473 else if(what=="body") color("yellow",0.7) body(); 473 else if(what=="body") color("yellow",0.7) body();
474 else if(what=="knob") color("red",0.7) knob(); 474 else if(what=="knob") color("red",0.7) knob();
475 else if(what=="springpad") color("blue",0.7) springpad(); 475 else if(what=="springpad") color("blue",0.7) springpad();
476 else if(what=="both") { 476 else if(what=="both") {
477 color("green",0.7) lever(); 477 color("green",0.7) lever();
478 color("yellow",0.7) body(); 478 color("yellow",0.7) body();
479 }else{ 479 }else{
480 color("green",0.7) lever(); 480 color("green",0.7) lever();
481 color("yellow",0.7) body(); 481 color("yellow",0.7) body();
482 color("red",0.7) knob(); 482 color("red",0.7) knob();
483 color("blue",0.7) springpad(); 483 color("blue",0.7) springpad();
484 } 484 }
485} 485}
486 486
487the_extruder(what="*",left=false,debug=true); 487the_extruder(what="*",left=false,debug=true);