Rendered spindles for the first time

This commit is contained in:
mmcwilliams 2020-08-19 08:41:26 -04:00
parent 7cc3d0a17c
commit 6d8666dbd5
10 changed files with 10 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View File

@ -15,6 +15,8 @@ include <./Triangles.scad>;
* metric_thread (diameter=10, pitch=1.5, thread_size = 1.6, length=LEN);
*/
FINE = 200;
OD = 10 + .5;
PITCH = 1.5;
THREAD = 1.6;

View File

@ -9,7 +9,9 @@ DIST=./stl
IMG=./img
NOTES=./notes/${V}.csv
FILES=( "spindle_top" "spindle_bottom" "spacer" "top" "spiral" "quarter_a" "quarter_b" "quarter_c" "quarter_d" "insert_s8" "insert_16" "spacer_16" )
#"quarter_a" "quarter_b" "quarter_c" "quarter_d"
#quarter pieces not rendering properly
FILES=( "spindle_bottom" "spindle_top" "spacer" "top" "spiral" "insert_s8" "insert_16" "spacer_16" )
SIZES=( "50ft" "100ft" )
mkdir -p $DIST
@ -40,9 +42,10 @@ do
end=`date +%s`
runtime=$((end-start))
hash=`sha256sum "$stl" | awk '{ print $1 }'`
fileSize=`wc -c < "$stl"`
fileSize=`echo $fileSize | xargs`
if ! [ -x "$(command -v admesh)" ]; then
facets="N/A"
volume="N/A"
@ -54,6 +57,7 @@ do
newSize=`wc -c < "$stl"`
newSize=`echo $newSize | xargs`
percent=`echo "scale=1;($newSize/$fileSize)*100" | bc`
fileSize="${newSize}"
echo "Binary conversion created STL file ${percent}% of original"
fi
ao=`admesh -c "$stl"`
@ -61,6 +65,8 @@ do
volume=`echo "$ao" | grep "Number of parts" | awk '{print $8}'`
fi
hash=`sha256sum "$stl" | awk '{ print $1 }'`
line="${VERSION},${CPU},$stl,$hash,$fileSize,$srchash,$srcsize,$facets,$volume,$runtime"
echo "$line" >> $NOTES
echo "$line"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.