Area of a projected brep onto a surface

Hi all,
I want to calculate the area of the projected 3D brep onto a 2D surface. The problem is that the final 2d shape has lots of overlaps and the calculated area is not realistic.

like the following case where the calculated area of rectangular surface (where the 3D shape is projected onto) is 6, but the area of the projected surface is 7!

I attached my gh definition below,

Thanks in advance for your help on this.

Best,
J
BB_occupancy.gh (22.7 KB)

You would need to first project the individual object outlines and then combine them with something like CurveBoolean (RegionUnion in GH) to get the final ‘shadow’ area without overlaps.

I think this is what you’re looking for.

Projected_Area.gh (16.1 KB)

-Kevin