gcode-preview - v3.0.0-alpha.6
    Preparing search index...

    Interface ExtrusionDimensionMetadata

    A change of extrusion dimensions announced by slicer comments

    Slicers of the PrusaSlicer family announce the width and height of the extrusions that follow with standalone ;WIDTH: / ;HEIGHT: comments. These change many times within a single layer (per feature type, and per layer with adaptive layer height), so they are reported as individual line-indexed events rather than folded into the per-layer metadata.

    interface ExtrusionDimensionMetadata {
        height?: number;
        lineIndex: number;
        width?: number;
    }
    Index
    height?: number

    Line height in millimeters, when the comment announced one

    lineIndex: number

    Line index in the original gcode from which the change applies

    width?: number

    Extrusion width in millimeters, when the comment announced one