Populate rooftop avoiding obstacles

Hi,

I suspect you want to look at ‘Bin Packing’ here’s a link which discusses some options…

Though if your example is as simple as you describe ie. a rectangle with some other rectangles… It’s possible you could extract the roof geometry, subtract the clash cuboid, use the void edges to split the roof into rectangles and populate those with your grid of PV rectangles?

Hopefully that is useful,

Mark

2 Likes