Dispose ceiling elements in boundary - similar SPG

Hey guys,

I hope you can help me! I’m new to this Forum and to Dynamo, but i want to find out if it is possible to dispose prefabricated ceiling elements (maybe 2 or 3 different Types) on a given boundary, (like in the SPG) and if it’s possible to complement the remaining parts with dynamo.

This thing should work similiar to a “reinforcement steel mesh tool”, which devides out one or two different types of meshed on the boundary. So it should show me the generative method with the lowest offcut.

I really hope you can help me fixing that! I’m writing on my master thesis in architecture, and I would really appreaciate your help!

best regards,