summaryrefslogtreecommitdiff
path: root/another.scad
Unidiff
Diffstat (limited to 'another.scad') (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad1
1 files changed, 1 insertions, 0 deletions
diff --git a/another.scad b/another.scad
index 3c4f27a..1c6d836 100644
--- a/another.scad
+++ b/another.scad
@@ -458,40 +458,41 @@ module the_extruder(
458 translate([mount_d/2,0,-1]) 458 translate([mount_d/2,0,-1])
459 rotate([0,0,-45]) 459 rotate([0,0,-45])
460 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); 460 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]);
461 // idler debug cutout 461 // idler debug cutout
462 translate([0,0,ls_z]) 462 translate([0,0,ls_z])
463 place_idler() 463 place_idler()
464 rotate([0,0,-45]) 464 rotate([0,0,-45])
465 translate([0,0,-lever_thickness/2-epsilon]) 465 translate([0,0,-lever_thickness/2-epsilon])
466 cube(size=[lsd*sqrt(2)/2+1,lsd*sqrt(2)/2+1, 466 cube(size=[lsd*sqrt(2)/2+1,lsd*sqrt(2)/2+1,
467 lever_thickness+2*epsilon]); 467 lever_thickness+2*epsilon]);
468 // pushfit debug cutout 468 // pushfit debug cutout
469 place_idler() 469 place_idler()
470 translate([-idler_d/2+filament_offset,0,ls_z]) 470 translate([-idler_d/2+filament_offset,0,ls_z])
471 cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+knob_h+1]); 471 cube(size=[gearbox_d/2,gearbox_d/2+pf_h(pf),body_h-ls_z+knob_h+1]);
472 }//if debug 472 }//if debug
473 }//difference 473 }//difference
474 } 474 }
475 475
476 mirrorleft() 476 mirrorleft()
477 debug() 477 debug()
478 if(what=="lever") color("green",0.7) lever(); 478 if(what=="lever") color("green",0.7) lever();
479 else if(what=="body") color("yellow",0.7) body(); 479 else if(what=="body") color("yellow",0.7) body();
480 else if(what=="body.label") color("brown",0.7) body_label(); 480 else if(what=="body.label") color("brown",0.7) body_label();
481 else if(what=="knob") color("red",0.7) knob(); 481 else if(what=="knob") color("red",0.7) knob();
482 else if(what=="knob.label") color("brown",0.7) knob_label();
482 else if(what=="springpad") color("blue",0.7) springpad(); 483 else if(what=="springpad") color("blue",0.7) springpad();
483 else if(what=="both") { 484 else if(what=="both") {
484 color("green",0.7) lever(); 485 color("green",0.7) lever();
485 color("yellow",0.7) body(); 486 color("yellow",0.7) body();
486 color("brown",0.7) body_label(); 487 color("brown",0.7) body_label();
487 }else{ 488 }else{
488 color("green",0.7) lever(); 489 color("green",0.7) lever();
489 color("yellow",0.7) body(); 490 color("yellow",0.7) body();
490 color("brown",0.7) body_label(); 491 color("brown",0.7) body_label();
491 color("red",0.7) knob(); 492 color("red",0.7) knob();
492 color("brown",0.7) knob_label(); 493 color("brown",0.7) knob_label();
493 color("blue",0.7) springpad(); 494 color("blue",0.7) springpad();
494 } 495 }
495} 496}
496 497
497the_extruder(what="*",left=false,debug=true); 498the_extruder(what="*",left=false,debug=true);