Sweep1 not Work in a close courve (Rhino8)

Hello, I’m trying to do sweep1 with a closed curve but it doesn’t work, if I use an open curve as a rail it works, can you help me?

Anello.gh (16.1 KB)
AnelloParametrico.3dm (83.6 KB)