Grasshopper

algorithmic modeling for Rhino

I am looking to wrap a line around a group of points, sometimes the group splits into two separate groups, I would like to be able to wrap a line around the groups separately  any ideas? I have been able to wrap it with an interpolate curve, but I have not been able to solve what happens if it group splits into two separate groups. I am looking to have more control over the line rather than the wavy interpolate curve. 

Views: 468

Attachments:

Replies to This Discussion

I guess there would be a code way to analyse each point in order for neighbourly-ness e.g.

choose point 1 and point 2

if 2 point dist < width parameter then assign both points = set a else point 1 = set a point 2 = set b

compare distance of point 3 to the area that is set a, if distance < width parameter then point 3 = member of set a

...

Not sure totally how to code that.. but something along those lines correct?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service