algorithmic modeling for Rhino
Hi,
I have created 8 geometries that I wish to select based on small, med, large so I created volumes, sorted them, and created a remapped domain. I divided the domain into three chunks and with to use the chunks to select geometry. I can't figure out how to tie the domain values towards actually selecting geometry.
Thank you in advance as I am sure this is simple.
Tags:
Hello Erik
have you tried tab math/domain/includes component?
cheers
alex
Hey Alex thanks for your reply,
I am not very familiar with this component, but was looking at it. I am messing with it and running it into the cull pattern, but that seems to get rid of more geometry than I want. Is there something I am overlooking?
Thank you again.
forgot to plug in the geometry, but that still isn't working
let me get back at this a little later, if anyone has not helped in the meanwhile.
cheers
alex
Ok i assumed you want to access the shells that fall into each domain, right?
so graft is needed to test each remapped volume against the three domains provided. the includes component outputs a data tree with with 8 branches, each with 3 booleans. flip matrix is then used to have these booleans organized in 3 branches, of each domain, containing 8 booleans of each curve.
As always such great insight! Thank you again.
I am somewhat confused why each branch is being tested three times though. Would that not create three iterations on each branch?
I discussed with a professor and he showed me this option. Both of yours work, I just figured i would share another approach as they are both very interesting.
Thank you again,
Erik
Hello Erik
since the values input is grafted you have a data tree with 8 branches each containing 1 item. the domains are in a list with 3 items. so grasshoppers default data matching is longest list which will result in creating a check for each branch with one item to be 'matched' (in this case to see if it is included in the domain) with all three domains in the single list. so in the end you get a data tree with 8 branches (derived from the 8 grafted values) with 3 items in each branch, that are the check of each initial value with the 3 items domain list.
thank you for sharing the other option too!.
cheers
alex
Ahh thanks for the helpful explanation! This makes very much sense. A jedi master of data trees you are!
Thanks again!
Best,
Erik
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