Interface AsukaParametricParameterMeasurement

Describes how a numeric parameter maps to a real length.

Recipes may keep their established storage format (for example 100 for 100 percent) while every editor presents the value in the view's selected production unit.

interface AsukaParametricParameterMeasurement {
    dimension: AsukaParametricLengthDimension;
    kind: "length";
    storage?: AsukaParametricLengthStorage;
    target?: string;
    unit?:
        | "mm"
        | "cm"
        | "m"
        | "in";
}

Properties

kind

Defaults to world-unit, unless the legacy parameter unit is %.

target?: string

Semantic part id. Omit it to use the complete product bounds.

unit?:
    | "mm"
    | "cm"
    | "m"
    | "in"

Source unit when storage is physical.