run both files ofr one model in parallel, surpress openscad output

master
Dirk Heilig 2024-03-31 22:26:02 +02:00
parent 9cb9f10090
commit 4d4736360d
1 changed files with 5 additions and 2 deletions

View File

@ -22,6 +22,9 @@ fi
while [[ $# -gt 0 ]]; do
name="$1"
shift
"$openscad" -o "$OUTDIR/${name}_text.stl" -D "name=\"$name\"" -D "part=2" "AuerNameTag.scad"
"$openscad" -o "$OUTDIR/${name}_base.stl" -D "name=\"$name\"" -D "part=1" "AuerNameTag.scad"
echo -n generating for "$name"
"$openscad" -o "$OUTDIR/${name}_text.stl" -D "name=\"$name\"" -D "part=2" "AuerNameTag.scad" &>/dev/null &
"$openscad" -o "$OUTDIR/${name}_base.stl" -D "name=\"$name\"" -D "part=1" "AuerNameTag.scad" &>/dev/null &
wait
echo " done"
done