Skip to content

GDnTFeature

GDnTFeature represents the feature control frame for a GD&T requirement. It captures the controlled characteristic, tolerance value, datum references, and any material condition modifiers in a structured form. By modeling the entire frame, the API makes it possible to programmatically interpret whether the tolerance applies to position, profile, runout, or another control type. Downstream applications can therefore assess inspection feasibility, perform tolerance stack-ups, or highlight changes between revisions. The object also records the graphical placement and textual notes from the drawing to maintain traceability. Use it to transform complex GD&T symbology into data that quality systems, CAM tools, and digital twins can consume without manual transcription.

Bases: BaseModel

Represents the feature of the GD&T

PARAMETER DESCRIPTION
filter

Filter for the feature

TYPE: str | None DEFAULT: None

associated_feature

Associated feature for the GD&T

TYPE: GDnTAssociatedFeature | None DEFAULT: None

derived_feature

Derived feature for the GD&T

TYPE: GDnTDerivedFeature | None DEFAULT: None

Source code in werk24/models/v2/models.py
class GDnTFeature(BaseModel):
    """
    Represents the feature of the GD&T
    """

    filter: Optional[str] = Field(
        None,
        description="Filter for the feature",
    )
    associated_feature: Optional[GDnTAssociatedFeature] = Field(
        None,
        description="Associated feature for the GD&T",
    )
    derived_feature: Optional[GDnTDerivedFeature] = Field(
        None,
        description="Derived feature for the GD&T",
    )