Fix to STL binary reader

Apr 9, 2014 at 3:17 PM
Change line 506 and 507 to:

this.Header = System.Text.ASCIIEncoding.ASCII.GetString(reader.ReadBytes(80)).Trim();

ReadChars(80) doesn't work in a binary file with nulls, etc...
Apr 29, 2014 at 8:29 AM
Can you provide an example StL file that fails?
Apr 29, 2014 at 8:32 AM
Submitted the change, but would still like to include unit tests for this issue.
May 1, 2014 at 5:38 PM
I have a sample STL file. How should I send it to you?
May 5, 2014 at 12:56 PM
Alt 1. Create a fork, add the example STL file to ~/Models/stl and make a pull request.
Alt 2. Make the file available for download somewhere. Dropbox, OneDrive, etc.