This commit is contained in:
2026-06-11 16:04:47 +02:00
commit dfed581377
5 changed files with 374 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
SCAD = wargame_box.scad
PARTS = box lid insert
STLS = $(addprefix stl/,$(addsuffix .stl,$(PARTS)))
all: $(STLS)
stl/%.stl: $(SCAD)
@mkdir -p stl
openscad -o $@ -D 'part="$*"' $(SCAD)
docs/assembly.png: $(SCAD)
@mkdir -p docs
openscad -o $@ --render --imgsize=900,800 \
--camera=110,75,60,60,0,30,700 $(SCAD)
clean:
rm -rf stl
.PHONY: all clean