I am trying to calculate the volume of an intersection in pymesh. From the MWE on the PyMesh website https://pymesh.readthedocs.io/en/latest/mesh_boolean.html, given intersection
, I would like to know how to calculate the volume?
I have tried accessing the list of attributes from https://pymesh.readthedocs.io/en/latest/basic.html?highlight=volume#mesh-data-structure, however the only attributes I have available are:
(Pdb) intersection.attribute_names
['source', 'source_face']
Does PyMesh have the ability to calculate the volume of this intersection (or any generic mesh for that matter)?