Fix to STL binary reader

Apr 9, 2014 at 4: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...
Coordinator
Apr 29, 2014 at 9:29 AM
Can you provide an example StL file that fails?
Coordinator
Apr 29, 2014 at 9:32 AM
Submitted the change, but would still like to include unit tests for this issue.
May 1, 2014 at 6:38 PM
I have a sample STL file. How should I send it to you?
Coordinator
May 5, 2014 at 1: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.