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

    Class GCodeCommand

    Represents a parsed G-code command

    Index

    Constructors

    Properties

    Constructors

    • Creates a new GCodeCommand instance

      Parameters

      • src: string

        The original G-code line

      • gcode: string

        The parsed G-code command (e.g., 'g0', 'g1')

      • params: GCodeParameters

        The parsed parameters

      • Optionalcomment: string

        Optional comment from the G-code line

      Returns GCodeCommand

    Properties

    comment?: string

    Optional comment from the G-code line

    gcode: string

    The parsed G-code command (e.g., 'g0', 'g1')

    The parsed parameters

    src: string

    The original G-code line