Skip to content

GDnTFeature

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",
    )