FrameUtil
implementation of the frame utility
- create a frame with fixed or variable offset
FrameUtil
Canonical path: Utils.Geometry.FrameUtil.FrameUtil
implementation of the frame utility
fixed_frame
staticmethod
fixed_frame(
offset: float, height: float, polygon: Polygon2D
) -> Polyhedron3D | None
create a frame with a fixed offset
Parameters:
-
offset(float) –offset value
-
height(float) –height of the frame
-
polygon(Polygon2D) –base polygon
Returns:
-
Polyhedron3D | None–created frame polyhedron
variable_frame
staticmethod
variable_frame(
offset_bottom: float,
offset_right: float,
offset_top: float,
offset_left: float,
height: float,
polygon: Polygon2D,
) -> Polyhedron3D | None
create a frame with a variable offset
Parameters:
-
offset_bottom(float) –offset at the bottom
-
offset_right(float) –offset at the right
-
offset_top(float) –offset at the top
-
offset_left(float) –offset at the left
-
height(float) –height
-
polygon(Polygon2D) –base polygon
Returns:
-
Polyhedron3D | None–created frame polyhedron
Placeholder