Skip to content

Radius

Radius holds curvature specifications, whether they describe fillets, rounds, or spherical features. It stores the numerical value, tolerance, and associated edges so downstream tools can verify that transitions meet design intent. The model also notes whether the radius is maximum, minimum, or reference only and captures any linked finishing requirements. Additional metadata records the view location, callout style, and confidence score to aid in traceability. Use it to program deburring operations, inspect blend transitions, or highlight where radii influence mold release, fatigue resistance, or fluid flow. Having radii centralized in a dedicated object makes it easier to compare revisions, automate CNC cutter selection, and ensure regulatory standards on edge treatments are consistently satisfied.

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