convert binary number to hexadecimal #
printf '0x%08x\n' "$((2#10000))"
Create a preview png for every stl in a folder #
for f in \*.stl; do stl2thumbnail ${f%%.\*}.stl ${f%%.*}.png -s 800; done
printf '0x%08x\n' "$((2#10000))"
for f in \*.stl; do stl2thumbnail ${f%%.\*}.stl ${f%%.*}.png -s 800; done