Intersection BrepBrep does not work

Hello dear Grasshopper and Rhino users,

I have the run into following issues. There are two breps which are result of some previous workflow. My goal is to cut one of the brep with second one. Breps clearly intersect each other. If I perform cut it fails. Interesting thing is, even Intersection of both breps fails to provide me with correct result. I have tried to play with the tolerances, but without any success or change in the result.

Same problem have occurred in one of my previous workflows, but I was able to overcome it with different approach.

To be more clear.gh file with the geometry and intersection is in the attachments.

So my question to you guys is:

Do you know what is wrong? Is it just Rhino/Grasshoppe fail anything else is wrong. Both breps look correct.
Do anyone know how to fix it? Any tips are appreciated.

Thanks a lot for reply and your time.

Ondřej
CutAndIntersectionFail.gh (241.2 KB)

if I bake your cutting surface in Rhino I see this:

I don’t know how you got that surface, but I would try to regenerate and simplify it

for instance something on this flavor:

CutAndIntersectionFail._regh.gh (250.9 KB)

Thank you for your reply,

I have came to same conclusion. Cutting surface is created form curve (which is derived from triangulated surface) which is offset to bot sides and lofted. Offset creates a curves with discontinuous (wrong) curvature function. If I refit offset curves it works in same ways as your solution.

Anyway thank you for your reply.

Ondřej

1 Like