尝试在循环中运行pymesh.boolean函数时出现错误。我有一个循环,里面有 pymesh 网格和布尔联合操作。错误发生在engine.compute_union()的pymesh/boolean.py中并导致MemoryError: std::bad_alloc
result = pymesh.boolean(meshes[0], meshes[1], "union")
for mesh in meshes:
result = pymesh.boolean(final_mesh, mesh, "union")
从https://hub.docker.com/r/pymesh/pymesh安装 pymesh
提前感谢您的帮助!