Skip to content

GeneralOpeningPolygonUtil

implementation of the utility for the general opening polygon creation from an opening body

GeneralOpeningPolygonUtil

Canonical path: Utils.Architecture.GeneralOpeningPolygonUtil.GeneralOpeningPolygonUtil

" implementation of the utility for the general opening polygon creation from an opening body

calculate_opening_polygon staticmethod

calculate_opening_polygon(
    opening: Polyhedron3D | BRep3D,
    axis_line: Line3D,
    outer_element_geo: Polygon2D,
    general_ele: BaseElementAdapter,
) -> Polygon2D

calculate the opening polygon

Parameters:

Returns:

get_general_element_geometry staticmethod

get_general_element_geometry(
    general_ele: BaseElementAdapter,
) -> tuple[Polyhedron3D | None, Polygon2D | None]

get the geometry of the general element

Parameters:

Returns:

Placeholder