*ScrewJoint()
Creates a screw joint.
Syntax
*ScrewJoint(joint_name, "joint_label", body_1,
body_2,
origin,
POINT|VECTOR,
point|vector,
[ALLOW_COMPLIANCE])
*Set(joint_name.pitch,value)
Arguments
- joint_name
- The variable name of the screw joint.
- joint_label
- The descriptive label of the screw joint.
- body_1
- The first body constrained by the screw joint.
- body_2
- The second body constrained by the screw joint.
- origin
- The location of the screw 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.
- value
- The pitch of the screw joint. Pitch is the amount of translational displacement per revolution of the joint.
Example
*Point( p_0, "Point 0" )
*Point( p_1, "Point 1" )
*Point( p_2, "Point 2" )
*Point( p_3, "Point 3" )
*SetPoint( p_0, 1, 2, 3 )
*SetPoint( p_1, 4, 5, 6 )
*SetPoint( p_2, 7, 8, 9 )
*SetPoint( p_3, 10, 11, 12 )
*Body( b_0, "Body 0", p_0 )
*Body( b_1, "Body 1", p_1 )
*ScrewJoint(j_0, "Single Screw Joint",
b_0,
b_1,
p_0,
POINT,
p_1)
*Set(j_0.pitch, 1.5 )
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | Body | The first body constrained by the screw joint. |
b2 | Body | The second body constrained by the screw 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 screw joint. |
state | boolean | Control state (TRUE or FALSE). |
type | string | Unique joint type. |
varname | string | The variable name of the screw 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.