-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | multiswitch-embeddest.scad | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -23,6 +23,10 @@ another-%-lever.stl: another-%.scad another.scad | |||
23 | another-%-knob.stl: another-%.scad another.scad | 23 | another-%-knob.stl: another-%.scad another.scad |
24 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" | 24 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -o "$@" "$<" |
25 | 25 | ||
26 | multiswitch: multiswitch.c8r.scad $(addsuffix .stl,$(addprefix multiswitch-embeddest-,2 3 4 5 6)) | ||
27 | multiswitch-embeddest-%.stl: multiswitch-embeddest.scad | ||
28 | $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D inputs=$* -o "$@" "$<" | ||
29 | |||
26 | multiswitch.c8r.scad: multiswitch-c8r.scad threads.scad pushfit_data.scad pushfittery.scad multiswitch.scad | 30 | multiswitch.c8r.scad: multiswitch-c8r.scad threads.scad pushfit_data.scad pushfittery.scad multiswitch.scad |
27 | @echo "Preprocessing into $@…" | 31 | @echo "Preprocessing into $@…" |
28 | @( \ | 32 | @( \ |
diff --git a/multiswitch-embeddest.scad b/multiswitch-embeddest.scad new file mode 100644 index 0000000..a99261e --- a/dev/null +++ b/multiswitch-embeddest.scad | |||
@@ -0,0 +1,4 @@ | |||
1 | use <multiswitch.scad>; | ||
2 | include <pushfit_data.scad>; | ||
3 | |||
4 | multiswitch(pf=pushfit_embeddest,inputs=inputs,debug=0); | ||