[F,V,N] coordinates to a 3D model

4 views (last 30 days)
Hello,
I am new in MATLAB so I would greatly appreciate your help.
I would like to generate a 3D model using coordinates I got from my stl file. However, sizes of faces, verticies, and normal vectors are not equal.
In this case, how can I generate a 3d model using these coordinates?

Accepted Answer

Cris LaPierre
Cris LaPierre on 4 Apr 2019
The easiest way is to use stlread and trimesh
data = stlread('model.stl');
trimesh(data,'FaceColor','none','EdgeColor','k');
Faces, vertices and nodes should not be the same size. If it helps, see this post as well.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!