Curve tangent at parameter: change x,y axis orientation?

Hi,
I have a series of point (by coordinates x,y,z). From these points I created polycurve.
Now I use Curve tangent at parameter to find the vector and put this vector in plane by origin normal and i get the cs from this plane. The problem is: when I change the list of points, in some cases, change the axis orientation (x,y).
Can I avoid this problem? Can I fix the axis orientation indipendently of the points (polycurve generated from the points)?

hi,
Can you share some screenshots … @f.marchionatti
whats the issue is.

KR

Andreas

Yes of course.
With a list of point (with a polycurve) I have not correct CS orientation BUT
with another list of point (with another polycurve) I have correct CS orientation:


I would like to have the same axis orientation (the correct one) indipendently of the polycurve trend. Is it possible?

Could you help me?

@f.marchionatti ,

i tried stuff, but i was not able to spent more time on it. I think it is a vector issue…
at least you can publish your script and some demofile

KR

Andreas