Plane constructor

__init__(self)

Initializes a new instance of the Plane with default size 1x1.


def __init__(self):
    ...

__init__(self, length, width)

Initializes a new instance of the Plane.


def __init__(self, length, width):
    ...
ParameterTypeDescription
lengthfloatLength of the plane.
widthfloatWidth of the plane.

__init__(self, name, length, width, length_segments, width_segments)

Initializes a new instance of the Plane.


def __init__(self, name, length, width, length_segments, width_segments):
    ...
ParameterTypeDescription
namestrName.
lengthfloatLength of the plane.
widthfloatWidth of the plane.
length_segmentsintLength segments.
width_segmentsintWidth segments.

See Also