Skip to content

Counterdrill

Counterdrill captures stepped drilling instructions where a pilot hole is followed by a larger diameter to a specified depth. The model stores the diameters, depths, tolerance values, and sequencing information so that a CAM system can program the correct tool changes. It also keeps track of the parent feature, such as a countersink or thread that the counterdrill prepares, and any notes about coolant, feeds, or operations. Because counterdrilling is often used to create lead-ins for fasteners or bearings, the object helps you validate that the resulting geometry matches the design intent. Downstream quality processes can leverage the model to set inspection checkpoints or to flag drawings where manual confirmation of the stepped profile is necessary.

Bases: BaseModel

Represents a counterdrill feature in an engineering or technical drawing.

PARAMETER DESCRIPTION
diameter

The diameter of the counterdrill.

TYPE: Size

depth

The depth of the counterdrill.

TYPE: Depth

angle

The angle of the counterdrill, typically in degrees.

TYPE: Size | None

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

    diameter: Size = Field(
        ...,
        description="The diameter of the counterdrill.",
        examples=[
            Size(
                size_type=SizeType.DIAMETER,
                value=Decimal("8"),
                tolerance=None,
                unit="millimeter",
            )
        ],
    )
    depth: Depth = Field(
        ...,
        description="The depth of the counterdrill.",
        examples=[
            Size(
                size_type=SizeType.LINEAR,
                value=Decimal("20"),
                tolerance=None,
                unit="millimeter",
            )
        ],
    )
    angle: Optional[Size] = Field(
        ...,
        description="The angle of the counterdrill, typically in degrees.",
        examples=[
            Size(
                size_type=SizeType.ANGULAR,
                value=Decimal("118"),
                tolerance=None,
                unit="degree",
            )
        ],
    )