Skip to content

Rectangle3DUtil

implementation of the 3D rectangle utility functions

  • create a rectangle polygon by center point, rotation angle, width and thickness
  • create a rectangle polygon by corner points

Rectangle3DUtil

Canonical path: Utils.Geometry.Rectangle3DUtil.Rectangle3DUtil

implementation of the 3D rectangle utility functions

polygon_by_sizes staticmethod

polygon_by_sizes(
    width: float, thickness: float, rotation_angle: Angle, z_plane: float
) -> Polygon3D

create a rectangle polygon by width and thickness, located at origin

Parameters:

  • width (float) –

    width

  • thickness (float) –

    thickness

  • rotation_angle (Angle) –

    rotation angle

  • z_plane (float) –

    z plane

Returns:

Placeholder