Trying to create uniform spline between 2 polygons

Hello. I have a model that bases everything off of a polygon and an offset of that polygon. Currently I have it dividing those curves into points and then creating a spline using those points as reference. The issue however, is because one polygon has a larger perimeter than the other, the points don’t line up and the spline doesn’t end up uniform. There has to be an equal number of points on each polygon otherwise the spline will not work.

My goal would be to have the outer polygon’s points line up in the middle of the inner polygon’s points so that the spline ends up with uniform curves. Ideally if I change the number of divisions it would still be able to function the same.

Any help would be appreciated. Thanks!

you could calculate the middle between 2 points and search the closest point on the offset then use this point has summit.

A script would be appreciated.

3. Attach minimal versions of all the relevant files