Split Curve with Surfaces

Hi everyone,

I would like to split the curve with some surfaces but only keep the parts that are not interesecting with a surface.
The attached script works when the 2 surfaces are not in contact

split_curve_with_surface.gh (12.1 KB)
image
but it doesn’t work when if they are in contact.
image

Any idea how that can be fixed is really appreaciated.

Thanks!


split_curve_with_surface_re.gh (12.3 KB)

1 Like

split_curve_with_surface_ME.gh (8.8 KB)

2 Likes

Amazing!!
Thank you both @HS_Kim & @ME_Mark