I got an error when trying to run pymesh.boolean function inside a loop. I have a loop with pymesh meshes and boolean union operation inside. The error occurs in pymesh/boolean.py in engine.compute_union() and causes a MemoryError: std::bad_alloc
result = pymesh.boolean(meshes[0], meshes[1], "union")
for mesh in meshes:
result = pymesh.boolean(final_mesh, mesh, "union")
Installed pymesh from https://hub.docker.com/r/pymesh/pymesh
Thanks in advance for any help!