Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (9 sloc) 298 Bytes
#!/bin/sh
cmd="openscad"
[ -x "./openscad" ] && cmd="./openscad"
[ -x "./OpenSCAD.app/Contents/MacOS/OpenSCAD" ] && cmd="./OpenSCAD.app/Contents/MacOS/OpenSCAD"
mkdir -p output
for f in testdata/scad/*-tests.scad; do
echo `basename $f .scad`
"$cmd" -s output/`basename $f .scad`.stl $f
done