我试着在pymesh中计算一个交叉口的体积。从PyMesh网站https://pymesh.readthedocs.io/en/latest/mesh_boolean.html上的MWE看,给定intersection,我想知道如何计算体积?
我尝试从https://pymesh.readthedocs.io/en/latest/basic.html?highlight=volume#mesh-data-structure访问属性列表,但是我唯一可用的属性是:
(Pdb) intersection.attribute_names
['source', 'source_face']PyMesh有能力计算这个交集的体积(或者任何一般的网格)吗?
发布于 2022-02-25 04:21:11
只要使用intersection.volume,它对我是有效的。
https://stackoverflow.com/questions/63654159
复制相似问题