Trim lines when crossing brep

Hello! I need some help, I have lines going straight down to the x-y plane and I need all the lines that intersect a brep to stop there and the other ones to keep how they are. Is this possible? Thank you in advance.

try the function ‘BCX’ (brep curve intersection), output are intersection points. you could choose to redraw your intersected lines from starting point to intersection point.

1 Like

this is a quick & dirty way to seperate intersecting and non-intersecting curves

1 Like

This one is an example using IsoVist Ray.

IsovistRay_demo_re.gh (14.0 KB)

2 Likes

Thank you, i didn’t think of that. I’ll try this out.

This worked perfectly using by breps in the obstacles instead of the starting surfaces, thank you very much.