Create/Export .stl file from a mesh
古いコメントを表示
Hello,
I have created a model and used generateMesh function that created a mesh and stored it to a model object.
smodel = createpde('structural', 'static-solid');
importGeometry(smodel, 'SquareBeam.STL');
msh = generateMesh(smodel, 'GeometricOrder','linear','Hmin',50);
pdemesh(msh);
Now, I'd like to write this structure to a stl file. I have found stlWrite function in the File Exchange but this function takes faces and vertices as input parameters.
https://www.mathworks.com/matlabcentral/fileexchange/20922-stlwrite-write-ascii-or-binary-stl-files
Is there any way I can extract this data from msh object created in the code above?
Thank you.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Bounding Regions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



