5 polygonal objects with only 10 different angles between surface edges

Hi everyone,
I am in the process of designing 5 exhibition structures of approx. 3mx4mx3m. The structures should all be in the same polygonal style with unequal sides. Each side of these structures is to be laser-cut later and fixed with an angle connector. Only a maximum of 10 different angle sizes of these connectors may be produced.

Now I am looking for a solution to efficiently design these 5 structures in order to finally output the fabrication data.

Is there a way to use Grashopper to set the condition that only 10 different angle sizes are used?
The size of the angles is not predefined. So Grashopper can define a global ideal angle collection (max. 10) for all side face angles for each change.
The condition of 10 angles should be retained in any case, even if I change the design again (e.g. move a corner point, due to client).

I have no idea how to start?
Can anyone out there help?

two of five.3dm (168.4 KB)