algorithmic modeling for Rhino
Hi everyone,
I've used a Elk to get a rough topography (SRTM data attached). What I want to do is sample a group of points that fall within a certain range of Z values (the actual range doesn't matter at the moment, the numbers can be variables). I've tried a few culling options and partitioning the list but I'm not exactly sure how to get the result I want. The output (as displayed in the panel) seems to be sorted following a structured logic despite flattening the point list. Any guidance would be greatly appreciated (still kind of a beginner), thanks guys!
Tags:
Hi Jesus,
Thank you for your prompt response. Yes, this is exactly what I am looking for. I understood most of your script however when I tried applying the same logic to mine I didn't get similar results (because the entire definition failed).
This is mostly because I have a different data tree structure to yours (15 branches with 21 points in each branch). I've been able to extract points from these branches but I can't seem to find an efficient way to decompose each point into its respective XYZ coordinates (keeping in mind I have a total of 315 points). If you could part any wisdom on this issue it would be much appreciated. Thanks once again.
I think that is because I used the bang component. You should use the point decomponse component.
It's another matter if you want each branch culled at different values. In that case just graf the inputs, but it's a bit tedious to have a gene pool (set of sliders) with a slider for each branch. Maybe a rule or condition of some sort is better.
Apologies for the late reply. Got it working yesterday this definition made more sense to me (I was initially trying to run the tree structure I had through the bang component by adding inputs in the panel and outputs to the component, I must say it got a little out of hand). Thank you for your help!
Is there a more parametric way of doing this? With a series perhaps?
Thanks for the reply Mateusz. Your last two components are clusters right? Wondering what's in the cluster.
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