Skip to content

GDnTZone

GDnTZone defines the tolerance zone associated with a GD&T control. It records the zone’s size value — including whether it is expressed as a diameter or spherical diameter — together with an optional extent and any combined-zone, offset, or constraint specifications attached to the callout. By modeling the zone explicitly, the API allows quality software to simulate inspections, verify gauge selection, and visualize the allowable variation. Use it when you need more than just a tolerance value—you need to understand the spatial region that embodies the designer’s allowable deviation.

Bases: BaseModel

Representation of the GDT GD&T Value

PARAMETER DESCRIPTION
value

The value of the GD&T zone.

TYPE: Size

extend

The extend of the GD&T zone.

TYPE: GDnTExtend | None DEFAULT: None

combination

The combination of the GD&T zone.

TYPE: str | None DEFAULT: None

offset

The offset of the GD&T zone.

TYPE: str | None DEFAULT: None

constraint

The constraint of the GD&T zone.

TYPE: str | None DEFAULT: None

Source code in werk24/models/v2/models.py
class GDnTZone(BaseModel):
    """
    Representation of the GDT GD&T Value
    """

    value: Size = Field(
        ...,
        description="The value of the GD&T zone.",
    )
    extend: Optional[GDnTExtend] = Field(
        None,
        description="The extend of the GD&T zone.",
    )
    combination: Optional[str] = Field(
        None,
        description="The combination of the GD&T zone.",
    )
    offset: Optional[str] = Field(
        None,
        description="The offset of the GD&T zone.",
    )
    constraint: Optional[str] = Field(
        None,
        description="The constraint of the GD&T zone.",
    )