Grasshopper

algorithmic modeling for Rhino

I am working on some data grouping these days and come up with a problem that stops me...

 

I have 2 group of data that I need to merge with.

group 1:

 

{1;0} (N=61) - A

{1;1} (N=61) - B

{1;2} (N=61) - C

{2;0} (N=61) - D

{2;1} (N=60) - E

{2;2} (N=61) - F

 

group 2:

{0;0} (N=10) - U

{0;1} (N=10) - V

{0;2} (N=10) - W

{0;3} (N=10) - X

{0;4} (N=10) - Y

{0;5} (N=10) - Z

 

the idea case is I can merge those date sets in a pattern of A-U-B-V-C-W-D-X-E-Y-F-Z...so on

therefore I am thinking how could I modify the path on group 2 and make them becomes things like:

 

{0;0} (N=10) - U

{0;1} (N=10) - V

{0;2} (N=10) - W

{1;0} (N=10) - X

{1;1} (N=10) - Y

{1;2} (N=10) - Z

 

but I have no idea how could I modify the path in that way....

can anyone show me how to?

Views: 163

Replies to This Discussion

here it is!

i want to make this script more generally usable, i'm working on it, for now it may work in your situation.
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