I have exported surface meshes from ITK-snap and am trying to measure the cross-sectional area of an arbitrary slice. This is a surface mesh so there is no interior points, so when taking a slice only the external surface of the mesh remains, leaving a continuous boundary. Is there a way I can measure the area enclosed by the boundary?
When I apply the ‘IntegrateVariables’ filter and switch to CellData I am only given the length of the line that represents the boundary. The cross sections are arbitrarily shaped.
@frothiestbike I ended up exporting the 2D slices in an STL format and then writing a Matlab script to calculate the cross-sectional area. In my case, I was able to align the model so that the area calculations were a little easier. For a generic orientation, the Matlab script becomes more complex but still do able. Hope that helps!
Hello,
Is there any way you would share your Matlab script with me @Bears. I am trying to design a Matlab script that takes an STL file and takes 2d slices of it while calculating the cross-sectional area of each slice. I would then use the cross-sectional area to calculate the torsional rigidity of any STL file. Any help in how you wrote the Matlab script would be helpful.