Skip to content

GDnTFeature

GDnTFeature represents the feature modifiers attached to a GD&T requirement. It captures an optional filter specification, the associated-feature symbol (such as Ⓒ, Ⓖ, Ⓝ, Ⓧ, or Ⓣ), and the derived-feature symbol (Ⓟ or Ⓐ) in a structured form. By modeling these modifiers, the API makes it possible to programmatically interpret how the toleranced feature should be filtered, associated, and derived before evaluation. Downstream applications can therefore assess inspection feasibility, perform tolerance stack-ups, or highlight changes between revisions. 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",
    )