Split lines with infinite plane

Hi,
I have generated some lines in grasshopper, and I would like to split them with an infinite plane xy. There is a split plane ‘command’ that works for mesh, but I don’t find one for lines. I made an exemple with a line and a plane to show what I mean, in the example with the surface it works, but I need an infinite one…
split lines.gh (4.5 KB)
split lines.3dm (2.5 MB)
Someone knows how to do this? Thanks! :slight_smile:

This could be one way…

split lines_re.gh (10.3 KB)

@HS_Kim Great! That was what I was looking for! Thanks. Is there a way to select the lines under the plane to throw them away after the split?

Check this as well…

split lines_reV2.gh (11.3 KB)

1 Like

Thats working perfect on my model! Thanks for the time :slight_smile:

Or use the Line / Plane Intersection component along with Shatter:

Note that converting the split curves back to lines will reparameterize their domains (in case this is important later)

@qythium Oké, thanks, I try that out :slight_smile: