How do I create a 3D mesh?
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 3 de Feb. de 2016
Editada: MathWorks Support Team
el 6 de Sept. de 2018
I want to create a 3D mesh but "initmesh" only works for 2D data. How do I create a mesh from 3D data?
Respuesta aceptada
MathWorks Support Team
el 6 de Sept. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Geometry and Mesh en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!