Browse Source

Create correct CSG folder before building. Do not commit csg files because they are intermediary? For now.

main
mmcwilliams 10 months ago
parent
commit
01106665d2
  1. 7
      scripts/v3.sh

7
scripts/v3.sh

@ -31,9 +31,10 @@ FILES=(
)
SIZES=( "50ft" "100ft" )
mkdir -p $DIST
mkdir -p "${DIST}"
if [ $STEP = true ]; then
mkdir -p $CSG
mkdir -p "${CSG}"
mkdir -p "${CSG}/${SIZE}_${V}/"
fi
render_part () {
@ -67,7 +68,7 @@ render_part () {
if [[ $firstline == solid* ]]; then
#convert from ascii to binary
tmpBinary=`mktemp`
admesh -c -b "$stl" "$tmpBinary"
admesh -c -b "$tmpBinary" "$stl"
newSize=`wc -c < "$tmpBinary"`
newSize=`echo $newSize | xargs`

Loading…
Cancel
Save