Grasshopper

algorithmic modeling for Rhino

Hi, all

I have group of points and some curves, I want to find the curves connected to points. For example, as shown in the figure, if I want to get the curves connected to the green sphere. Is there any wany to do this? I tried to use the end points of curve which has 0 distance with the green points, but it seems not working. Thanks!

Views: 708

Attachments:

Replies to This Discussion

You need to check both start and end points, and then combine the result of the check with an "OR" logic operator. Also, you might want to check the distance not as equal to zero, but as smaller than a small amount (TOLERANCE in the file).Have alook at the file attached.

Attachments:

Hi,Andrea. It works. really great! Thanks so much~

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service