Scad Make files? how to use them January 04, 2013 01:44PM |
Registered: 12 years ago Posts: 329 |
Re: Scad Make files? how to use them January 04, 2013 03:45PM |
Admin Registered: 11 years ago Posts: 1,063 |
Re: Scad Make files? how to use them January 05, 2013 06:48AM |
Registered: 12 years ago Posts: 329 |
Quote
openscad -o output/bushing.stl bushing.scad INCLUDES = $(wildcard inc/*.scad) MODELS = $(filter-out configuration.scad, $(wildcard *.scad)) STL_FILES_1 = $(foreach src, $(MODELS),output/$(src)) STL_FILES = $(STL_FILES_1:%.scad=%.stl) all: $(STL_FILES) output/%.stl: %.scad $(INCLUDES) configuration.scad mkdir -p output openscad -o $@ $<
Re: Scad Make files? how to use them January 05, 2013 07:25AM |
Admin Registered: 11 years ago Posts: 1,063 |
Re: Scad Make files? how to use them January 05, 2013 08:15AM |
Registered: 12 years ago Posts: 1,236 |