SolidCAM standard functions
sqrt()
Returns a value specifying the square root of a number.
sin()
Returns a value specifying the sine of an angle.
cos()
Returns a value specifying the cosine of an angle.
tan()
Returns a value specifying the tangent of an angle.
abs()
Returns a value of the same type that is passed to it specifying the absolute value of a number.
The
absolute value of a number is its unsigned magnitude. For example,
|
acos()
Returns a value specifying the arccosine of a number.
asin()
Returns a value specifying the arcsine of a number.
atan()
Returns a value specifying the arctangent of a number.
atan2(,)
Returns a value specifying the arctangent of quotient first and second arguments.
dist(,) and ang(,)
Returns polar coordinates: distance and angle (in radians) of the point defined in Cartesian coordinates.
pow(,)
Returns a value of the first argument raised to the power of the second argument.
For example: pow(2,3) returns 8.
log10()
Returns a value specifying the base-10 logarithms of a number.
ln()
Returns a value specifying the natural logarithm of a number.
sum3( , , )
Returns the sum value of three arguments.
int()
Returns the integer portion of a number.
rad()
Converts degrees to radians.
deg()
Converts radians to degrees.