Dispatching lines intersecting a curve


I have a series of lines that may intersect a rectangle. I want to remove those that do, and keep the lines that do not. My model is the following, but it doesn’t work and I cannot get my head around why.


forum.gh (11.2 KB)

OK. Looks like I could figure out what to do, but not sure why it is correct! Just a panel between the distance output and the equality input is needed. forum.gh (11.4 KB)

Hi Sardar,

you didn’t internalise your geometry (you can do this by right clicking on the curve component an click “internalise data”).

Attached you find my approach, hope it helps :slight_smile:
forum_re.gh (6.1 KB)

That’s great. I actually learned how to use the expression component for if too. Thanks Daniel

No quotation marks should work!