Skip to content

ThreadWhitworth

ThreadWhitworth captures British Standard Whitworth thread specifications. Alongside the shared thread attributes—label, quantity, diameter, spacing, handedness, and depth—it records the Whitworth size and, when specified, the tolerance class. Teams working with legacy British equipment or global supplier networks can use the structured data to select the correct fittings, taps, and gauges. A confidence score supports review of these older thread forms, and the explicit spacing values simplify conversions to modern standards.

Bases: Thread

Represents a Whitworth thread.

PARAMETER DESCRIPTION
reference_id

Reference ID to identify the object.

TYPE: int

label

A short description of the feature in a human-readable format.

TYPE: str

confidence

Confidence in the feature extraction or interpretation.

TYPE: Confidence | None

quantity

The number of threads or instances. Must be non-negative.

TYPE: Decimal

diameter

The diameter of the thread, including nominal size and tolerances.

TYPE: Size

spacing

The spacing of the thread, defining the distance between thread crests.

TYPE: ThreadSpacing | None

handedness

The direction of the thread, such as LEFT or RIGHT.

TYPE: ThreadHandedness

depth

The length of the threaded feature, including nominal size and tolerances.

TYPE: Depth | None DEFAULT: None

thread_type

TYPE: Literal[<ThreadType.WHITWORTH: 'WHITWORTH'>] DEFAULT: <ThreadType.WHITWORTH: 'WHITWORTH'>

whitworth_size

The nominal size of the Whitworth thread.

TYPE: Decimal

whitworth_tolerance_class

The tolerance class for the Whitworth thread.

TYPE: str | None DEFAULT: None

Source code in werk24/models/v2/models.py
class ThreadWhitworth(Thread):
    """
    Represents a Whitworth thread.
    """

    thread_type: Literal[ThreadType.WHITWORTH] = ThreadType.WHITWORTH
    whitworth_size: Decimal = Field(
        ...,
        description="The nominal size of the Whitworth thread.",
    )
    whitworth_tolerance_class: Optional[str] = Field(
        None,
        description="The tolerance class for the Whitworth thread.",
    )