*PerpAxesJoint()
Creates a perpendicular axes joint.
Syntax
*PerpAxesJoint(joint_name,"joint_label",body_1, body_2, origin, POINT|VECTOR, point_1|vector_1, POINT|VECTOR, point_2|vector_2)
Arguments
- joint_name
- The variable name of the perpendicular axis joint.
- joint_label
- The descriptive label of the perpendicular axis joint.
- body_1
- The first body constrained by the perpendicular axis joint.
- body_2
- The second body constrained by the perpendicular axis joint.
- origin
- The location of the perpendicular axis joint.
- 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.
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point_2|vector_2
- An entity variable referring to a Point or Vector which is based on the above keyword.
Example
*Body(body_1, "First body", p_1)
*Body(body_2, "Second body", p_2)
*Point(point_1, "First point")
*Point(point_2, "Second point")
*Point(p_origin, "origin")
*PerpAxesJoint(Perpendicular axis, "Orientation joint",
body_1,
body_2,
p_origin,
POINT,
point_1,
POINT,
point_2)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | Body | The first body constrained by the perpendicular axes joint. |
b2 | Body | The second body constrained by the perpendicular axes 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 perpendicular axes joint. |
state | boolean | Control state (TRUE or FALSE). |
type | string | Unique joint type. |
varname | string | The variable name of the perpendicular axes joint. |
Comments
A perpendicular axes joint constrains the relative rotation between two bodies in such a way that the specified axes attached to the two bodies always remain mutually perpendicular.
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.