Hey. Thanks for your feedback.
I don't use splines. For rails it is not recommended. Trust me, I already tried it..
I programed my own circle functions..
Feel free to check my Math.gd, Rail.gd and my pdf 'how a circle is calculated'
https://github.com/Jean28518/Libre-TrainSim
I would love to see some screenshots of your work...