G-code Preview — API Reference
    Preparing search index...
    interface Parse3mfOptions {
        filamentPalette?: readonly (undefined | string)[];
    }
    Index

    Properties

    Properties

    filamentPalette?: readonly (undefined | string)[]

    Override the source-model filament palette (hex #RRGGBB per 0-based slot) used to colour paint_color facets, instead of reading it from project_settings.config. For consumers that already hold a corrected/richer palette (e.g. re-rendering a sliced .gcode.3mf). Ignored when empty; the file's own palette is still read.