bitluni / OsciDisplay

31 stars 13 forks source link

No output from StlConverter.html #2

Closed aderusha closed 5 years ago

aderusha commented 5 years ago

I'm attempting to utilize the StlConverter.html as hosted at http://bitluni.net/wp-content/uploads/2017/12/StlConverter.html to convert an STL into a header usable with this project. I've attempted to upload a minimum-complexity STL which is a 10x10x10 cube, example here. Running this locally and attempting it against the hosted version linked above does not return a file. Tested on Windows 10 in Chrome 72.0.3626.121, IE 11.648.17134.0, and FireFox 65.0.2.

aderusha commented 5 years ago

After some digging around it appears that the readStl function only accepts binary STLs and fails when handed ASCII format STLs. Switching my STL to binary format has everything working as expected!