Skip to content

ThreadACME

Bases: Thread

Represents an ACME 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

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] DEFAULT: <ThreadType.ACME: 'ACME'>

acme_size

The nominal size of the ACME thread.

TYPE: str

acme_series

The series designation of the ACME thread.

TYPE: str

Source code in werk24/models/v2/models.py
class ThreadACME(Thread):
    """
    Represents an ACME thread.
    """

    thread_type: Literal[ThreadType.ACME] = ThreadType.ACME
    acme_size: str = Field(
        ...,
        description="The nominal size of the ACME thread.",
        examples=["1/4", "1/2"],
    )
    acme_series: str = Field(
        ...,
        description="The series designation of the ACME thread.",
        examples=["ACME", "STUB ACME"],
    )