Problems with Revolution geometry

Hello guys,

thank you very much for ngsolve, it is a really nice tool for discretizing PDEs!

I am a newcomer and I am trying to define a 3d geometry by a body of revolution, using linear and quadratic splines. The 2d geometry seems to work, but the 3d figure does not.

Maybe, somebody can help me, please?

You will find the code in the attachment.

Best regards,