algorithmic modeling for Rhino
Hi all,
I wish to cull a list of co-ordinates according to a number of cull patterns. The cull pattern tree (from excel) has branches with the same length as the co-ordinates list. Is there any way to run every branch of the cull pattern on the co-ordinate list without having to explode the culling tree and handle each branch seperately?
To illustrate in a simplified case; I have 5 co-ordinates and 10 culling patterns. I wish to retrieve a tree with a culled co-ordinate list in each branch (i.e 10 branches with 5 items each). As seen below, this works for the first branch, after which co-ordinates {5;0} are repeatedly culled for each pattern. Not ideal. Does anybody know if and how this can be solved?
Cheers!
Tags:
I'm not sure I understand how you want to relate your cull pattern with your coordinates.
If applied correctly, your patterns should get you a tree with 3 points in the first branch, 2 in the second, 2 in the third,... according to the number of 1 you have in your pattern branch. You cannot get 10 branches with 5 points in each as you described.
To apply your patterns correctly you need to :
- not graft the P input of the Cull Pattern component
- flatten the L input.
See the image below.
Is this what you're looking to achieve ?
Wow, when you look everywhere but right infront of you.. Thank you so much!!
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
© 2024 Created by Scott Davidson. Powered by