Use the sort-stl feature if it is available (not on mac?)
This commit is contained in:
parent
0033f9669c
commit
a783907da6
|
@ -2,7 +2,8 @@
|
|||
PREFIX=intval2
|
||||
|
||||
OPENSCAD=openscad
|
||||
OPENSCAD_OPTIONS=-D VERBOSE=false
|
||||
OPENSCAD_OPTIONS_STL=--enable sort-stl -D VERBOSE=false
|
||||
OPENSCAD_OPTIONS_DXF=-D VERBOSE=false
|
||||
|
||||
STL=../stl
|
||||
DXF=../dxf
|
||||
|
@ -25,7 +26,7 @@ cleanall:
|
|||
# Dependencies for models
|
||||
|
||||
$(MODELS) : $(STL)/$(PREFIX)_%.stl : $(PREFIX).scad
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS) -o $@ -D PART=\"$(subst $(PREFIX)_,,$(subst .stl,,$(@F)))\" $<
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS_STL) -o $@ -D PART=\"$(subst $(PREFIX)_,,$(subst .stl,,$(@F)))\" $<
|
||||
|
||||
$(LASER) : $(DXF)/$(PREFIX)_%.dxf : $(PREFIX).scad
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS) -o $@ -D PART=\"$(subst $(PREFIX)_,,$(subst .dxf,,$(@F)))\" $<
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS_DXF) -o $@ -D PART=\"$(subst $(PREFIX)_,,$(subst .dxf,,$(@F)))\" $<
|
Loading…
Reference in New Issue