Grasshopper

algorithmic modeling for Rhino

Hi Everyone,

I have just started using Geco so this may be quite simple. I have exported part of a topography mesh from Rhino to ecotect using Geco. Once in Ecotect I did a solar access calculation, displaying the results as a colour range across the terrain for the total number of sunlight hours.

Following the example files in this group I brought the values back into grasshopper and added the attributes to the mesh.

My question is can I select faces in the mesh based on the amount of sunlight the faces receive (either by value or by colour)? I want to use the faces with the most light to inform the placement of solar collectors later.

I have attached the grasshopper definition (apologies the rhino file is too large) and some screenshots. 

Thanks for any help anyone can give, I will happily explain further if needed.

Views: 1310

Attachments:

Replies to This Discussion

Hi Michael,

for this you just need to compare the values in an if-statement.

In this image I added this functionality to your attached definition.

Best,

Martin.

Thanks a lot Martin,

Very helpful. I adjusted it slightly to cull the faces from the joined mesh (see the image) instead of from the colour addition. I was getting a null value from the culling pattern output in the set up above although I'm not sure why.

The sunlight hours slider now works as a great control to quickly visualise which parts of the mesh are receiving more sunlight than others. I have attached images of two culled results for anyone who is interested.

Attachments:

An alternative would be to sort the list and select the first x-number of items. Martin's is the correct way but if you wanted to place a specific number of solar panels in the best positions rather than anywhere that receives a certain number of daylight hours then I would sort it instead

Thanks Joe,

Currently I have a kind of combination. I have taken all the mesh faces that are above a certain number of daylight hours. I have then taken the closest face/s to a target point that I am aiming to direct the sunlight towards as a way of sorting the list. You are right, otherwise I have faces all over the terrain that are not too helpful.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service