Find multiple roof high points / heights for a single volume mesh

I am trying to select the differnt hight points of a building volume to understand how many levels each area has but have no idea where to start with this script.


So for each of the larger areas evaluate the top surface and
230809_Roof heights.gh (51.6 KB)
it’s z value.

Hi @user23 ,

Our options are more limited given that it is a single mesh, but we can exploit the surface normals to detect horizontal/close to horizontal surfaces only and then filter the results to return the largest of those horizontal surfaces, giving you the large roof surfaces you are after.

Graph Space:

Model Space:

Let me know if this meets your purposes,

Thanks!

20230809_Roof heights_Response_01a.gh (65.1 KB)

1 Like

Thank you! this was really helpful - I think it does what it needs for now

1 Like

Happy to help, if you have additional requirements come up down line I’d recommend making a new post with the updated needs and linking back to this post if needed

1 Like