2013

Table Of Contents
See also:
Overview of Constraints (page 282)
Constrain a Design with Formulas and Equations
You can control geometry using mathematical expressions that include the
names of dimensional constraints, user variables, and functions.
Overview of Formulas and Equations
Formulas and equations can be represented either as expressions within
dimensional constraint parameters or by defining user variables. For example,
the following illustration represents a design that constrains a circle to the
center of the rectangle with an area equal to that of the rectangle.
The Length and Width dimensional constraint parameters are set to constants.
The d1 and d2 constraints are simple expressions that reference the Length
and Width. The Radius dimensional constraint parameter is set to an expression
that includes the square root function, parentheses to determine the
precedence of operations, the Area user variable, the division operator, and
the constant, PI.
As you can see, part of the equation for determining the area of the circle is
included in the Radius dimensional constraint parameter and part was defined
as a user variable. Alternatively, the entire expression, sqrt (Length * Width /
PI), could have been assigned to the Radius dimensional constraint parameter,
defined in a user variable, or some other combination.
Add Constraints to Geometry | 301