Is there a plugin script to...

 From:  r2d3
8828.1 
... transform a polygone to a curve?

Let's say i have a 10 sided polygon and i like to get a curve through all the points.



I can do it by hand by drawing a freeform line through points...



But i like to have a script for the 58 sided polygon...


Ralf:)
looking for moments of inspiration...