algorithmic modeling for Rhino
I have a list with even number of values in it.
I would like to graft that list, but in a way that every 2 branches were "put" on a separate branch.
For example:
input list
{0}
a
b
c
d
e
f
g
h
output list
{0;0}
a
b
{0;1}
c
d
{0;2}
e
f
{0;3}
g
h
Is that possible?
Thank you.
Tags:
http://www.grasshopper3d.com/forum/topics/path-mapper-help-1
{A;B} (i) -> {i\2}
Best Regards
DeDackel
Thank you DeDackel.
I was not aware of neither that component nor that topic.
I can see this path mapper is pretty powerful tool.
Partition List component with the value of 2 in the S input.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Thank you for the reply David.
That "Partition List" component is available in 0.9+ version?
I am still using 0.8.0066 version. I read some text in here, if I recall it correctly about pro's and con's and got scared by the 0.9+ version. I do not know if that will be completely different from what I started to learn about grasshopper until now (<0.9)
?
I say update, got to learn whats going to be the new standard, not the past :)
Probably I will.
It's just fresh start still scares me.
well in the case of more than 2, with no path mapper or partition then I would probably either use cull nth + weaves or a way similar to this. Partition is really the best though.
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