*InplaneJointPair() - inplane joints (plane)
Creates an inplane joint pair parallel to a specified plane.
Syntax
*InplaneJointPair(joint_name,"joint_label",body_1, body_2, origin, INPLANE, POINT|VECTOR, point_1|vector_1, POINT|VECTOR, point_2|vector_2)
Arguments
- joint_name
- The variable name of the inplane joint pair.
- joint_label
- The descriptive label of the inplane joint pair.
- body_1
- The first body or body pair constrained by the inplane joint pair.
- body_2
- The second body or body pair constrained by the inplane joint pair.
- origin
- The location(s) of the inplane joint pair for body_1.
- INPLANE
- A required argument when two points, two vectors, or a point and a vector are used to define the plane of the joint pair.
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point_1|vector_1
- An entity variable referring to a Point, PointPair, Vector, or VectorPair 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, PointPair, Vector, or VectorPair which is based on the above keyword.
Example
*BodyPair(b_kn, "Knuckle", p_kn_cm)
*BodyPair(b_jack, "Jack", p_jack_cm)
*PointPair(p_wc, "Wheel center")
*Vector(v_X, "Global X")
*Vector(v_Y, "Global Y")
*InplaneJointPair(jt1, "Inplane joint", b_kn,
b_jack,
p_wc,
PLANAR,
VECTOR,
v_X,
VECTOR,
v_Y)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | BodyPair | The first body pair constrained by the inplane joint pair. |
b2 | BodyPair | The second body pair constrained by the inplane joint pair. |
i | MarkerPair | The marker pair on b1. |
j | MarkerPair | The marker pair on b2. |
l | InplaneJoint | Left inplane joint. |
label | string | The descriptive label of the inplane joint pair. |
r | InplaneJoint | Right inplane joint. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the inplane joint pair. |
Comments
The individual joints of a *InplaneJointPair() can be referred to as joint_name.l (left inplane joint) and joint_name.r (right inplane joint).
An inplane joint constrains the relative motion of markers, i and j, to a plane. This plane may be defined by either specifying a normal to the plane (using the NORMAL flag for the sixth argument) or specifying three points (or vectors) lying in the plane (using the INPLANE flag for the sixth argument).
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.