algorithmic modeling for Rhino
Hi all,
I'm trying to sort out surfaces with distinctive number of vertices.
I have one way to do this in the attached definition, but I have a couple of questions for a potential enhancement.
1. How do you sort data trees with distinctive number of list items in each branch?
In this example, there are 161 branches with three distinctive number of list items, 3, 4, and 5. I want to know if there is another way to sort out this data tree into this way: 3 vertices {0;0}, {0;1}, {0;2],...4 vertices {1;0}, {1;1}, {1;2},... 5 vertices {2;0}, {2;1}, {2;2},...
2. Is there a way to sort our surfaces based on number of distinctive list items automatically? For example, if there are surfaces with 3, 4, 5, 6, and 7 vertices, I want to make five branches with the same number of vertices automatically.
I hope my questions make sense...
Thank you!
Dongyeop
Tags:
Thank you! You're always the first responding to my questions.
This works well and better than the solution I've been using.
Do you also know a way to explode a data tree dynamically? I couldn't find any solutions to this...
http://www.grasshopper3d.com/forum/topics/dynamic-explode-tree
It would be great, if I could get all the distinctive branches automatically instead of adding output nodes manually using the "Explode Tree" component.
I'm just adding a solution to sort out surfaces thanks to Hyungsoo's help for others.
Surfaces are sorted out in the order of number of vertices.
I just hope someone could add a way to explode the data tree dynamically in this definition...
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by