MATLAB Answers

Volume of stl files

79 views (last 30 days)
Memo Remo
Memo Remo on 6 Jun 2020
Commented: Memo Remo on 13 Jun 2020
Hi All,
I have an STL file that contains many many small sized particles. I am wondering if there is any way to calculate the total volume of the STL file without estimation (i.e., without using the alpha shape)? Is there any specific software that can do this?
The common software to read the STL file have a way to detect the connectivity of triangles in the STL file because they can show the particles separately. Is there any way to extract these connectivity in MATLAB?
Thanks.
  1 Comment
darova
darova on 13 Jun 2020
Can you show the data?

Sign in to comment.

Accepted Answer

KSSV
KSSV on 6 Jun 2020
You can read coordinates and nodalconnectivity from .stl file using stlread. To get the volume refer:
  1 Comment
Memo Remo
Memo Remo on 13 Jun 2020
Thanks a lot for your help. It was really hepful.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by