Skip to content

GDnTExtend

Bases: Size

Represents the extend of the GD&T Zone

PARAMETER DESCRIPTION
value

The value of the quantity.

TYPE: Decimal

unit

The unit of the quantity.

TYPE: str

size_type

The type of size (e.g., diameter, linear, angular).

TYPE: SizeType

tolerance

The tolerance specifications associated with the size.

TYPE: Tolerance | None DEFAULT: None

quantity

The number of extends

TYPE: int DEFAULT: 1

angle

The angle of the extend

TYPE: Decimal | None DEFAULT: None

Source code in werk24/models/v2/models.py
class GDnTExtend(Size):
    """
    Represents the extend of the GD&T Zone
    """

    quantity: int = Field(
        1,
        description="The number of extends",
        examples=[1],
    )
    angle: Optional[Decimal] = Field(
        None,
        description="The angle of the extend",
        examples=[Decimal("45")],
    )