summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/another.scad b/another.scad
index 5ea0845..116344e 100644
--- a/another.scad
+++ b/another.scad
@@ -441,52 +441,52 @@ module the_extruder(
441 for(a=[0:360/knob_indents:359]) rotate([0,0,a]) 441 for(a=[0:360/knob_indents:359]) rotate([0,0,a])
442 translate([0,gearbox_d/2,-1]) 442 translate([0,gearbox_d/2,-1])
443 cylinder(d=knob_indent_d,h=knob_h+2,$fn=fnd*knob_indent_d); 443 cylinder(d=knob_indent_d,h=knob_h+2,$fn=fnd*knob_indent_d);
444 } 444 }
445 } 445 }
446 }//knob module 446 }//knob module
447 447
448 module debug() { 448 module debug() {
449 difference() { 449 difference() {
450 children(); 450 children();
451 if(debug) { 451 if(debug) {
452 // spring tensioner debug cutout 452 // spring tensioner debug cutout
453 translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0]) 453 translate([-gearbox_d/2,-longwing,ls_z]) rotate([0,-90,0])
454 translate([0,-lever_thickness/2-1,-gearbox_d]) 454 translate([0,-lever_thickness/2-1,-gearbox_d])
455 cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); 455 cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]);
456 // lever axis debug cutout 456 // lever axis debug cutout
457 translate([mount_d/2,0,-1]) 457 translate([mount_d/2,0,-1])
458 rotate([0,0,-45]) 458 rotate([0,0,-45])
459 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); 459 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]);
460 // idler debug cutout 460 // idler debug cutout
461 translate([0,0,ls_z]) 461 translate([0,0,ls_z])
462 place_idler() 462 place_idler()
463 rotate([0,0,-45]) 463 rotate([0,0,-45])
464 translate([0,0,-lever_thickness/2-epsilon]) 464 translate([0,0,-lever_thickness/2-epsilon])
465 cube(size=[(idler_d+idler_clearance)/2,(idler_d+idler_clearance)/2, 465 cube(size=[lsd*sqrt(2)/2+1,lsd*sqrt(2)/2+1,
466 lever_thickness+2*epsilon]); 466 lever_thickness+2*epsilon]);
467 // pushfit debug cutout 467 // pushfit debug cutout
468 place_idler() 468 place_idler()
469 translate([-idler_d/2+filament_offset,0,ls_z]) 469 translate([-idler_d/2+filament_offset,0,ls_z])
470 cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+1]); 470 cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+knob_h+1]);
471 }//if debug 471 }//if debug
472 }//difference 472 }//difference
473 } 473 }
474 474
475 mirrorleft() 475 mirrorleft()
476 debug() 476 debug()
477 if(what=="lever") color("green",0.7) lever(); 477 if(what=="lever") color("green",0.7) lever();
478 else if(what=="body") color("yellow",0.7) body(); 478 else if(what=="body") color("yellow",0.7) body();
479 else if(what=="knob") color("red",0.7) knob(); 479 else if(what=="knob") color("red",0.7) knob();
480 else if(what=="springpad") color("blue",0.7) springpad(); 480 else if(what=="springpad") color("blue",0.7) springpad();
481 else if(what=="both") { 481 else if(what=="both") {
482 color("green",0.7) lever(); 482 color("green",0.7) lever();
483 color("yellow",0.7) body(); 483 color("yellow",0.7) body();
484 }else{ 484 }else{
485 color("green",0.7) lever(); 485 color("green",0.7) lever();
486 color("yellow",0.7) body(); 486 color("yellow",0.7) body();
487 color("red",0.7) knob(); 487 color("red",0.7) knob();
488 color("blue",0.7) springpad(); 488 color("blue",0.7) springpad();
489 } 489 }
490} 490}
491 491
492the_extruder(what="*",left=false,debug=true); 492the_extruder(what="*",left=false,debug=true);