Skip to content

BoundingDimensions

BoundingDimensions provides the overall envelope sizes detected for the part or feature described in the drawing. It captures the maximum extents in the X, Y, and Z directions, together with the coordinate system used so you can align them with CAD or metrology data. These values are especially useful when you need to validate that a component fits within stock material, machining travel, or packaging limits. The object tracks unit systems, tolerance annotations, and the specific view or section that supplied the measurement. By consolidating the outer dimensions in one place, the model simplifies downstream calculations such as bounding-box weight estimates, nesting optimizations, or quick capacity checks for additive manufacturing platforms.

Bases: BaseModel

Represents the bounding dimensions of a component.

PARAMETER DESCRIPTION
enclosing_cuboid

The enclosing cuboid of the component.

TYPE: GeometryCuboid | None DEFAULT: None

enclosing_cylinder

The enclosing cylinder of the component.

TYPE: GeometryCylinder | None DEFAULT: None

Source code in werk24/models/v2/models.py
class BoundingDimensions(BaseModel):
    """
    Represents the bounding dimensions of a component.
    """

    enclosing_cuboid: Optional[GeometryCuboid] = Field(
        None,
        description="The enclosing cuboid of the component.",
    )
    enclosing_cylinder: Optional[GeometryCylinder] = Field(
        None,
        description="The enclosing cylinder of the component.",
    )