*InlineJointPair() - inline joints (coincident origins)
Creates an inline joint pair with coincident i and j markers.
Syntax
*InlineJointPair(joint_name,"joint_label",body_1, body_2, origin, AXIS, POINT|VECTOR, point_1|vector_1)
Arguments
- joint_name
- The variable name of the inline joint pair.
- joint_label
- The descriptive label of the inline joint pair.
- body_1
- The first body or body pair constrained by the inline joint pair.
- body_2
- The second body or body pair constrained by the inline joint pair.
- origin
- The location of the i and j markers of the inline joint pair.
- AXIS
- A required argument to indicate that the next token defines the axes along which the translational degrees of freedom are allowed.
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point_1|vector_1
- An entity variable referring to a Point, PointPair, Vector, or VectorPair which is based on the above keyword.
Example
*BodyPair(b_strut_rod, "Strut Rod", p_strut_rod_cm)
*BodyPair(b_strut_tube, "Strut Tube", p_strut_tube_cm)
*PointPair(p_strut_rod_lwr, "Lower Strut Rod Point")
*PointPair(p_strut_tube_lwr, "Lower Strut Tube Point")
*InlineJointPair(j_strut_lwr_inlinejprim, "Lwr strut inline joint"
b_strut_rod,
b_strut_tube,
p_strut_rod_lwr,
AXIS,
POINT,
p_strut_tube_lwr)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | BodyPair | The first body pair constrained by the inline joint pair. |
b2 | BodyPair | The second body pair constrained by the inline joint pair. |
i | MarkerPair | The marker pair on b1. |
j | MarkerPair | The marker pair on b2. |
l | InlineJoint | The left inline joint. |
label | string | The descriptive label of the inline joint pair. |
r | InlineJoint | The right inline joint. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the inline joint pair. |
Comments
The individual joints of a *InlineJointPair() can be referred to as joint_name.l (left inline joint) and joint_name.r (right inline joint).
PointPair origin is the location(s) of both i and j marker pairs and, point_1 or vector_1 define the axes along which the translational degrees of freedom are allowed.
When a point is used (instead of a vector) to define an axis, it is obtained as the direction from the origin of the joint to the specified point.