Bug Curve.CreateBooleanUnion

Hi all,

I think with the last Rhino 7 update a bug appeared that messed up a part of our plugin.

It seems Curve.CreateBooleanUnion would return an empty array if it can’t make a boolean action, but now, even if the curves are far apart, it will always return the last item in the array.

Example:
Curve.CreateBooleanUnion(new Curve{curve1, curve2}, 0.001)

Would always return curve2 even if no boolean action has occurred.

image

Hi @jordy1989,

Please provide geometry and code we can run here.

Thanks,

– Dale