Cross-sections from multiple cutting planes

6 ビュー (過去 30 日間)
Devrim Tugberk
Devrim Tugberk 2019 年 7 月 18 日
回答済み: Sai Sri Pathuri 2019 年 8 月 6 日
Dear Matlab community,
I am curious to wether a script can be generated in order to obtain cross-sections of a surface (.stl) using a different cutting plane for each cross sections. For example, cross_section_1 will have a cutting plane (equation) and cross_section_2 will have a different cutting plane and the idea will be to generate a set of cross-sections going all through the surface (.stl) using a set of cutting plane equations.
I am attaching an example of what my surface looks like.
Thank you so much,
-Dev

回答 (1 件)

Sai Sri Pathuri
Sai Sri Pathuri 2019 年 8 月 6 日
You may plot cross sections with different cutting planes. Refer the following example.
Repeat the above snippet of code for different cutting planes. To plot all cross sections in a single figure, set hold property of axes to ON.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by