*AtPointJointPair()
Creates an at-point joint pair.
Syntax
*AtPointJointPair(joint_name, "joint_label", body_1, body_2, origin, Optional: ALLOW_COMPLIANCE)
Arguments
- joint_name
- The variable name of the at-point joint pair.
- joint_label
- The descriptive label of the at-point joint pair.
- body_1
- The first body or body pair constrained by the at-point joint pair.
- body_2
- The second body or body pair constrained by the at-point joint pair.
- origin
- The location(s) of the at-point body_1 joint pair.
- ALLOW_COMPLIANCE
- An optional argument that indicates the joint pair can be made compliant.
Example
*BodyPair(b_kn, "Knuckle", p_kn_cm)
*BodyPair(b_lca, "LCA", p_lca_cm)
*PointPair(p_lbj, "Lower Ball Joint")
*AtPointJointPair(lbj, "Lower Ball", b_kn, b_lca, p_lbj, ALLOW_COMPLIANCE)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | BodyPair | The first body pair constrained by the at-point joint pair. |
b2v | BodyPair | The second body pair constrained by the at-point joint pair. |
i | MarkerPair | The marker pair on b1. |
isbush | boolean | See Comments. |
j | MarkerPair | The marker pair on b2. |
l | AtPointJoint | The left at-point joint. |
label | string | The descriptive label of the at-point joint pair. |
r | AtPointJoint | The right at-point joint. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the at-point joint pair. |
Comments
*AtPointJointPair() is used to join two bodies or body pairs at a specific point.
The individual joints of an *AtPointJointPair() can be referred to as joint_name.l (left at-point joint) and joint_name.r (right at-point joint).The ALLOW_COMPLIANCE argument is optional. When it is included, it indicates that the joint pair can be made compliant. In compliant mode, such a joint pair acts as a bushing pair.
The isbush property is valid only for joint pairs that can be made compliant. When isbush is set to FALSE, the joint pair acts like kinematic joints (in a noncompliant mode). When isbush is set to TRUE, the joint pair acts like a bushing pair (in a compliant mode).
When the compliant option in a system is switched to "non-compliant", all the joint pairs in the system act as kinematic joints. However, when the system option is switched to "compliant", only the joint pairs that are created with an ALLOW_COMPLIANCE flag act as bushing pairs. The rest of the joint pairs continue to behave as kinematic joints.