Black Lives Matter. Please consider donating to Black Girls Code today.

Mesh3d: extracting the volume of the alpha-shape?

Hi all, I’m a new user of plotly, and I am playing with the mesh3d alpha shapes. Does anyone know how to calculate meaningful data from mesh3d? For instance, I’m interested in calculating the volume of the alpha-shape that is generated, but I can’t seem to figure out how to extract such information (compared to scipy’s ConvexHull for example). Thank’s for any help you can offer!

@exogal51 Theoretically the volume of a 3d alpha-shape is the sum of its cell volumes. Unfortunately we cannot access these cells via mesh3d. The subjacent algorithm computes the alpha-shape from given data points and plot it, but it doesn’t return the vertex indices for each cell.

1 Like

That’s a shame, thanks for your answer anyway. Back to finding some alternative…