summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile4
-rw-r--r--another.scad1
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6393033..5753a68 100644
--- a/Makefile
+++ b/Makefile
@@ -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();