Sweep along closed curve possible?

These threads should help you: