algorithmic modeling for Rhino
Hi,
heres my issue. i have a tree that's, let's say, 5 elements long (i don't know what the proper term is for a tree item).
within each of these 5 elements is a list of lines that has three indicies. what i want to do is create a loft between the lines at the common indice between each element. so if the original tree looks like this
{0}
0 line
1 line
2 line
{1}
0 line
1 line
2 line
.... and so on
all the "0 line(s)" would loft together, as would the "1 line(s)" to each other... and so on.
i need a way to do this dynamically in the case that the list length goes from 3 indicies to, say, 8 indicies...
any ideas?
M
Tags:
flip is the trick
Best regards
DeDackel
Flip Matrix component on the Sets Tab > Tree Panel will "flip the rows to columns and the columns to rows"
Correct Terminology for Data Trees in Grasshopper according to.... me:
Trees have Branches of Data. The Data can be Single Items or Lists of Items. Your example above is a Tree with 2 Branches of 6 Items. Each Branch is a List of 3 Lines. using the Flip Matrix component will result in a Tree with 3 Branches of 6 Items. Each Branch would be a List of 2 Lines.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by