View Single Post
Old 10th July 2015, 04:34 AM   #3
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Mac crashes opening some STL files

The spec for STL files - e.g. see https://en.wikipedia.org/wiki/STL_%28file_format%29
states that all ASCII still files begin with the word "solid'.

Unfortunately, this binary STL file here has this word at the start of the file header, so AC3D thinks it's ASCII, therefore it's loaded as ASCII, causing the crash.

I'll look at further checks that could be added to the code but do you know where the STL file came from? It might be possible to change the header. If you changed it with a binary file editor (to anything other than "solid') it would load fine.
Andy is offline   Reply With Quote