algorithmic modeling for Rhino
If you can always guarantee the order of the lists (longest first) it's very easy. You can achieve it with two components Merge (Inputs Grafted) and Flip Matrix. But if the Inputs will always vary in length with no control over the order then you need to have a system that pads out the shorter lists to the same length as the longest and then after the graft/merge/flip you shift them back to the original length.
here's one way:
EDIT:
BTW you can also use a flatten component to set the Path of each list. eg. P = {1}
interesting way of forcing it to use flip matrix (which would work easily if the liste lenghts were equal)
to chris:
although i hope not, this probably is the easiest way around
here is one way i thought of in the meantime:
maybe David would make a component that would do this (or maybe it could be an option on the merge component). seems like something you run across fairly often
thanks for your inputs!
(if anyone has a better idea, please do share!)
very interesting workaround!
AND NOW WE HAVE ENTWINE... :)
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