Skip to content

GDnTDatum

GDnTDatum captures datum features identified in the geometric dimensioning and tolerancing (GD&T) scheme of a drawing. The model records the datum letter, its order in the datum reference frame, the associated feature geometry, and any modifier symbols that qualify how the datum should be interpreted. By exposing this structured view, the API allows you to reconstruct datum reference frames for tolerance analysis, inspection planning, or CAD alignment. The object also links to the textual callout and view in which the datum appears, enabling traceability back to the original annotation. Use it when you need to understand how the designer anchors measurements, controls part orientation, or defines assembly interfaces.

Bases: BaseModel

Represents a GD&T datum definition.

PARAMETER DESCRIPTION
label

Reference name of the datum. Examples: 'A', 'B', or composite names such as '(A-B-C-D)[CM]'.

TYPE: str

Source code in werk24/models/v2/models.py
class GDnTDatum(BaseModel):
    """
    Represents a GD&T datum definition.
    """

    label: str = Field(
        ...,
        description=(
            "Reference name of the datum. Examples: 'A', 'B', or composite names "
            "such as '(A-B-C-D)[CM]'."
        ),
    )