Create a smooth continuous 3D spiral along a circle

Trying to create a smooth continuos spiral along a circle.

I have been getting a sharp at the point where the spiral end meets the spiral start. Can anyone help, with a way around this and make it smooth and continuos?

This is the screenshot of the problem
Helix forum post

attaching my script.
helix along a (20.7 KB)

Regards and thanks in advance,

I don’t have some of your plugins installed, so I can’t run your def as you but according to your screengrab, and if you use Interpolatecurve at the end, then you should change the periodic curve input fr “False” to “True” something like the attached… (7.1 KB)


Thanks a lot. Thats a easy fix.