From 4d4736360d6fe2765a8aea8adea0085f2c328946 Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Sun, 31 Mar 2024 22:26:02 +0200 Subject: [PATCH] run both files ofr one model in parallel, surpress openscad output --- make.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/make.sh b/make.sh index 3dd5ba3..5008890 100755 --- a/make.sh +++ b/make.sh @@ -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