From 0a57c89f2f223a46452a5b5c146dd5a9aa71cd95 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Fri, 29 May 2020 10:27:12 -0400 Subject: [PATCH] Now ready to render --- scripts/v3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/v3.sh b/scripts/v3.sh index fc63939..1358874 100644 --- a/scripts/v3.sh +++ b/scripts/v3.sh @@ -32,7 +32,7 @@ do png="${IMG}/gnal_${SIZE}_${V}_${FILE}.png" echo "${scad} - ${FILE}" start=`date +%s` - if [ "${SIZE}" -eq "100ft"]; then + if [[ "${SIZE}" == "100ft" ]]; then openscad -o "$stl" -D "PART=\"${FILE}\"" -D "FN=800" "${scad}" else openscad -o "$stl" -D "PART=\"${FILE}\"" -D "FN=600" "${scad}" @@ -52,7 +52,7 @@ do echo "Rendering image of ${stl}..." - if [ "${FILE}" -eq "spiral"]; then + if [[ "${FILE}" -eq "spiral" ]]; then tmp=`mktemp` fullPath=`realpath "${stl}"` data="import(\"${fullPath}\");"