Skip to content

Counterbore

Counterbore documents the stepped recess machined to seat a fastener head or feature flush with the surface. The model records the diameter and depth of the enlarged cylindrical pocket, including any tolerances attached to those callouts; the primary hole itself is described by the parent Bore object. When you consume this model you can automatically verify that the pocket will accommodate the specified hardware, estimate material removal, or flag conflicts with minimum wall thickness guidelines.

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",
            )
        ],
    )