how to save a PDE meshed stl to file

2 ビュー (過去 30 日間)
D KUSHAL KUMAR
D KUSHAL KUMAR 2019 年 11 月 30 日
回答済み: Rahul 2025 年 5 月 15 日
By using PDE Toolbox an STL file is meshed. can we save the meshed geometry to file format ?
  1 件のコメント
Claud
Claud 2023 年 4 月 18 日
I would also be interested in finding a solution to this problem.

サインインしてコメントする。

回答 (1 件)

Rahul
Rahul 2025 年 5 月 15 日
You can save the mesh obtained from an '.stl' file using the PDE toolbox in a text file using the following steps:
  • Create a PDE model using 'createpde' function.
  • Obtain the geometry into the model from the '.stl' file using 'importGeometry' function.
  • Generate the mesh using 'generateMesh' function.
  • Now after obtaining the mesh, we can obtain the 'Nodes' and 'Elements' and use the 'dlmwrite' or 'writematrix' function to save them individually in text files.
The following MathWorks documentations can be referred:
Thanks.

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by