Calculator


SolidCAM enables you to use a built-in calculator to calculate parameter values. The Calculator is available for each numeric parameter either by choosing the appropriate command from the right-click menu or by pressing the F2 key.

The Calculator dialog box enables you to enter any expression (Expression edit box) and calculate its value (Result edit box).

You can use the following symbols in the Expression edit box:

  • Addition (+)

  • Subtraction (-)

  • Multiplication (*)

  • Division (/)

Parentheses are acceptable.

When multiplication and division occur together in an expression, each operation is calculated as it occurs from left to right. When addition and subtraction occur together in an expression, each operation is calculated in order of appearance from left to right. Parentheses can be used to override the order of precedence and force some parts of an expression to be evaluated before others. Operations within parentheses are always performed before those outside. Within parentheses, operator precedence is maintained.

SolidCAM enables you to use a set of the standard mathematical functions like sine, cosine, etc. in your formulas. Functions can be either written manually in the Expression field or chosen from the Functions list.

The Functions button enables you to display/hide the Functions list.

Example:

To calculate the value of the following formula:

you have to write the expression: (158.8/2)/(tan(63/2))

The result (~129.56) is displayed in the Result field.

To insert the calculated result into the field from where the calculator was started, click OK in the Calculator dialog box.