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

    Optional result metadata riding beside the IR (DD-005 §4.2) — no IR schema bump; structured-cloneable across the worker boundary (thumbnail bytes transferable).

    interface DialectMetadata {
        dialects?: DialectDetection[];
        filaments?: FilamentInfo[];
        filamentUsage?: FilamentUsage;
        machine?: MachineGeometry;
        plates?: { list: readonly PlateSummary[]; parsed: number };
        printEstimate?: PrintEstimate;
        raw?: Record<string, string>;
        thumbnails?: ThumbnailData[];
    }
    Index

    Properties

    dialects?: DialectDetection[]

    Every applied adapter (composition, amendment 1).

    filaments?: FilamentInfo[]
    filamentUsage?: FilamentUsage

    Slicer-reported total filament consumption (#183); absent when not emitted.

    machine?: MachineGeometry
    plates?: { list: readonly PlateSummary[]; parsed: number }

    Multi-plate container plates (#306/#3): the discovered plates and which one was parsed into this IR. Absent for non-container / single-plate sources. One plate is parsed at a time — plates are never merged into one scene; re-parse with parseOptions.plate to select another.

    printEstimate?: PrintEstimate

    The slicer's own print-time estimate (#183); absent when not emitted.

    raw?: Record<string, string>

    Whitelisted key/value settings only — bounded, never local paths.

    thumbnails?: ThumbnailData[]