How to find minimum thickness of 3D .stl file ?

6 visualizaciones (últimos 30 días)
Teerapong Poltue
Teerapong Poltue el 4 de En. de 2021
Editada: Imran el 9 de Nov. de 2022
Now I got .stl file, and I imported to matlab via stlread function (https://www.mathworks.com/matlabcentral/fileexchange/22409-stl-file-reader).
So I've face, vertices and normal vector of my .stl file. How can I get thickness of each point of my .stl file ?
Or is there any alternative way for finding minimum thickness of .stl file.

Respuestas (1)

Imran
Imran el 9 de Nov. de 2022
Editada: Imran el 9 de Nov. de 2022
Hello Teerapong.
I understand that you've imported the .stl file in MATLAB and you want to get the thickness of each point in the .stl file.
In order to fetch the thickness of each point
1. Import the .stl using stlread function
TR = stlread('FILENAME');
2. Create and plot a triangulation object from the data contained in the .stl file. and store the line object.
h = triplot(TR)
3. There's one property called "MarkerSize" of the object. This property value will give you the thickness of points. Make sure the "Marker" property is not "none".
disp(h.MarkerSize)
I hope this help.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by