필터 지우기
필터 지우기

How to read 3D mesh STL file

조회 수: 7 (최근 30일)
Muhammad Adil
Muhammad Adil 2019년 10월 22일
댓글: Aldo Caraceto 2020년 5월 15일
Hello Everyone,
I created a 3D model in Solidworks and improt this model into Netgen mesh generator to creat a 3D volume mesh.
And now I am trying to import and read that 3D volum mesh into MATLAB. I want to extract the vertices and elements of the mesh.
Please help me to read the .stl file and then extract the vertices and elements.
Thanks
  댓글 수: 2
karim botros
karim botros 2020년 2월 28일
편집: karim botros 2020년 2월 28일
Can you explain more? what have you tried and what doesn't work?
you can try to import stl mesh to matlab by
fv = stlread ( 'femur.stl' );
source:
https://fr.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader
Aldo Caraceto
Aldo Caraceto 2020년 5월 15일
I believe you should use importGeometry from Partial Differential Equation Toolbox.
Some examples are available here: https://www.mathworks.com/help/releases/R2020a/pde/ug/stl-file-import.html
Best,
Aldo

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 STL (STereoLithography)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by