File: batch-examples-stl.sh

package info (click to toggle)
openscad 2021.01-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,972 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (9 lines) | stat: -rwxr-xr-x 173 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#!/bin/sh

SCRIPTDIR=`dirname $0`

mkdir -p output
for f in examples/*.scad; do
  echo `basename $f .scad`
  $SCRIPTDIR/create-stl.sh $f output/`basename $f .scad`.stl
done