Skip to content

ThreadSM

ThreadSM documents screw threads following the SM system. Alongside the shared thread attributes—label, quantity, diameter, spacing, handedness, and depth—the model records the SM size designation. Capturing SM threads distinctly helps global manufacturers ensure compatibility with regional fasteners and prevents confusion with ISO metric or UN threads when reading multilingual drawings. A confidence score makes it easier to prioritize review of rarely used thread forms, and the explicit spacing values can feed conversion tables when migrating to other standards.

Bases: Thread

Represents a screw machine (SM) 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.SM: 'SM'>] DEFAULT: <ThreadType.SM: 'SM'>

sm_size

The size of the SM thread.

TYPE: Decimal

Source code in werk24/models/v2/models.py
class ThreadSM(Thread):
    """
    Represents a screw machine (SM) thread.
    """

    thread_type: Literal[ThreadType.SM] = ThreadType.SM
    sm_size: Decimal = Field(..., description="The size of the SM thread.")