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 /another.scad | |
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 | |||
@@ -396,26 +396,26 @@ module the_extruder( | |||
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(); |