Is there any way I can access all the surface coordinates of an imported .stl file?

15 次查看(过去 30 天)
I would like to see all the surface values of my imported 3d model, like the ones displayed on the left.

回答(1 个)

KSSV
KSSV 2021-6-9
gm = importGeometry(myfile);
gm
Check the LHS gm it has all the data you want.
  5 个评论
Seb
Seb 2021-6-9
data = stlread('HalbeKugel.stl');
s=trisurf(data,'FaceColor','none','EdgeColor','k')
axis equal
s.Vertices
x=s.Vertices(:,1)
y=s.Vertices(:,2)
z=s.Vertices(:,3)
I managed to get the coordinates. The goal is to determine the surfaces characteristics, e.g. the slope.
Thanks for the help so far.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by