Skip to content

GeometryCylinder

Bases: Geometry

Represents the geometry of a plate-shaped material.

PARAMETER DESCRIPTION
geometry_type

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

diameter

The diameter of the cylinder.

TYPE: Size

depth

The depth of the cylinder.

TYPE: Size

Source code in werk24/models/v2/models.py
class GeometryCylinder(Geometry):
    """
    Represents the geometry of a plate-shaped material.
    """

    geometry_type: Literal[GeometryType.CYLINDER] = GeometryType.CYLINDER
    diameter: Size = Field(
        ...,
        description="The diameter of the cylinder.",
    )
    depth: Size = Field(
        ...,
        description="The depth of the cylinder.",
    )