Assigning expressions in the mini-dialog boxes

You can assign expressions in any think3 application command that uses mini-dialogs. You can type an expression in the mini-dialog with a numerical input associated.

Once the expression has been confirmed (after you click TAB), it is evaluated and the computed value is inserted in the mini-dialog. Depending on the ability of the command to manage associativity, the reference to the expression may be kept (as in feature creation commands) or lost (as in 2D commands). In the first case, the expression defines the "rule" of the associativity; in the second case, the expression is used just to define a numerical value.

The mini-dialog always shows the value (the result of the expression evaluation). The expression will appear in the mini-dialog when you click on it and start editing; during this phase you can type an expression using the GPL standard operators (+,-, etc.) and [user-] functions (cos, sin, etc.), spreadsheet variables and Adaptive Measures (through the standard tool).

Expression Definition

An Expression is a mathematical formulation combining Operators and Operands that evaluates single numerical values.

The Operator can be a:

The Operand can be a:

The system also provides appropriate feedback to facilitate the comprehension of a mini-dialog and/or expression: icons to highlight an associative expression, tooltip to display the expression when the mini-dialog shows the value, tooltip to display the value of a variable, graphical highlight of the specific measured geometry, etc.

An "associative" expression may generate loops (typically in spreadsheet variables and Adaptive Measure uses). When you apply the command, the system warns you about the potential loops.

Expression Editing

In a mini-dialog, you can:

Deleting a variable

To delete the variable created using Make Variable command, you have to first unlink the variable, exit from the command and delete it in the Spreadsheet.


Related Topics