How do I create a 3D mesh?
20 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 3 Feb. 2016
Bearbeitet: MathWorks Support Team
am 6 Sep. 2018
I want to create a 3D mesh but "initmesh" only works for 2D data. How do I create a mesh from 3D data?
Akzeptierte Antwort
MathWorks Support Team
am 6 Sep. 2018
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geometry and Mesh finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!