Regular (detail or model) TRIGONOMETRIC CURVE by path

Dear community,
I would like to know if it’s possible to generate a regular spline (trigonometric function for example) along a path-line defined and selected in the model with Dynamo.
Thank you in advance,

Antoine