How can I use spline functions without spline?

I want to make a blueprint for fences with spline mesh components but without a spline and integrate “set start and end” for a smooth transition.

Please help