Fix the issue, replace with rtan!!!! It works, waiting SIEMENS engineer make some explanation about it.
t=0
x1=2*t
y1=t*t+2*t+1
alpha=deg(rtan(x1/y1))
x2=sqrt(x1*x1+y1*y1)*cos(alpha)
y2=sqrt(x1*x1+y1*y1)*sin(alpha)
I'd like to generate a law curve in NX, formula could be referred as below:
t=0
x1=2*t
y1=t*t+2*t+1
alpha=atangent(x1/y1)
x2=sqrt(x1*x1+y1*y1)*cos(alpha)
y2=sqrt(x1*x1+y1*y1)*sin(alpha)
I want to plot x2, y2, but it not works, could anyone help me?
Thanks in advance.