Previous section-----Next section

Plane
3D

Plane[point1, point2, point3] is a Modeler3D data object that uses three points to define a plane. The plane originates at point1 and is fully defined by point2 and point3 that also lie in the plane. The pointi must be Mech Point objects.
Plane[bnum, lpnt1, lpnt2, lpnt3] is interpreted as Plane[Point[bnum, lpnt1], Point[bnum, lpnt2], Point[bnum, lpnt3]]. The lpnti can be points, {x, y, z}, in the local coordinate system of body bnum or point numbers (positive integers) referencing coordinates that were defined with SetBodies.

• If a Plane object is used in place of a Modeler3D Vector object, the plane's normal provides the direction of the vector.
• If a Plane object is used in place of a Modeler3D Axis object, the plane's origin (point1) provides the origin of the axis, the plane normal provides the direction vector, and the line from point1 to point2 provides the rotational reference vector of the axis.
• See also: Line, ReferenceDirection.

Further Examples

Load the Modeler3D package.

The following are all valid plane specifications. The use of Location and Direction serve to show how the planes are interpreted by MechanicalSystems. First we show planes in the reference frame of body 1, the global reference frame.

Here are planes on body 2. Local point number zero is always defined as {0, 0, 0}.

Planes can span multiple bodies.

After using SetBodies to define some local points, they can be referenced by index in a Plane object.