Grasshopper

algorithmic modeling for Rhino

DataPaths: Just when I thought I had them figured

Hi,

I just have what is likely to be a really simple data path problem. I'm pretty experienced with multi-dimensional arrays in a conceptual sense, but can't seem to figure out how to get grasshopper to perform the kind of merge I want. Basically:

I have a series of three integers, each representing a radius measure:
Radii[0-2]

I have a three sets of series of 3Dpoints, each set with ~100-400 vals:
PListOne[0-333]
PListTwo[0-333]
PListThree[0-333]

I want to link the data paths up so that the Radii form the first dimension of the array, and that the second dimension is the corresponding points set. So 

Radii[0] = 500 (the radius)
Radii[0][0] = 50,75,0 (the first point in PListOne)
...
Radii[2][99] = 44,66,0 (the 100th point in PListThree)

This should be really simple, but I cant seem tog et my head around the right components to do it. I've attached a file with number series in place of the radii/points lists. If someone could show me how to merge the components in the manner above, it would be extremely appreciated.

Views: 134

Attachments:

Replies to This Discussion

Hi Jake

Maybe you like my proposal. Otherwise try with .net scriptable components.

Good luck

Renzo
Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service