Migrate all scad files to their own scad directory to make the root less messy. Might archive the 1-2-3 versions and properly use git for future versioning.

This commit is contained in:
mmcwilliams 2020-08-19 15:52:28 -04:00
parent 28c7ef1bb4
commit fa8c3de390
29 changed files with 5 additions and 5 deletions

View File

@ -17,15 +17,15 @@ for SIZE in "${SIZES[@]}"
do
:
mkdir -p "${DIST}/${SIZE}_v1"
srchash=`sha256sum "${SIZE}_v1/gnal_${SIZE}.scad" | awk '{ print $1 }'`
srcsize=`wc -c < "${SIZE}_v1/gnal_${SIZE}.scad"`
srchash=`sha256sum "./scad/${SIZE}_v1/gnal_${SIZE}.scad" | awk '{ print $1 }'`
srcsize=`wc -c < "./scad/${SIZE}_v1/gnal_${SIZE}.scad"`
srcsize=`echo $srcsize | xargs`
for FILE in "${FILES[@]}"
do
:
stl="${DIST}/${SIZE}_v1/gnal_${SIZE}_${FILE}.stl"
scad="${SIZE}_v1/${FILE}.scad"
scad="./scad/${SIZE}_v1/${FILE}.scad"
echo "$scad"
start=`date +%s`
openscad -o "$stl" "$scad"

View File

@ -20,7 +20,7 @@ for SIZE in "${SIZES[@]}"
do
:
mkdir -p "${DIST}/${SIZE}_${V}"
scad="${SIZE}_${V}/gnal_${SIZE}.scad"
scad="./scad/${SIZE}_${V}/gnal_${SIZE}.scad"
srchash=`sha256sum "${scad}" | awk '{ print $1 }'`
srcsize=`wc -c < "${scad}"`
srcsize=`echo $srcsize | xargs`

View File

@ -22,7 +22,7 @@ for SIZE in "${SIZES[@]}"
do
:
mkdir -p "${DIST}/${SIZE}_${V}"
scad="${SIZE}_${V}/gnal_${SIZE}.scad"
scad="./scad/${SIZE}_${V}/gnal_${SIZE}.scad"
srchash=`sha256sum "${scad}" | awk '{ print $1 }'`
srcsize=`wc -c < "${scad}"`
srcsize=`echo $srcsize | xargs`