Skip to content

Depth

Depth represents measurements that define how far a feature extends into or out of the material. The object stores a depth type together with an optional size that carries the numeric value, unit, and tolerance information. By isolating depth data in a dedicated model, the API makes it straightforward to validate that cutting tools have the required reach, simulate machining time, or double-check clearances against mating components. The depth type distinguishes whether the feature is blind, goes through the material (or through all features), or is specified as an explicit size. Use it whenever you need a normalized representation of depth information pulled from varied drawing notations or symbols.

Bases: BaseModel

Represents the depth of a feature, such as a hole or bore.

PARAMETER DESCRIPTION
depth_type

TYPE: DepthType

size

TYPE: Size | None

Source code in werk24/models/v2/models.py
class Depth(BaseModel):
    """
    Represents the depth of a feature, such as a hole or bore.
    """

    depth_type: DepthType
    size: Optional[Size]