atan(30/180*pi) is invalid in CST parameter input ?
I need sweep a curve with a taper angle, but " invalid expression " is shown when I input a expression including " atan ( x) ", x is a known constant. anyone knows how to use an expression to input a angle ? thanks
30/180*pi looks like an angle. It's unusual to take the arctangent of an angle. Maybe you want tan() instead of atan()?
Beware of 30/180. Some computer languages, such as C, will interpret that as an integer expression equal to zero.
What do you mean by "sweep a curve with a taper angle"?
Hi,
check the VisaulBasic Help.
The correct command for Arctan is Atn or AtnD (depending if you would like to get Rad or Deg in return.
F.
thank you, I try to use " atn " and " atnd " , both Ok,