I am trying to “rebuild” a curve under elastic bending, so that it fits as closely as it can my base curve. I am using Kangaroo 2 for the physics and I am trying to do this with the optimization plugin Silvereye. I found a script somewhere that finds the max and min deviation between two curves, so the fitness input for silvereye is the maximum deviation, trying to minimize it. The problem is that Kangaroo takes time to compute and get to an equilibrium, so what I am getting is not accurate because the iterations keep progressing while my kangaroo curve is still approaching the goal geometry.
I either need to set gaps between the silvereye iterations or make kangaroo get “immediately” to the final equilibrium shape.
File attached:kangaroo active bending geometry.gh (41.7 KB)