Skip to content

Radius

Bases: Feature

Represents a radius feature in an engineering or technical drawing.

PARAMETER DESCRIPTION
reference_id

Reference ID to identify the object.

TYPE: int

label

A short description of the feature in a human-readable format.

TYPE: str

confidence

Confidence in the feature extraction or interpretation.

TYPE: Confidence | None

quantity

The quantity or value associated with the measurement, must be non-negative.

TYPE: int

curvature_type

The type of curvature for the radius, such as concave or convex. This is only set if the label explicitly states it (e.g., 'R10 concave').

TYPE: CurvatureType | None DEFAULT: None

size

Details about the size, including type, nominal value, tolerance, and unit.

TYPE: Size

Source code in werk24/models/v2/models.py
class Radius(Feature):
    """
    Represents a radius feature in an engineering or technical drawing.
    """

    quantity: int = Field(
        ...,
        ge=0,
        description="The quantity or value associated with the measurement, must be non-negative.",
    )
    curvature_type: Optional[CurvatureType] = Field(
        None,
        description="The type of curvature for the radius, such as concave or convex. This is only set if the label explicitly states it (e.g., 'R10 concave').",
    )
    size: Size = Field(
        ...,
        description="Details about the size, including type, nominal value, tolerance, and unit.",
    )