Add stacking spindle to render script

This commit is contained in:
Matt McWilliams 2021-11-03 17:20:03 -04:00
parent 5e09bd394b
commit 62b0cae3bd
1 changed files with 5 additions and 4 deletions

View File

@ -14,7 +14,7 @@ DIST=./stl
CSG=./csg CSG=./csg
IMG=./img IMG=./img
NOTES=./notes/${V}.csv NOTES=./notes/${V}.csv
STEP=true STEP=false
LOGGING=true LOGGING=true
#"quarter_a" "quarter_b" "quarter_c" "quarter_d" #"quarter_a" "quarter_b" "quarter_c" "quarter_d"
@ -24,6 +24,7 @@ FILES=(
"spindle_bottom" "spindle_bottom"
"spindle_top" "spindle_top"
"spindle_single" "spindle_single"
"spindle_stacking"
"insert_s8" "insert_s8"
"insert_16" "insert_16"
"spacer" "spacer"
@ -118,9 +119,9 @@ render_part () {
fullPath=`realpath "${stl}"` fullPath=`realpath "${stl}"`
data="import(\"${fullPath}\");" data="import(\"${fullPath}\");"
echo data > "${tmp}.scad" echo data > "${tmp}.scad"
openscad -o "$png" --imgsize=2048,2048 --colorscheme=DeepOcean "${tmp}.scad" openscad -o "$png" --csglimit=2000000 --imgsize=2048,2048 --colorscheme=DeepOcean "${tmp}.scad"
else else
openscad -o "$png" --imgsize=2048,2048 --colorscheme=DeepOcean -D "PART=\"${FILE}\"" "${scad}" openscad -o "$png" --csglimit=1000000 --imgsize=2048,2048 --colorscheme=DeepOcean -D "PART=\"${FILE}\"" "${scad}"
fi fi
} }