Skip to content

GeneralOpeningElement

Canonical path: NemAll_Python_ArchElements.GeneralOpeningElement

Bases: ArchElement, AllplanElement

Representation of (polygonal) niche, recess, slit or opening.

EndPoint property writable

EndPoint: Point2D

Get the end point

GroundPlanePolygon property writable

GroundPlanePolygon: Polygon2D

Get the ground plane polygon

Properties property writable

Opening properties

StartPoint property writable

StartPoint: Point2D

Get the start point

__init__ overloaded

__init__()

Initialize with default values

__init__(
    wallOpeningProp: GeneralOpeningProperties,
    generalEle: BaseElementAdapter,
    startPnt: Point2D,
    endPnt: Point2D,
    drawPlacementPreview: bool,
)

Constructor

Parameters:

  • wallOpeningProp (GeneralOpeningProperties) –

    Opening properties

  • generalEle (BaseElementAdapter) –

    General element which includes the opening

  • startPnt (Point2D) –

    Start point of the opening

  • endPnt (Point2D) –

    End point

  • drawPlacementPreview (bool) –

    Draw a placement preview (no general element adaption) state

__init__(
    wallOpeningProp: GeneralOpeningProperties,
    generalEle: BaseElementAdapter,
    groundPlanePolygon: Polygon2D,
    drawPlacementPreview: bool,
)

Constructor

Parameters:

  • wallOpeningProp (GeneralOpeningProperties) –

    Opening properties

  • generalEle (BaseElementAdapter) –

    General element which includes the opening

  • groundPlanePolygon (Polygon2D) –

    Ground plan polygon

  • drawPlacementPreview (bool) –

    Draw a placement preview (no general element adaption) state

__init__(element: GeneralOpeningElement)

Copy constructor

Parameters:

__repr__

__repr__() -> str

Convert to string

Placeholder