G-code Preview — API Reference
    Preparing search index...

    What the source file itself says about where its parts sit on a plate (DD-032 §4.3). Present only when the loader positively recognised the file; never inferred from geometry. The viewer uses it to decide how honestly it can draw a build plate under the model (ModelPreviewState.placement):

    • slicerProject is 'bambu-orca' only when the 3MF carries a Bambu/Orca slicer project config (Metadata/project_settings.config or Metadata/model_settings.config). Only such a file's transforms can be read as plate coordinates; an STL, a CAD 3MF or a PrusaSlicer 3MF never sets it, so its parts are drawn as approximated, not as placed.
    • printableArea is that project's declared bed (the axis-aligned box of its printable_area polygon, mm). It is omitted when the file has no such field or it could not be read as a valid polygon (fewer than three finite points, a point over 64 characters, or zero area). The plate is always drawn on the consumer's build volume; a printableArea that does not match it within 1 mm per edge makes the placement approximated.

    Absence means "the file did not say", never "the file says no".

    interface ModelSceneSource {
        printableArea?: {
            max: readonly [number, number];
            min: readonly [number, number];
        };
        slicerProject?: "bambu-orca";
    }
    Index
    printableArea?: {
        max: readonly [number, number];
        min: readonly [number, number];
    }
    slicerProject?: "bambu-orca"