G-code Preview — API Reference
    Preparing search index...
    • The slicer filament palette from a parsed project_settings.config: the filament_colour array, one hex string per filament slot (0-based), undefined where a slot has no colour. This is the single source of the "which key is the palette" semantics — shared so the model presentation renderer (@chestnutlabs/gcode-model-renderer) reads the same palette for source-model painting (Bambu/Orca paint_color) instead of duplicating it. Empty array when the key is absent/malformed.

      Parameters

      • settings: Record<string, unknown>

      Returns (undefined | string)[]