algorithmic modeling for Rhino
I present a rather complex case, in my opinion.
I'm developing some facade modules. These modules are metal plates that I will repeat systematically, one after the other. Each module has cut out some figures that constitute the drawing of them. These are 5 different shapes that are repeated and organized as seen in the photos posted.
The problem is that I want to optimize the amount of trimmed surface (I want it to be the minimum). The position of each shape is variable. Also its rotation. Therefore we must consider the idea that every point within the rectangle could be any of the 5 forms. In turn, no form should intersect with another. In fact, you should be able to control the separation between them.
Basically it is a series of adjustments between shapes within a rectangle, optimizing the amount of surface. I do not want to continue adding complexity to the case. If anyone could help me with this, I would greatly appreciate it.
Anyway, if anyone finds the case amusing, I add a degree of complexity more. As you can see in the photo, the plates that are repeated systematically are always the same module (they are simply rotated 180 degrees alternately). Therefore, the forms that reach the limit of the rectangle must be recognized as particular. When rotating the plates the shape that intersects with the edge, should match the shape that appears next in the next plate.
I leave an example of how I was working the case in GH so far. I am not very happy with my results.