Skip to content

GDnTReference

GDnTReference stores the reference element specification associated with a feature control frame. It records how elements are associated for tolerance evaluation (for example Chebyshev or Gaussian criteria, with or without external or internal constraint) and which parameter of the reference element is evaluated, such as the peak value or deviation span. By parsing the reference separately, the API enables precise reconstruction of how the feature must be evaluated during inspection, delivering the context necessary for tolerance analysis. Use this model to evaluate measurement strategies or confirm that supplier documentation applies the intended evaluation rules.

Bases: BaseModel

Represents a reference for a GD&T characteristic.

PARAMETER DESCRIPTION
association

Reference for associating elements in tolerance evaluation.

TYPE: GDnTReferenceAssociation | None DEFAULT: None

parameter

Parameter of the reference element (e.g., peak value, deviation span).

TYPE: GDnTReferenceParameter | None DEFAULT: None

Source code in werk24/models/v2/models.py
class GDnTReference(BaseModel):
    """
    Represents a reference for a GD&T characteristic.
    """

    association: Optional[GDnTReferenceAssociation] = Field(
        None, description="Reference for associating elements in tolerance evaluation."
    )
    parameter: Optional[GDnTReferenceParameter] = Field(
        None,
        description="Parameter of the reference element (e.g., peak value, deviation span).",
    )