algorithmic modeling for Rhino
Hello everybody!
I use grasshopper since 2010 everyday at the academy and at the practice i work for.
I never understood an important detail on branching logic and i think it's time to solve it.
As the image shows, the point at branch {0} match the points at branch {0;0} and the point at branch {1} match the branch {0;1}.
so:
{0}->{0;0}
{1}->{0;1}
{2}->{0;2}
{3}->{1;0}
...
ok, it means that it respects the order of the branches ignoring hirearchy. for me, this makes more sense:
{0}->{0;0}
{0}->{0;1}
{0}->{0;2}
{1}->{1;0}
{1}->{1;1}
{1}->{1;2}
How can I make it work this way?
Thank you so much!
Tags:
Hi Victor,
you are correct in thinking that the actual values of branches don't matter, they are simply matched one to one in order. This is something that needs more functionality in the future but I haven't yet figured out how to add this functionality without it being an expert-user thing only.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
David is this classic "Long list" data matching?
everything matching items in lists are longest list unless you change it
http://www.grasshopper3d.com/forum/topics/controlling-longest-list-...
*djordge, what David said is what i meant with replacement without having the proper terminology.
Nope, Longest List has to do with matching individual items inside lists. Whereas here we are talking about which lists get lined up. Though the way in which lists get lined up is similar to Longest List matching. There has never been an alternative in Grasshopper though, this behaviour has been there since DataTrees were first introduced.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Thank you for the replies.
Does "lists get lined up" mean: matching lists?
Yes.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
good to know.
usually datatree is the most difficult part to teach and learn. I always spend as time as needed on it, otherwise anything else makes sense.
and it's the most powerful element on grasshopper.
yeah, this is how usually I solve it. And since now it worked fine to me.
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
Switch to the Mobile Optimized View
© 2024 Created by Scott Davidson. Powered by