Cross-sections from multiple cutting planes

12 vues (au cours des 30 derniers jours)
Devrim Tugberk
Devrim Tugberk le 18 Juil 2019
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

Réponses (1)

Sai Sri Pathuri
Sai Sri Pathuri le 6 Août 2019
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.

Community Treasure Hunt

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

Start Hunting!

Translated by