Grasshopper

algorithmic modeling for Rhino

Hi, 

I want to group groups of curves if they have their starting points at a distance under a certain threshold. I put the distance condition, but i dont't know how to `talk` to the groups of curves.

I want for example to group groups:

4,3,5 in branch 1;

6,10 in branch 2;

1,2,9 in branch 3;

8.11 in branch 4;

7 in branch 5;

Thank you.

 

Views: 346

Attachments:

Replies to This Discussion

I think this is what you're after?

The main idea is to merge nearby start points (of the original curves) using [Cull Duplicates], then for each arrayed curve figure out which of those anchor points is the closest, and using that index as the new location within the tree.

Attachments:

Thank you so much, 

that's exactly what I was looking for. I still need to figure out however how the Replace paths component works. 

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