Grasshopper

algorithmic modeling for Rhino

hi all,

i have a flattened list from 0 to 24.

with partition list i've created a list:

0, 1, 2, 3, 4

5, 6, 7, 8, 9

and so on until 24

i need now to create a new list with 5 partition divided as this:

0, 5, 10, 15, 20

1, 6, 11, 16, 21

2, 7, 12, 17, 22

3, 8, 13, 18, 23

4, 9, 14, 19, 24

and if i'm here is because i'm not able... :)

can you help me?

thank you

Views: 1353

Replies to This Discussion

Easiest way is using "Flip Matrix" component. Best.

I think you're better off stringing two Series components together. One which generates 0,1,2,3,4 and the other which takes those values as starting points and generates step=5 sequences.

What about using the remaining component

Attachments:

Oh.. I see. what you mean.

Attachments:

thank you all!

best, roy

Nice one Hyungsoo :)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service