Variable value
This is the value to be assigned to the variable value. This can be an expression, calculated from the part’s geometry data or previous machining operations parameters.
This area allows current calculation functions such as:
‘sin’ to calculate the sine of an angle
‘asin’ to extract the sine of an angle
‘cos’ to calculate the cosine of an angle
‘acos’ to extract the cosine of an angle
‘tan’ to calculate the tangent for an angle
‘atan’ to extract the tangent of an angle
‘sqrt’ to extract the square root of a value
‘log’ to calculate the decimal logarithm of a value
‘power’ to assign a number to any power
‘round’ to round off a number
‘int’ to extract a number’s whole value
‘abs’ to avoid taking a value’s sign into account
‘sgn’ to extract the value of a sign
as well as the following special signs:
‘ : ’ means ‘otherwise’ (more information later)
‘ ? ‘ means ‘therefore’ (more information later)
‘ & ‘ gives a variable name, for example, as a comment.
This area also accepts logic tests, such as:
> means ‘greater than’
>= means ‘greater than or equal to’
< means ‘smaller than’
<= means ‘smaller than or equal to’
= means ‘equal to’
!= means ‘different from’
Warning:
There are two syntax types for names of edited parameters:
Parameters originating from another machining operation or another ‘feature’ start NECESSARILY with a ‘.’ (a full stop).
Other parameters must not contain a ‘.’ (a full stop).
The best method for using parameter names is as follows: press the “Key Words” button to obtain the right syntax.
Topsolid CAM online Help Index