Initial commit

This commit is contained in:
2023-02-17 11:21:57 +01:00
commit 96c98b8fd8
4 changed files with 74 additions and 0 deletions

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
PARAMETERS := $(shell cat Lego.json | grep -v '"parameterSets": ""' | jq -r '.parameterSets | keys[]')
STL = $(PARAMETERS:%=%.stl)
all: $(STL)
$(STL): Lego.scad Lego.json
openscad -o $@ -P $@ $<