Compare commits
2 Commits
6b24209ca4
...
60caecaaf0
Author | SHA1 | Date |
---|---|---|
|
60caecaaf0 | |
|
109a6cb729 |
2
Makefile
|
@ -27,6 +27,7 @@ PREFIX=takeup
|
|||
OPENSCAD=openscad
|
||||
OPENSCAD_OPTIONS=-D VERBOSE=false
|
||||
OPENSCAD_IMAGE_OPTIONS=--imgsize=1024,1024 --colorscheme=DeepOcean --render
|
||||
C14N=python common/c14n_stl.py
|
||||
|
||||
STL=./stl
|
||||
IMG=./img
|
||||
|
@ -52,4 +53,5 @@ cleanall:
|
|||
|
||||
$(MODELS) : $(STL)/$(PREFIX)_%.stl : $(PREFIX).scad
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS) -o $@ -D PART=\"$(subst $(PREFIX)_,,$(subst .stl,,$(@F)))\" $<
|
||||
$(C14N) $@
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS) $(OPENSCAD_IMAGE_OPTIONS) -o $(IMG)/$(subst $(STL),$(IMG)},$(subst .stl,.png,$(@F))) -D PART=\"$(subst $(PREFIX)_,,$(subst .stl,,$(@F)))\" $<
|
||||
|
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |