How to Import vertexes and facet from a STL "ASCII" file ?

2 views (last 30 days)
I'm searching for a script witch I can import the vertexes coordinate and the facet form an STL ASCII file. The only one I find for ASCCI and not for binary import only the vertexes and thus It's difficult to draw the surface after it.
Can somebody help ?
  2 Comments
Geoff Hayes
Geoff Hayes on 7 Sep 2014
Have you seen Eric Trautmann's fast STL import from the MATLAB File Exchange? It seems to output more than just the vertex coordinates.
Pierrick Bersier
Pierrick Bersier on 1 Oct 2014
Yes I seen it. But I did not get it to run properly. I had an error every time I tried.

Sign in to comment.

Accepted Answer

Pierrick Bersier
Pierrick Bersier on 1 Oct 2014
Meanwhile I fine here a script that works directly for me:
It gives out the vertexes, the faces and the normals.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!