Intersect Multiple Surfaces - Clean up

Hi all, I am looking for a way to ‘clean up’ a set of overlapping curves (or surfaces):


My goal is to get this at every intersection of curves:

I’m getting somewhere using the script shared here:

But in the next step I need to pair curves with intersection regions, and decide which curve is trimmed an which curve not…
Surfaces_Intersection.3dm (2.6 MB)

Thanks a lot!

there’s a very interesting conversation (actually there are many, this is just one of those) related to celtic knots that have many curve bridge/intersection that I think might be very beneficial, for sure there’s something you can take from there: Celtic Knotwork self-intersections and intersections

generally speaking, if your surfaces are planar and have constant thickness (meaning they can be generated as a double offset of a central-axis curve, or as a section of a pipe) then it becomes much easier to work with those (see the following on how to get axis curve -assuming thickness is constant-)

multiple_curves_intersections.gh (21.9 KB)

in particular this single post from Martin, there’s a “before” and an “after” that post, be prepared, gamechanging stuff in there: Celtic Knotwork self-intersections and intersections - #53 by martinsiegrist

2 Likes

Interresting question to see if it can be solved with common components.
Question: How would you choose on what curves to trim and what not?
At random? Max number per curve? Left/right?
Because some decision has to be made there.

Only for the intersection, without the “Celtic” effect.
int.gh (27.4 KB)


Hi, thanks so much! Very interesting approaches, both for multiple curves and self-intersecting curves. Great material to study, too.

Thanks again!