Exporting mesh generated by MATLAB to ASCII file?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have generated a 3D mesh from a STL file using the PDE toolbox. How can I extract the mesh in terms of numerical outputs in an ASCII file?
Here's the code:
importGeometry(model,'cad.stl');
generateMesh(model, 'Hmax',5);
figure
pdeplot3D(model)
0 Kommentare
Akzeptierte Antwort
KSSV
am 8 Okt. 2021
Have a look on the model.
model.Mesh
In the above you have elements as well as nodal connectivity. You can pick from there and use fprintf to write into ascii file.
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!