Grasshopper

algorithmic modeling for Rhino

I have a 1 branch list of items

I need to sort them that every X let's say 4 items it puts them in new branch

so:

 

{0} 

1

2

3

4

5

6

7

8

9

10

11

BECOMES:


{0}

1

2

3

4

{1}

5

6

7

8

{2}

9

10

11

etc...

the number of items and X is NOT constant

any help?

Views: 720

Replies to This Discussion

I think this is still the way of doing it that uses fewer components, not sure. You can also use the replace branches component.

works, thanks.

If it's static, use the path mapper.

I personally prefer the Replace Branches method Vicente mentions.

So both take 5 components, I guess I counted grafting the data as a component.

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