Calculate the portion of the area the shadow is occupying

Hello,

I am trying to calculate what portion of the area the shadow being cast in the simulation is occupying of the total area of the test surface. I don’t think the shadow is isolated in the result mesh (from the sun simulation) that’s why I am not getting an accurate number?

Thanks!
Shadow area portion.gh (69.7 KB)

This is how you do it with native Grasshopper components:

Shadow area portion_CWM.gh (52.0 KB)

1 Like

Thanks for the reply. Although, how is the shaded portion greater than the entire area of the testing surface?

You had two legend parameters so the study was running twice:

Just remove the legend parameters and the resulting area won’t be multiplied by 2.

Got it! Thanks heaps!