algorithmic modeling for Rhino
I have numerical data that represents the Z-coordinate of some (planar) curves. I want to create a tree based on those very numbers. All numbers (or preferably corresponding curves) with the same data should be sorted into the same tree branch.
Data list:
0
0
0 <- all these three 0's should be placed in a branch
3.2
3.2
3.2 <- all these three similar should be placed in another branch 5.6 5.6 <- these two should be placed in another branch 7.1 <- this one should be placed in another branch 8.2 8.2<- these two should be placed in another branch I have tried to turn them into integers, convert them to strings and concanating with {0; and } so that i get {0;0} {0;0} {0;0} {0;3} {0;3} {0;3} {0;5} ... but the create branch does not accept this input. Can anyone come up with a solution? Thanks for your help!
Tags:
Btw, the create branch only accepts numbers without curly brackets. But that doesn't help much anyway.
Thanks, I just tried solving it with the Create Set, but you were much faster!
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