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

11 ビュー (過去 30 日間)
sana3 sal
sana3 sal 2018 年 5 月 14 日
編集済み: DGM 2025 年 7 月 15 日
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?

回答 (1 件)

KSSV
KSSV 2018 年 5 月 14 日
  4 件のコメント
Akshay Kumar Pakala
Akshay Kumar Pakala 2022 年 3 月 27 日
編集済み: Akshay Kumar Pakala 2022 年 3 月 27 日
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 2025 年 7 月 15 日
編集済み: DGM 2025 年 7 月 15 日
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:

サインインしてコメントする。

カテゴリ

Help Center および File ExchangePolygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by