Skeleton of 2D shape

Voronoi is just the tool that is used to calculate the medial axis. Not useful here but when the curves are more complex it helps.

Are you joking !
Yes it works, you just need to remove dead ends. I made a component for that. But could be replaced by a tool there