Skip to content

GDnTZone

GDnTZone defines the tolerance zone geometry associated with a GD&T control. It specifies whether the zone is cylindrical, planar, or another shape, and includes the size, orientation, and modifiers that govern how measured features must lie within it. By modeling the zone explicitly, the API allows quality software to simulate inspections, verify gauge selection, and visualize the allowable variation. The object connects back to the controlling feature frame and any projection requirements to ensure context is preserved. 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.",
    )