Read a .stl in grasshopper

Here a STL reader that read both types of files. It opened all my STL. It open 200 Mo file in 4s.
Hope it is useful
Updated the 22/06/2019, some imporvements, I found on may hard disk others STL that didn’t work. ASCII files have often quite subtilities. For sure there could be some more robust way to handle that.
image
The file here try to put all the model on a square. It was useful for me to test the abilities of the tool.
STL_reader_LEGACY.gh (17.2 KB)
You can also open multiple file without problem. If you find a STL that didn’t work I will be curious to test it.

78 Meshes, 3.9 million of pixels , 24 second to open, no invalid mesh if “cure” set to true
image

7 Likes