G-code Preview — API Reference
    Preparing search index...
    interface OpenedBgcode {
        id: "bgcode";
        metadata: {
            machine?: MachineGeometry;
            raw: Record<string, string>;
            warnings: { code: string; message: string }[];
        };
        plates: { estimatedBytes: number; index: number; name: string }[];
        thumbnails: BgcodeThumbnail[];
        openPlate(index: number): BgcodeStreamLike;
    }
    Index

    Properties

    id: "bgcode"
    metadata: {
        machine?: MachineGeometry;
        raw: Record<string, string>;
        warnings: { code: string; message: string }[];
    }
    plates: { estimatedBytes: number; index: number; name: string }[]
    thumbnails: BgcodeThumbnail[]

    Thumbnails from the container (bgcode carries them as binary blocks, not G-code comments).

    Methods