*CylJointPair()
Creates a cylindrical joint pair.
Syntax
*CylJointPair(joint_name,"joint_label",body_1, body_2, origin, POINT|VECTOR, point|vector, [ALLOW_COMPLIANCE])
Arguments
- joint_name
- The variable name of the cylindrical joint pair.
- joint_label
- The descriptive label of the cylindrical joint pair.
- body_1
- The first body or body pair constrained by the cylindrical joint pair.
- body_2
- The second body or body pair constrained by the cylindrical joint pair.
- origin
- The location(s) of the cylindrical joint pair.
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point|vector
- An entity variable referring to a Point, PointPair, Vector, or VectorPair which is based on the above keyword.
- ALLOW_COMPLIANCE
- An optional argument that indicates the joint pair can be made compliant.
Example
*BodyPair(b_shk_tube, "Shock Tube", p_shk_tube_cg)
*BodyPair(b_shk_rod, "Shock Rod", p_shk_rod_cg)
*PointPair(p_shk_tube_upr, "Upper Shock Tube Pt")
*PointPair(p_shk_rod_upr, "Upper Shock Rod Pt")
*CylJointPair(shk_cj, "Shock Cyl Joint",
b_shk_tube,
b_shk_rod,
p_shk_tube_upr,
POINT,
p_rod_upr,
ALLOW_COMPLIANCE)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | BodyPair | The first body pair constrained by the cylindrical joint pair. |
b2 | BodyPair | The second body pair constrained by the cylindrical joint pair. |
i | MarkerPair | The marker pair on b1. |
isbush | boolean | See ^Comments^. |
l | CylJoint | Left cylindrical joint |
j | MarkerPair | The marker pair on b2. |
label | string | The descriptive label of the cylindrical joint pair. |
r | CylJoint | Right cylindrical joint |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the cylindrical joint pair. |
Comments
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.
The individual joints of an *CylJointPair() can be referred to as joint_name.l (left cylindrical joint) and joint_name.r (right cylindrical 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 joint pairs act as bushing pairs. The isbush property is valid only for joint pairs that can be made compliant. When isbush is set to FALSE, the joint pairs act 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.