-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | another.scad | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -16,3 +16,3 @@ clean: stl-another-%: - $(MAKE) another-$*-{body,body-label,lever,knob,springpad}.stl + $(MAKE) another-$*-{body,body-label,lever,knob,knob-label,springpad}.stl @@ -26,2 +26,4 @@ another-%-knob.stl: another-%.scad another.scad $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" +another-%-knob-label.stl: another-%.scad another.scad + $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob.label"' -o "$@" "$<" another-%-springpad.stl: another-%.scad another.scad diff --git a/another.scad b/another.scad index 3c4f27a..1c6d836 100644 --- a/another.scad +++ b/another.scad @@ -481,2 +481,3 @@ module the_extruder( else if(what=="knob") color("red",0.7) knob(); + else if(what=="knob.label") color("brown",0.7) knob_label(); else if(what=="springpad") color("blue",0.7) springpad(); |