Grasshopper

algorithmic modeling for Rhino

hi all, i am trying to use hoopsnake for a script to create a loop, but i do not understand where am i going wrong, can you plz have a look and help me out.

I basically want to create a loop of lines from a point cloud, Its like first point selects 4 closest points, then creates a line with the point which is farthest among those 4 points, now the farthest point again acts as a start point and does the same ahead and eventually creates a chain.

I have attached gh and rhino files, will be really helpful if someone can have a look.

Thanks

Hoopsnake1.3dm

HS_1stpart.gh

Views: 754

Replies to This Discussion

This is probably how you would like it to work.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service