G-code Preview — API Reference
    Preparing search index...
    interface RenderModelStillResult {
        cacheKey: string;
        canvas: RenderTargetCanvas;
        decimationApplied: number;
        height: number;
        instancedCount: number;
        materials: Confidence;
        objectCount: number;
        plates?: { active?: number; list: ModelPlateSummary[] };
        width: number;
    }
    Index

    Properties

    cacheKey: string

    Stable identity for caching: hash(source) + options + envId.

    decimationApplied: number

    Every-Nth-triangle decimation applied to fit the LOD budget (1 = none, layer/geometry detail full). Field-parallel to the toolpath RenderStillResult.decimationApplied so a card badges "simplified for size" the same way. Always 1 until model LOD lands (DD-022 Phase 2); reserved so the field is stable.

    height: number
    instancedCount: number

    Total instance placements drawn (DD-022): > objectCount when the source reused geometry (a full-sheet plate of repeated copies), for an "N copies" badge. 1 per object when nothing is reused.

    materials: Confidence

    Whether source colors/materials were real — 'unavailable' means the neutral default was used.

    objectCount: number
    plates?: { active?: number; list: ModelPlateSummary[] }

    Declared plate structure (DD-025), present only when the source explicitly declares plates (capabilities.plates === 'known'); absent for a single/plate-less source. active is the source's declared active plate id when present.

    width: number