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

    Class Slic3rMetadataParser

    Abstract base class for slicer-specific metadata parsers

    Hierarchy (View Summary)

    Index
    identificationPatterns: RegExp[] = ...

    Patterns that identify this slicer in gcode comments

    slicerName: "Slic3r" = 'Slic3r'

    The name of the slicer this parser handles

    • Checks if this parser can handle the given gcode based on comments

      Parameters

      • commentCommands: GCodeCommand[]

        Array of gcode commands with comments

      • maxLines: number = 200

        How many of those commands to sample before giving up

      Returns boolean

      True if this parser can handle the gcode