*TransJoint()
Creates a translational joint.
Syntax
*TransJoint(joint_name, "joint_label",
body_1,
body_2,
origin,
POINT|VECTOR,
point|vector,
[ALLOW_COMPLIANCE])
Arguments
- joint_name
- The variable name of the translational joint.
- joint_label
- The descriptive label of the translational joint.
- body_1
- The first body constrained by the translational joint.
- body_2
- The second body constrained by the translational joint.
- origin
- The location of the translational joint for body_1.
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point|vector
- An entity variable referring to a Point or Vector which is based on the above keyword.
- ALLOW_COMPLIANCE
- An optional argument that indicates the joint can be made compliant.
Example
*PointPair(p_itrb, "Inner Tierod")
*Body(b_rack, "Rack", p_rack_cm")
*Body(b_rackhsg, "Rack Housing", p_rackhsg_cm)
*TransJoint(j_rack, "Rack trans joint", b_rackhsg,
b_rack,
p_itrb.l,
POINT,
p_itrb.r,
ALLOW_COMPLIANCE)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | Body | The first body constrained by the translational joint. |
b2 | Body | The second body constrained by the translational joint. |
i | Marker | The marker on ^b1^. |
id | long integer | Solver identification number. |
isbush | boolean | See Comments |
j | Marker | The marker on ^b2^. |
label | string | The descriptive label of the translational joint. |
state | boolean | Control state (TRUE or FALSE). |
type | string | Unique joint type. |
varname | string | The variable name of the translational joint. |
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 ALLOW_COMPLIANCE argument is optional. When it is included, it indicates that the joint can be made compliant. In compliant mode, such a joint acts as a bushing.
The isbush property is valid only for joints that can be made compliant. When isbush is set to FALSE, the joint acts like a kinematic joint (in a noncompliant mode). When isbush is set to TRUE, the joint acts like a bushing (in a compliant mode).
When the compliant option in a system is switched to "non-compliant", all the joints in the system act as kinematic joints. However, when the system option is switched to "compliant", only the joints that are created with an ALLOW_COMPLIANCE flag act as bushings. The rest of the joints continue to behave as kinematic joints.