Open GoogleCodeExporter opened 8 years ago
Hmm. I just stepped through the parseStl() function to try to understand why
the onload callback I'd added wasn't firing for large files. The function is
returning at the if(reader.size() < expectedLen) test. I'm not sure yet why the
files aren't being completely read into memory. They are hitting the server in
complete form.
Original comment by liav.ko...@gmail.com
on 1 Oct 2013 at 9:18
Okay, I figured it out. I was using the FileReader.readAsText() function to
read in the data. Should have been using FileReader.readAsBinaryString(). It
works now!! :)
Original comment by liav.ko...@gmail.com
on 1 Oct 2013 at 11:29
I think you get it. FileReader.prototype.readAsText() does not produce correct
result for binary STL files.
Original comment by Humu2...@gmail.com
on 2 Oct 2013 at 3:51
Original issue reported on code.google.com by
liav.ko...@gmail.com
on 1 Oct 2013 at 8:38