G-code Preview — API Reference
    Preparing search index...
    ModelSource:
        | { bytes: Uint8Array
        | ArrayBuffer; kind: "stl" }
        | { bytes: Uint8Array | ArrayBuffer; kind: "3mf" }
        | ModelScene

    A source model: STL bytes, 3MF bytes, or a pre-built ModelScene. This concrete union is the backward-compatible still-render input; it flows through the shared open-kind loader registry (ModelSourceInput, DD-021 §4.1), so any registered kind is also accepted.