Add plates and refined wall and pillar sizes
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,8 +1,13 @@
|
||||
PARAMETERS := $(shell cat Lego.json | grep -v '"parameterSets": ""' | jq -r '.parameterSets | keys[]')
|
||||
STL = $(PARAMETERS:%=%.stl)
|
||||
SCAD = Lego.scad
|
||||
CONFIG = Lego.json
|
||||
|
||||
all: $(STL)
|
||||
|
||||
$(STL): Lego.scad Lego.json
|
||||
openscad -o $@ -P $@ $<
|
||||
clean:
|
||||
rm -f $(STL)
|
||||
|
||||
$(STL): $(SCAD) $(CONFIG) Makefile
|
||||
openscad -o $@ -p $(CONFIG) -P $(@:%.stl=%) $(SCAD)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user