Skip to content

GeometryCuboid

Bases: Geometry

Represents the geometry of a cuboid

PARAMETER DESCRIPTION
geometry_type

TYPE: Literal[GeometryType] DEFAULT: <GeometryType.CUBOID: 'CUBOID'>

width

The width of the cuboid.

TYPE: Size

height

The height of the cuboid.

TYPE: Size

depth

The depth of the cuboid.

TYPE: Size

Source code in werk24/models/v2/models.py
class GeometryCuboid(Geometry):
    """
    Represents the geometry of a cuboid
    """

    geometry_type: Literal[GeometryType.CUBOID] = GeometryType.CUBOID

    width: Size = Field(
        ...,
        description="The width of the cuboid.",
    )
    height: Size = Field(
        ...,
        description="The height of the cuboid.",
    )
    depth: Size = Field(
        ...,
        description="The depth of the cuboid.",
    )