SimMechanics | ![]() ![]() |
Constrain the body axis vectors of two bodies to be parallel
Library
Description
The two Bodies connected by a Parallel Constraint are restricted in their relative rotational motion. The Parallel Constraint is connected on either side to a Body CS, one on each Body. A vector aB defined in one Body CS on the base body remains parallel to a second vector aF defined in another Body CS on the follower body.
The Parallel Constraint block requires that:
You specify the initial direction to which both vectors must remain parallel.
Constraints restrict relative degrees of freedom (DoFs) between a pair of bodies. Locally in a machine, they replace a Joint as the expression of the DoFs. Globally, Constraint blocks must occur topologically in closed loops. Like Bodies connected to a Joint, the two Bodies connected to a Constraint are ordered as base and follower, fixing the direction of relative motion.
Parallel Constraint is assembled: the Body CS origin on the base body must be initially collocated with the Body CS origin on the follower body, to within assembly tolerance.
You can connect a Constraint block to a Constraint & Driver Sensor, but not to an Actuator. The Constraint & Driver Sensor measures the reaction forces/torques between the constrained bodies.
Dialog Box and Parameters
The dialog box has two active areas, Connection parameters and Parameters.
Connection Parameters
0
.The base (B)-follower (F) Body sequence determines the sense of positive motion. Positive rotation is the follower rotating in the right-handed sense about the rotation axis.
Parallel Constraint base and follower Body Connector Ports
Parameters
[1 0 0]
.WORLD
.See Also
Angle Driver, Constraint & Driver Sensor, Velocity Driver
See Modeling Constraints and Drivers for more on restricting DoFs with Constraints.
See Checking Schematic Topology and How SimMechanics Works for more on using constraints in closed loops.
See Creating Constraints and Drivers.
![]() | Linear Driver | Planar | ![]() |