author | Michael Krelin <hacker@klever.net> | 2018-08-06 16:53:51 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-06 16:53:51 (UTC) |
commit | 24c6078101f03c81fe0c05a3470d707e694de06b (patch) (unidiff) | |
tree | cbb3a43b16856882443f09f96465d4edaf7e4bd6 | |
parent | 8efe8f057476efcaba06c6eac7d64792c53e442a (diff) | |
download | extrudery-24c6078101f03c81fe0c05a3470d707e694de06b.zip extrudery-24c6078101f03c81fe0c05a3470d707e694de06b.tar.gz extrudery-24c6078101f03c81fe0c05a3470d707e694de06b.tar.bz2 |
debug cutouts fix
should be placed before rotation
-rw-r--r-- | another.scad | 2 |
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 | |||
@@ -392,34 +392,34 @@ module the_extruder( | |||
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 | ||
425 | the_extruder(what="both",left=false); | 425 | the_extruder(what="both",left=false); |