Constraints 2D/3D• Constraints[cnum] returns the list of constraint expressions that were generated by constraint cnum. • Constraints[{cnum1, cnum2, ... , cnumn}] returns a list of all of the expressions in all of the specified constraints, cnumi. • Constraints[{cnum, {enum1, ... }}] returns the specified subset of the equations, enumi, in constraint cnum. • Constraints[{{cnum1, {enum, ... }}, {cnum2}, {cnum3, {enum, ... }}}] returns several parts to several different constraints. • Constraints[All] returns the entire constraint vector. • Constraints[Euler] returns the Euler generalized constraints, if any exist. • The expressions returned are numerically equal to zero when the constraints are satisfied. • See also: AccelerationTerms, Generalized, Loads, VelocityTerms. Further Examples Load the Modeler2D package and define a simple model. Here are the constraint expressions associated with the Translate2 constraint.
Out[2]= | |
Here are the constraint expressions associated with multiple constraints.
Out[3]= | |
This shows that the velocity expression is zeroed by a solution to the model.
Out[4]= | |
See HelpModel2D.
|