@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface SetLayoutPart

    One placed part of a set's plan. (x, y) is the part's CENTRE in cm, origin at the plan's top-left (the back at the top), y downwards; rot turns it clockwise about that centre. w/d (cm) and drawingPath (CDN-relative path of the product's top-view drawing) are filled in by the server from the product when the set is saved, so an order can draw the plan from its lines alone.

    interface SetLayoutPart {
        d?: number | null;
        drawingPath?: string | null;
        lineRef?: string;
        rot: 0 | 90 | 180 | 270;
        sku: string;
        w?: number | null;
        x: number;
        y: number;
    }
    Index
    d?: number | null
    drawingPath?: string | null
    lineRef?: string

    Your own reference for the part (≤ 64 chars), kept as sent.

    rot: 0 | 90 | 180 | 270
    sku: string
    w?: number | null
    x: number
    y: number