Script to connect points together to a curve?

 From:  bemfarmer
6445.6