-
|
Hello MeshLib Team, I am working with two meshes: one watertight and one non-watertight, and I’m attempting to apply Meshlib.BooleanOperation.DifferenceAB. The operation returns 0, which I suspect is due to the non-watertight input mesh. Is there a recommended MeshLib workflow or function for ensuring watertightness prior to performing boolean operations? Any guidance would be appreciated. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello! You can check if your mesh is watertight with such call: mesh.topology.isClosed()Empty mesh can be returned if mesh A is fully "inside" in mesh b (determining "inside" may fail if meshes have self-intersections or they are not closed). If you could provide the meshes we will investigate it. |
Beta Was this translation helpful? Give feedback.
Hello!
You can check if your mesh is watertight with such call:
https://meshlib.io/documentation/Py/classmrmeshpy_1_1MeshTopology.html#af715fc18035b03fc69e26046c5622cff
Empty mesh can be returned if mesh A is fully "inside" in mesh b (determining "inside" may fail if meshes have self-intersections or they are not closed). If you could provide the meshes we will investigate it.