How to export patch object to .ply or STL file?

10 Ansichten (letzte 30 Tage)
sana3 sal
sana3 sal am 14 Mai 2018
Bearbeitet: DGM am 15 Jul. 2025
Hello, I have a patch object that resulted from the isosurface/isocaps functions,exactly like this tutorial: https://www.mathworks.com/help/matlab/visualize/techniques-for-visualizing-scalar-volume-data.html and I need to export the patch polygon into a .ply or .STL file? how I can do this? do I have to convert the patch polygon into points of cloud set? and how I could do so?

Antworten (1)

KSSV
KSSV am 14 Mai 2018
  4 Kommentare
Akshay Kumar Pakala
Akshay Kumar Pakala am 27 Mär. 2022
Bearbeitet: Akshay Kumar Pakala am 27 Mär. 2022
May i know how to make the stlwrite function work if my traingulated patch is a cell of n rows and 2 colums. Basically I have n polygons inside the triangulated patch and would like to convert al of them to stl in one file.
DGM
DGM am 15 Jul. 2025
Bearbeitet: DGM am 15 Jul. 2025
Since R2018b, MATLAB has built in STL tools stlread() and stlwrite(). Third party tools aren't needed, they have different behavior, and are likely to cause name conflicts.
For multiple objects in a single STL:

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by