*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.
Data type: varname
joint_label
The descriptive label of the screw joint.
Data type: label
body_1
The first body constrained by the screw joint.
Data type: Body
body_2
The second body constrained by the screw joint.
Data type: Body
origin
The location of the screw joint for body_1 .
Data type: Point
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.
Data type: Point or Vector
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.
Data type: real

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 )

Properties

Table 1.
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.
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.