How do I create a 3D mesh?
24 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2016 年 2 月 3 日
編集済み: MathWorks Support Team
2018 年 9 月 6 日
I want to create a 3D mesh but "initmesh" only works for 2D data. How do I create a mesh from 3D data?
採用された回答
MathWorks Support Team
2018 年 9 月 6 日
Use the "generateMesh" function in the Partial Differential Equation Toolbox to generate a 3D mesh.
Refer to the following example that imports a 3D model, creates a mesh, and displays the mesh.
model = createpde;
importGeometry(model,'Torus.stl');
mesh = generateMesh(model);
[p,e,t] = meshToPet(mesh); %convert form of mesh
figure; pdemesh(mesh);
figure; pdemesh(p,e,t);
For more details refer to the following link:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Geometry and Mesh についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!