How can I combine multiple surf plots into 1 stl file?

7 ビュー (過去 30 日間)
Yuan
Yuan 2023 年 3 月 15 日
回答済み: DGM 2025 年 7 月 19 日
Let's say I have a rectangle box composed of 3 surf plots, the yellow top, a bottom face(hidden) and the four sides in purple. Is there a way to combine the 3 plots together into 1 .stl file?
Thanks.
  1 件のコメント
Claud
Claud 2023 年 4 月 1 日
Have you been able to solve this problem? I would also be interested in an answer.

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

回答 (2 件)

Animesh
Animesh 2023 年 4 月 3 日
Hi,

DGM
DGM 2025 年 7 月 19 日
You don't need surf2stl(). You already have surf2patch(), so just use it to get F,V data from your gridded data. Once you have F,V data, combine them and write it to an STL file. It's not necessary to use external software to combine anything.
See also:
Basic approach combining things the long way, with no duplicate pruning:
Simplified using convenience tools:

カテゴリ

Help Center および File ExchangeSTL (STereoLithography) についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by