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
@@ -9,26 +9,28 @@ AWK?=awk default: @echo "And?" clean: rm -f *.stl *.gcode 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 $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body"' -o "$@" "$<" another-%-body-label.stl: another-%.scad another.scad $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="body.label"' -o "$@" "$<" another-%-lever.stl: another-%.scad another.scad $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="lever"' -o "$@" "$<" 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 "$@" "$<" multiswitch: multiswitch.c8r.scad $(addsuffix .stl,$(addprefix multiswitch-embeddest-,2 3 4 5 6)) multiswitch-embeddest-%.stl: multiswitch-embeddest.scad $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D inputs=$* -o "$@" "$<" multiswitch.c8r.scad: multiswitch-c8r.scad threads.scad pushfit_data.scad pushfittery.scad multiswitch.scad diff --git a/another.scad b/another.scad index 3c4f27a..1c6d836 100644 --- a/another.scad +++ b/another.scad @@ -474,16 +474,17 @@ module the_extruder( } mirrorleft() debug() if(what=="lever") color("green",0.7) lever(); else if(what=="body") color("yellow",0.7) body(); 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") { color("green",0.7) lever(); color("yellow",0.7) body(); color("brown",0.7) body_label(); }else{ color("green",0.7) lever(); color("yellow",0.7) body(); |