*OrientJointPair()
Creates an orient joint pair.
Syntax
*OrientJointPair(joint_name,"joint_label",body_1, body_2, origin_1, origin_2)
Arguments
- joint_name
- The variable name of the orient joint pair.
- joint_label
- The descriptive label of the orient joint pair.
- body_1
- The first body or body pair constrained by the orient joint pair.
- body_2
- The second body or body pair constrained by the orient joint pair.
- origin_1
- The location(s) of marker pair i attached to body_1.
- origin_2
- The location(s) of marker pair j attached to body_2.
Example
*BodyPair(body_1, "First body", p_1)
*BodyPair(body_2, "Second body", p_2)
*PointPair(point_1, "First point")
*PointPair(point_2, "Second point")
*OrientJointPair(jt1, "Orientation joint", body_1,
body_2,
point_1,
point_2)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | BodyPair | The first body pair constrained by the orient joint pair. |
b2 | BodyPair | The second body pair constrained by the orient joint pair. |
i | MarkerPair | The marker pair on b1. |
j | MarkerPair | The marker pair on b2. |
l | OrientJoint | Left orient joint. |
label | string | The descriptive label of the orient joint pair. |
r | OrientJoint | Right orient joint. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the orient joint pair. |
Comments
The individual joints of an *OrientJointPair() can be referred to as joint_name.l (left orient joint) and joint_name.r (right orient joint).
An orient joint constrains all three relative rotations between the two bodies. The relative translations, however, are unconstrained.