Extract Centreline of polylines

Hi, if you could convert your geometry to rectangles, applying the solutions from your previous discussion, then it is easy.

Divide surface based on corners.

It is easy to extract the center line of a rectangle.