Grasshopper

algorithmic modeling for Rhino

Geco assigns either an RGB color or a value to each polygon based on its solar exposure.

Now, i am trying to figure out a way to sort that list. I want to assign my own color to panels based on the value that ecotect assigned to them that falls within a specific range.

I am thinking that i cant cull that list because then values will randomly get assigned numbers from 0 up. I need to keep the output value matched with the polygon that it belongs to.

Any idea how to sort that list without killing its order?

ps. Imagine that down the line i want to assign a panel to each surface based on its solar exposure value. I want to standardize the panels and minimize the number of custom panels so that's why i am thinking i need to define ranges. This way i will reduce a number of panels.

thanks a lot!

Views: 1132

Replies to This Discussion

Hi Konrad,

to keep track of the polygon number and value you sort just sort a addtional number series from 0 to panel count. this keeps everything together.

best

Hi Konrad,

attached a example for splitting up the panels in groups according to there values in the analysis 

Attachments:

This worked like a charm. Thank you.


Now that I have them grouped...is there a way to panelize meshes?

I know how to use Surface paneling with Morph and BBox, but never tried a mesh. Any ideas?

Thank you,

Samples of what i was able to get...

Attachments:

Now using your approach i ended up with a list of mesh surfaces (Branch Component).

I tried to panelize it, but I was only able to get one panel to work. Can you help me get the rest of them?

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service