Skip to content

Counterbore

Bases: BaseModel

Represents a counterbore feature in an engineering or technical drawing.

PARAMETER DESCRIPTION
diameter

The diameter of the counterbore.

TYPE: Size

depth

The depth of the counterbore.

TYPE: Depth

Source code in werk24/models/v2/models.py
class Counterbore(BaseModel):
    """
    Represents a counterbore feature in an engineering or technical drawing.
    """

    diameter: Size = Field(
        ...,
        description="The diameter of the counterbore.",
        examples=[
            Size(
                size_type=SizeType.DIAMETER,
                value=Decimal("10"),
                tolerance=Tolerance(
                    tolerance_grade="IT7",
                    deviation_lower=Decimal("-0.1"),
                    deviation_upper=Decimal("0.1"),
                    fit=None,
                    is_theoretically_exact=False,
                    is_reference=False,
                ),
                unit="millimeter",
            )
        ],
    )
    depth: Depth = Field(
        ...,
        description="The depth of the counterbore.",
        examples=[
            Size(
                size_type=SizeType.LINEAR,
                value=Decimal("5"),
                tolerance=Tolerance(
                    tolerance_grade="IT8",
                    deviation_lower=Decimal("-0.2"),
                    deviation_upper=Decimal("0.2"),
                    fit=None,
                    is_theoretically_exact=False,
                    is_reference=False,
                ),
                unit="millimeter",
            )
        ],
    )