algorithmic modeling for Rhino
Hello. I'm trying to group a bunch of points in different groups, but mantaining their tree-branch structure. For example, if I have the following points:
0. a
1. b
2. c
3. d
4. e
5. f
I want to group them in two different group of points, but mantaining their structure, because first I need to move them in different ways and later group them again to create lines between them:
0. null 0. a
1. b 1. null
2. c 2. null
3. null 3. d
4. null 4. e
5. f 5. null
Thank you
Tags:
Graft the data as well as the pattern such that all branches are {n=1} , then Dispatch. You end up with two lists with a bunch of empty branches instead of nulls. Afterwards all you have to do is simply Merge. (and then Flatten or Trim Tree or wtv to go back to the normal structure)
(bottom definition)
Couldn't open your gh def as I'm missing a couple of plugins. Hopefully this generic solution helps.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by