Cross-sections from multiple cutting planes

6 visualizaciones (últimos 30 días)
Devrim Tugberk
Devrim Tugberk el 18 de Jul. de 2019
Respondida: Sai Sri Pathuri el 6 de Ag. de 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

Respuestas (1)

Sai Sri Pathuri
Sai Sri Pathuri el 6 de Ag. de 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