summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show 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
@@ -14,7 +14,7 @@ clean:
14 rm -f *.stl *.gcode 14 rm -f *.stl *.gcode
15 15
16stl-another-%: 16stl-another-%:
17 $(MAKE) another-$*-{body,body-label,lever,knob,springpad}.stl 17 $(MAKE) another-$*-{body,body-label,lever,knob,knob-label,springpad}.stl
18 18
19another-%-body.stl: another-%.scad another.scad 19another-%-body.stl: another-%.scad another.scad
20 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" 20 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<"
@@ -24,6 +24,8 @@ another-%-lever.stl: another-%.scad another.scad
24 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" 24 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<"
25another-%-knob.stl: another-%.scad another.scad 25another-%-knob.stl: another-%.scad another.scad
26 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" 26 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<"
27another-%-knob-label.stl: another-%.scad another.scad
28 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob.label"' -o "$@" "$<"
27another-%-springpad.stl: another-%.scad another.scad 29another-%-springpad.stl: another-%.scad another.scad
28 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<" 30 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="springpad"' -o "$@" "$<"
29 31
diff --git a/another.scad b/another.scad
index 3c4f27a..1c6d836 100644
--- a/another.scad
+++ b/another.scad
@@ -479,6 +479,7 @@ module the_extruder(
479 else if(what=="body") color("yellow",0.7) body(); 479 else if(what=="body") color("yellow",0.7) body();
480 else if(what=="body.label") color("brown",0.7) body_label(); 480 else if(what=="body.label") color("brown",0.7) body_label();
481 else if(what=="knob") color("red",0.7) knob(); 481 else if(what=="knob") color("red",0.7) knob();
482 else if(what=="knob.label") color("brown",0.7) knob_label();
482 else if(what=="springpad") color("blue",0.7) springpad(); 483 else if(what=="springpad") color("blue",0.7) springpad();
483 else if(what=="both") { 484 else if(what=="both") {
484 color("green",0.7) lever(); 485 color("green",0.7) lever();