Skip to content

ThreadNPT

ThreadNPT captures tapered National Pipe Thread specifications used in fluid and gas systems. The model records nominal size, taper rate, thread series (NPT or NPTF), engagement length, and sealing notes. It also tracks whether sealant or tape is required, the pressure rating, and any compliance references such as ASME B1.20.1. Structuring NPT data helps ensure fittings mate properly, supports pressure testing workflows, and avoids costly leaks due to mismatched taper or class. Confidence values and sourcing information highlight when manual review is necessary before releasing a piping assembly, and integration with component metadata makes it easy to plan pressure tests.

Bases: Thread

American National Standard Pipe Thread standards, often called National Pipe Thread (NPT) standards.

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

npt_size

The nominal size of the NPT thread.

TYPE: str

npt_series

The series designation of the NPT thread.

TYPE: str

Source code in werk24/models/v2/models.py
class ThreadNPT(Thread):
    """American National Standard Pipe Thread standards,
    often called National Pipe Thread (NPT) standards.
    """

    thread_type: Literal[ThreadType.NPT] = ThreadType.NPT
    npt_size: str = Field(
        ...,
        description="The nominal size of the NPT thread.",
    )
    npt_series: str = Field(
        ...,
        description="The series designation of the NPT thread.",
        examples=["NPT", "NPS"],
    )