Grasshopper

algorithmic modeling for Rhino

Dear friends,


I'm searching for the way to classify a list of values in steps, so to adscribe each set of data to a geometrical position.


The studies I am doing involve a system of panels that should react in length to the variation of their respective angle deviation from the sun.

For the moment I have established a way that depending on Bigger than/Smaller than X value, there is a dispatch of data to produce to types of panel lenghts. As you can see on the image.


But I would be interested to find the way to organize the list of all angles and classify them in groups like 5 packages of 20 degrees deviation. So, the panels deviated 16,3 and 27,9 degrees would go in the package of 15-35º, for example, and the 33,1 would go in the 35-45º...etc..

And the question would be to assign the different groups of angles, to given positions for the vectors that define the panel surfaces.


I am confused at how I should tackle this problem. Is it a question of dividing domains? Or creating sublists? But then, how can I assign the data to a set of positions? Dispatch only works with A/B..

And if so, how could I limit the positions of the vectors that define the surfaces, to a min and max length that would not overlap out of the base pattern?


These are huge questions, eh? But I'm sure that someone has tackled this problem before...

Looks like an accumulation of pretty standard problems,..but all together!


Thanks a million for any examples or hints on how this could work!


M.A.


StepStudies_20100815.3dm

StepStudies_20100815.ghx



Views: 445

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service