Grasshopper

algorithmic modeling for Rhino

I have, currently, a list of multiple lists of points across curves.  That's a bit confusing, let me see if i can explain it differently:

List of curves [ (list of points on curve A)

                     (list of points on curve B)

                     ....

                     (list of points on curve X)]

Is there any way to create a new list of lists from individual indices of these lists? IE can I extract all list items at index 0 on each list and put them into a new list.  Then do the same for index 1, 2, 3, 4, etc?

I've tried a few clunky solutions but right now I'm just throwing stuff at the wall to see what sticks. 

Views: 246

Replies to This Discussion

you essentialy have a matrix with curve a...x as row and points 0,1... in columns. you want wo switch rows for columns. FlipMatrix is what you need

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