Quadrilateral Optimisation with Generative Design


I have hesitated with this post for a while. Part of me isn’t sure if I it is actually possible and to be honest, the project this relates to has moved on (and found a solution in CAD :scream:).

But this question has stuck and I cannot let go of it. Now it has become a bit of a hobby trying to figure this out, but I am not even sure where to start. Maybe someone here has an idea, whether A) it’s actually possible and B) how to go about it.

I have a (irregular) quadrilateral shape - though it doesn’t have to be irregular - which I would like to test with several variables to the geometry against some fitness test*.

These fitness tests* are:

  1. The four angles should be as close as possible to increments of 0.25°.
  2. The four sides should be as close as possible to their original length (see below).
  3. The area should be maximised.

Given are the coordinates of the first point A.
I also have a base length for all four sides, though during testing I would like these to vary in increments of 1 (+/-) - though the fewer/less they change the better (see above)

I know the quadrilateral with only four side length given is not “stable”. But that made me think that generative design should be the right approach.

Let me know should I have forgotten anything essential.
Thanks anyway.

  • forgive me if I use the wrong generative design language. This is my first proper foray in this field.
1 Like