Is there a way to match meshes to an specific outline?

Found this thread thanks post history in my profile @clement was getting his hands on this with a script

http://discourse.mcneel.com/t/is-there-a-way-to-pull-points-to-a-curve/29021