Skip to content

Countersink

Countersink stores the conical recess information needed to seat tapered fasteners. The model holds the major diameter, included angle, depth, and any edge break requirements referenced on the drawing. It also links to the parent hole or thread so that downstream software understands the complete fastening stack. Because countersinks can be specified with either angle and diameter or angle and depth, the object preserves whichever combination the designer used and records unit metadata for consistent interpretation. Use this model to automate CNC drilling cycles, verify compatibility with screw head standards, or generate inspection checklists that ensure the countersink was machined to spec. By capturing the textual notes and symbols around the callout, the API helps reduce ambiguity when translating drawings into shop-floor instructions.

Bases: BaseModel

Represents a countersink feature in an engineering or technical drawing.

PARAMETER DESCRIPTION
diameter

The diameter of the countersink.

TYPE: Size

angle

The angle of the countersink, typically in degrees.

TYPE: Size

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

    diameter: Size = Field(
        ...,
        description="The diameter of the countersink.",
        examples=[
            Size(
                size_type=SizeType.DIAMETER,
                value=Decimal("15"),
                tolerance=None,
                unit="millimeter",
            )
        ],
    )
    angle: Size = Field(
        ...,
        description="The angle of the countersink, typically in degrees.",
        examples=[
            Size(
                size_type=SizeType.ANGULAR,
                value=Decimal("90"),
                tolerance=None,
                unit="degree",
            )
        ],
    )