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
@@ -15,5 +15,5 @@ clean:
stl-another-%:
- $(MAKE) another-$*-{body,body-label,lever,knob,springpad}.stl
+ $(MAKE) another-$*-{body,body-label,lever,knob,knob-label,springpad}.stl
another-%-body.stl: another-%.scad another.scad
@@ -25,4 +25,6 @@ another-%-lever.stl: another-%.scad another.scad
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
$(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<"
diff --git a/another.scad b/another.scad
index 3c4f27a..1c6d836 100644
--- a/another.scad
+++ b/another.scad
@@ -480,4 +480,5 @@ module the_extruder(
else if(what=="body.label") color("brown",0.7) body_label();
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();
else if(what=="both") {