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

21 views (last 30 days)
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?

Answers (1)

KSSV
KSSV on 14 May 2018
  3 Comments
KSSV
KSSV on 16 May 2018
Go to the link download the function.....read the help part of the file. It is a straight forward job. The function demands some inputs, you run the function with required inputs and you will get your .stl file.
Akshay Kumar Pakala
Akshay Kumar Pakala on 27 Mar 2022
Edited: Akshay Kumar Pakala on 27 Mar 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!