Grasshopper

algorithmic modeling for Rhino

It's my first post to this excellent forum. I'd like to thank all of you for your oustanding effort and the resulting help to me.

My question: I want to separate vectors out of "All vectors" which intersect (2, 3, 4, 5, 6) with the line and the ones which do not intersect (0, 1, 7). Intersect is done! But how to get the non intersecting vectors  (0, 1, 7)?

So I e. g. could deselect vectors 2, 3, 4, 5, 6 so I would display/use only vectors 0, 1, 7 and the bounced ones.

Appreciate your help!

Rudi

Views: 496

Attachments:

Replies to This Discussion

You count the number of intersections. If the number is zero, there were no intersections. Convert your count to booleans (0=false, everythingelse=true) and use it to cull the lines.

--

David Rutten

david@mcneel.com

Tirol, Austria

Thanks a lot for your fast help (as always)!!! List, sequence and tree elements are still difficult to use for me. Anyhow, I learned something again.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service