author | Michael Krelin <hacker@klever.net> | 2018-08-31 22:59:24 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-31 22:59:24 (UTC) |
commit | cd927d0605caa6c8fa87432bdb5801770f7e03a2 (patch) (side-by-side diff) | |
tree | b27b6a97969626d8771f8ee9a9e77154f8b207f0 | |
parent | dbb65b81174fe62a2253d926a54cf8613f71e6de (diff) | |
download | extrudery-cd927d0605caa6c8fa87432bdb5801770f7e03a2.zip extrudery-cd927d0605caa6c8fa87432bdb5801770f7e03a2.tar.gz extrudery-cd927d0605caa6c8fa87432bdb5801770f7e03a2.tar.bz2 |
knob label as a separate stl
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | another.scad | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -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") { |