author | Michael Krelin <hacker@klever.net> | 2018-08-31 22:28:17 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-31 22:28:17 (UTC) |
commit | 1204538201ab6005f99507a511ffc17050194c8e (patch) (side-by-side diff) | |
tree | 0a9b2a99252714f2cfafbf97e87b8b0e0700bcd8 /another.scad | |
parent | 875ceca4d231a22423c42d44d8d14e02d3b4ef37 (diff) | |
download | extrudery-1204538201ab6005f99507a511ffc17050194c8e.zip extrudery-1204538201ab6005f99507a511ffc17050194c8e.tar.gz extrudery-1204538201ab6005f99507a511ffc17050194c8e.tar.bz2 |
body label as a separate STL
-rw-r--r-- | another.scad | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/another.scad b/another.scad index f01e765..3955e49 100644 --- a/another.scad +++ b/another.scad @@ -363,4 +363,11 @@ module the_extruder( // label - if(body_label) let(label=body_label,label_thickness=body_label_thickness) { - label_thickness = 2*layer_height; + body_label(); + + }//difference + + }//body module + module body_label() { + if(body_label) { + label=body_label; + label_thickness=body_label_thickness; label_len = len(label); @@ -373,6 +380,3 @@ module the_extruder( }//if(body_label) - - }//difference - - }//body module + } @@ -463,2 +467,3 @@ module the_extruder( else if(what=="body") color("yellow",0.7) body(); + else if(what=="body.label") color("brown",0.7) body_label(); else if(what=="knob") color("red",0.7) knob(); @@ -468,2 +473,3 @@ module the_extruder( color("yellow",0.7) body(); + color("brown",0.7) body_label(); }else{ |