Skip to content

Counterbore

Counterbore documents the stepped recess machined to seat a fastener head or feature flush with the surface. The model records both the primary through-hole information and the enlarged cylindrical pocket, including diameters, depths, tolerances, and any angular specifications. It also tracks companion features such as the bolt type or associated threads to help CAM and inspection software determine tooling and gauges. Because counterbores often include sequencing instructions, the object preserves notes and surface finish requirements as well. 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",
            )
        ],
    )