I have a set of mesh pipes (generated with
NGonGh.MeshPipe) that are mostly inside another mesh volume. Within a Grasshopper Python node I try to calculate the intersection (
NGonGh.MeshBoolean([pipe, clippingVolume], 2, False)) of each pipe-object from (B) with mesh (A), to clip the pipes to the extent of A.
The result is shown in C. For most pipes the operation works as expected, but some pipes are completely missing after the intersection operation. The Python Node shows the following warnings:
- NGonGh.MeshBoolean: solver component. error: Solution exception:Eine externe Komponente hat eine Ausnahme ausgelöst. (Translation of german part: An external component raised an exeption)
- NGonGh.MeshBoolean: solver component. error: Solution exception:Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. (Translation of german part: The object reference has not been set to an object instance)
If I set the
LIBGAL or CGAL option of MeshBoolean to True, the results are a little better sometimes, but there are also pipes missing and the process is very slow (multiple minutes for the data shown).
All the meshes are closed and valid to my knowledge.
The Volume-Mesh and the grouped pipes are attached.
Is there something wrong with my data, or anything I can do to make the boolean operation work more predictable / robust?
data.3dm (1.1 MB)