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

    Format-agnostic parse options carried through the registry. A loader that has no use for a field ignores it; the bag stays generic so registering a new kind never widens the public seam.

    interface ModelLoadOptions {
        filamentPalette?: readonly (string | undefined)[];
    }
    Index
    filamentPalette?: readonly (string | undefined)[]

    3MF paint_color palette override (hex #RRGGBB per 0-based slot), instead of the file's own project_settings.config. Ignored by loaders that don't consume it (e.g. STL).