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:
parent
28c7ef1bb4
commit
fa8c3de390
|
@ -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"
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue