Mesh Difference Issues: Cutting a Mesh with Another Mesh

Hi everyone,

I’m facing an issue while trying to use Mesh Difference to cut one mesh with another. The problem arises when some faces of the cutting mesh lie exactly on the surface of the target mesh. This seems to cause the operation to fail.

Interestingly, if I slightly move or scale the cutting mesh, the operation works as expected. However, I’d prefer not to resort to these adjustments, as they can compromise precision and the design intent.

I’ve read that such issues are common when dealing with mesh intersections, but after hours of trying, I haven’t been able to find a robust solution that doesn’t involve modifying the meshes.

Is there a way to resolve this without altering the meshes? Any insights, tips, or alternative approaches would be greatly appreciated!

Thanks in advance!

Example.gh (187.8 KB)

Hi Ilija -

That seems to be working fine here:

Which version of Rhino are you running and what are the document units and tolerances?
-wim

Hi Wim,

Thanks for checking!

Try setting the scale factor to 1.00 in the example. When you do that, the cutting mesh ends up with faces exactly overlapping the second mesh, and that’s when the operation fails. I realize I didn’t explain that part clearly earlier—sorry about that!

I’m using Rhino 7, with units set to meters and tolerances set to 0.01 for distance and 1° for angles in the document settings.

Hi Ilija -

Thanks. I’ve put this sample on the list for a closer look by the developer.
RH-84843 MeshBooleanDifference: Failure Sample
-wim

1 Like