Azzera filtri
Azzera filtri

Cross sections of 3D surface (stl)

32 visualizzazioni (ultimi 30 giorni)
Devrim Tugberk
Devrim Tugberk il 17 Lug 2019
Risposto: Sai Sri Pathuri il 6 Ago 2019
Dear Matlab community,
I am working towards a project and one of my tasks is to generate 0.3mm increment cross-sections of an STL file. The delicate part of the process is that I generated cross-sections to similar STL files using a different software (VMTK) but due to the limitations of that software i now need to refer to matlab.
My Question:
Is there a way where I can generate a script which enables me to get cross sections of my STL in 0.3mm increments AND using a pre-determined cutting plane? In other words, I would like to use the same cutting plane as used in VMTK to generate these new cross-sections using MATLAB (for consistency).
Please provide me with some help or guiadance.
I thank you for your time,
-Dev.
  3 Commenti
Devrim Tugberk
Devrim Tugberk il 18 Lug 2019
Modificato: Devrim Tugberk il 18 Lug 2019
thank you! Although i want to say that this geometry will be changing since i am working with several different files.
Devrim Tugberk
Devrim Tugberk il 22 Lug 2019
Any ideas? updates?

Accedi per commentare.

Risposte (1)

Sai Sri Pathuri
Sai Sri Pathuri il 6 Ago 2019
You may use interp2 function in loop to plot the cross sections of the 3D surface in 0.3mm increments. Set hold to ‘ON’ for axes object.
You may refer the related answer
Refer the following link for documentation of interp2

Community Treasure Hunt

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

Start Hunting!

Translated by