author | Michael Krelin <hacker@klever.net> | 2018-07-31 20:52:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-07-31 20:52:09 (UTC) |
commit | 0709ab26b17a92de950024f82a0295c06ab8fe3d (patch) (side-by-side diff) | |
tree | c235ed5fabafc24d91495d7ae3799864eb803106 | |
parent | 96cccfff8152141c0bea3972847579ebfef09d0d (diff) | |
download | extrudery-0709ab26b17a92de950024f82a0295c06ab8fe3d.zip extrudery-0709ab26b17a92de950024f82a0295c06ab8fe3d.tar.gz extrudery-0709ab26b17a92de950024f82a0295c06ab8fe3d.tar.bz2 |
generate multiswitch stls
-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 another-%-knob.stl: another-%.scad another.scad $(OPENSCAD_BIN) $(OPENSCAD_FLAGS) -D 'what="knob"' -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 @echo "Preprocessing into $@…" @( \ 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 @@ +use <multiswitch.scad>; +include <pushfit_data.scad>; + +multiswitch(pf=pushfit_embeddest,inputs=inputs,debug=0); |