Now ready to render

This commit is contained in:
mmcwilliams 2020-05-29 10:27:12 -04:00
parent 82fa532c1c
commit 0a57c89f2f
1 changed files with 2 additions and 2 deletions

View File

@ -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}\");"