gcode-preview - v3.0.0-alpha.5
    Preparing search index...
    setPosition: CommandHandler = ...

    Executes a G92 set position command

    GCodeCommand containing the axis parameters

    Job instance to update

    G92 gives the current position new coordinates without moving the printhead, so it only adjusts state.positionShift so that each given axis value maps to the current physical position; the physical position and paths are untouched. A bare G92 without any words resets every axis (including E) to zero, following RepRap semantics. E is set directly on the state: as in Marlin, the extruder position is not part of the workspace shift. isHomed is also left untouched: G92 trusts the given coordinates but does not home the axes.