Details on sketch spline in Abaqus

Hello all,
At the moment I've created a script that automatically creates airfoil shapes using airfoil coordinates as input data. Everything works and I would like to increase the speed of the programm by performing the translational, rotational and scaling operations outside of the mdb enviroment.

In order to perform the required operations I need the function that describes the curve of the spline. So far the script uses the scipy.interpolate.CubicSpline function and everything works except that it turns out that this function does not match the way the spline is actually created in Abaqus which results in an airfoil that is not entirely as expected from my calculations in Python.

So for this reason I would like to know according to which method Abaqus creates it's 2D sketch splines? Even better would be if there is a function in one of the built in standard libaries in Abaqus that I could use which is identical to the spline in Abaqus?

Many thanks in advance and here are two usefull pages I've already used for information:

http://dsk.ippt.pan.pl/docs/abaqus/v6.13/books/usi/default.htm?startat=pt03ch20s10hlb10.html

 

https://docs.scipy.org/doc/scipy-0.18.1/reference/generated/scipy.interpolate.CubicSpline.html