A strange bug when subtracting

Hi friends
there is a strange bug when subtracting. anyone can solve it?
nassim.gh (22.9 KB)

I don’t think this is a bug. I think the problem is your geometry. Some of the corners of the hexagons are coincident.

  1. Joining the closed curves does nothing. Closed curves cannot be joined.

  2. Region Difference fails if the hexagons are touching. Offset the curves inwards a tiny bit or make them smaller from the beginning and Region Difference works fine.

  3. If the hexagons need to be exactly like this, you can split the rectangle surface with the 100 hexagons and then sort accoring to their area and extract the largest.

nassim.gh (32.9 KB)

thanks a lot @martinsiegrist

1 Like