Skip to content

ThreadISOMetric

ThreadISOMetric captures ISO metric thread specifications, the most common fastener standard worldwide. It records the nominal diameter, pitch (coarse or fine), tolerance class, and thread direction. The model also includes details such as whether the thread is internal or external, any callouts for thread length, start positions, or chamfers, and links to related features. Notes about surface treatments, thread engagement, or standards like ISO 965 are preserved as well. Structured ISO metric data helps ensure fasteners, taps, and gauges are selected correctly and enables automated validation against supplier catalogs or corporate design guidelines, while highlighting where custom tolerances depart from standard tables.

Bases: Thread

Represents an ISO Metric 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.ISO_METRIC: 'ISO_METRIC'>] DEFAULT: <ThreadType.ISO_METRIC: 'ISO_METRIC'>

female_major_diameter_tolerance

Tolerance for the major diameter of female threads.

TYPE: Tolerance | None DEFAULT: None

female_pitch_diameter_tolerance

Tolerance for the pitch diameter of female threads.

TYPE: Tolerance | None DEFAULT: None

male_major_diameter_tolerance

Tolerance for the major diameter of male threads.

TYPE: Tolerance | None DEFAULT: None

male_pitch_diameter_tolerance

Tolerance for the pitch diameter of male threads.

TYPE: Tolerance | None DEFAULT: None

Source code in werk24/models/v2/models.py
class ThreadISOMetric(Thread):
    """
    Represents an ISO Metric thread.
    """

    thread_type: Literal[ThreadType.ISO_METRIC] = ThreadType.ISO_METRIC
    female_major_diameter_tolerance: Optional[Tolerance] = Field(
        None,
        description="Tolerance for the major diameter of female threads.",
    )
    female_pitch_diameter_tolerance: Optional[Tolerance] = Field(
        None,
        description="Tolerance for the pitch diameter of female threads.",
    )
    male_major_diameter_tolerance: Optional[Tolerance] = Field(
        None,
        description="Tolerance for the major diameter of male threads.",
    )
    male_pitch_diameter_tolerance: Optional[Tolerance] = Field(
        None, description="Tolerance for the pitch diameter of male threads."
    )