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:
-
opening
(Polyhedron3D | BRep3D
) –opening
-
axis_line
(Line3D
) –axis line
-
outer_element_geo
(Polygon2D
) –outer element geometry
-
general_ele
(BaseElementAdapter
) –general element
Returns:
-
Polygon2D
–opening polygon
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:
-
general_ele
(BaseElementAdapter
) –general element
Returns:
-
tuple[Polyhedron3D | None, Polygon2D | None]
–3D geometry, ground view polygon
Placeholder