summaryrefslogtreecommitdiff
path: root/another.scad
Unidiff
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 dbd20f3..7a3b0ac 100644
--- a/another.scad
+++ b/another.scad
@@ -384,42 +384,42 @@ module the_extruder(
384 difference() { 384 difference() {
385 children(); 385 children();
386 if(debug) { 386 if(debug) {
387 // spring tensioner debug cutout 387 // spring tensioner debug cutout
388 if(tensioner) // TODO: collaps copypasted transformations 388 if(tensioner) // TODO: collaps copypasted transformations
389 translate([-gearbox_d/2,0,0]) 389 translate([-gearbox_d/2,0,0])
390 translate([0,-longwing,ls_z]) rotate([0,-90,0]) 390 translate([0,-longwing,ls_z]) rotate([0,-90,0])
391 translate([0,-lever_thickness/2-1,-gearbox_d]) 391 translate([0,-lever_thickness/2-1,-gearbox_d])
392 cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]); 392 cube(size=[body_h/2+1,lever_thickness/2+1,gearbox_d+2]);
393 // lever axis debug cutout 393 // lever axis debug cutout
394 translate([mount_d/2,0,-1]) 394 translate([mount_d/2,0,-1])
395 rotate([0,0,-45]) 395 rotate([0,0,-45])
396 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]); 396 cube(size=[gearbox_d-mount_d,gearbox_d-mount_d,body_h+knob_h+2]);
397 // idler debug cutout 397 // idler debug cutout
398 translate([0,0,ls_z]) 398 translate([0,0,ls_z])
399 place_idler() 399 place_idler()
400 rotate([0,0,-45]) 400 rotate([0,0,-45])
401 translate([0,0,-lever_thickness/2-epsilon]) 401 translate([0,0,-lever_thickness/2-epsilon])
402 cube(size=[(idler_d+idler_clearance)/2,(idler_d+idler_clearance)/2, 402 cube(size=[(idler_d+idler_clearance)/2,(idler_d+idler_clearance)/2,
403 lever_thickness+2*epsilon]); 403 lever_thickness+2*epsilon]);
404 }//if debug 404 }//if debug
405 }//difference 405 }//difference
406 } 406 }
407 407
408 debug()
409 mirrorleft() 408 mirrorleft()
409 debug()
410 if(what=="lever") color("green",0.7) lever(); 410 if(what=="lever") color("green",0.7) lever();
411 else if(what=="body") color("yellow",0.7) body(); 411 else if(what=="body") color("yellow",0.7) body();
412 else if(what=="knob") color("red",0.7) knob(); 412 else if(what=="knob") color("red",0.7) knob();
413 else if(what=="springpad") color("blue",0.7) springpad(); 413 else if(what=="springpad") color("blue",0.7) springpad();
414 else if(what=="both") { 414 else if(what=="both") {
415 color("green",0.7) lever(); 415 color("green",0.7) lever();
416 color("yellow",0.7) body(); 416 color("yellow",0.7) body();
417 }else{ 417 }else{
418 color("green",0.7) lever(); 418 color("green",0.7) lever();
419 color("yellow",0.7) body(); 419 color("yellow",0.7) body();
420 color("red",0.7) knob(); 420 color("red",0.7) knob();
421 color("blue",0.7) springpad(); 421 color("blue",0.7) springpad();
422 } 422 }
423} 423}
424 424
425the_extruder(what="both",left=false); 425the_extruder(what="both",left=false);