*InlineJoint() - inline joints (coincident origins)
Creates an inline joint with coincident i and j markers.
Syntax
*InlineJoint(joint_name,"joint_label",body_1, body_2, origin, AXIS, POINT|VECTOR, point_1|vector_1)
Arguments
- joint_name
- The variable name of the inline joint.
- joint_label
- The descriptive label of the inline joint.
- body_1
- The first body constrained by the inline joint.
- body_2
- The second body constrained by the inline joint.
- origin
- The location of the i and j markers of the inline joint.
- AXIS
- A required argument to indicate that the next token defines the axis along which the translational degree of freedom is allowed.
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point_1|vector_1
- An entity variable referring to a Point or Vector which is based on the above keyword.
Example
*Body "Shock absorber tube",
(b_shk_tube, p_shk_tube_cm)
*Body "Shock absorber rod",
(b_shk_rod, p_shk_rod_cm)
*Point "Shock absorber tube lwr point") (p_shk_tube_lwr, )
*Vector "Global Z axis")
(v_z,
*InlineJoint(inline_jt, "Shock inline jt", b_shk_rod,
b_shk_tube,
p_shk_tube_lwr,
AXIS,
VECTOR,
v_z)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | Body | The first body constrained by the inline joint. |
b2 | Body | The second body constrained by the inline 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 inline joint. |
state | boolean | Control state (TRUE or FALSE). |
type | string | Unique joint type. |
varname | string | The variable name of the inline joint. |
Comments
origin_1 is the location of both i and j markers, and point_1 or vector_1 defines the axis along which a translational degree of freedom is allowed.
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.