GCode Viewer Plugin
Changed in version 1.4.1.
The GCode Viewer plugin provides a GCode viewer based on Alex Ustyantsev’s work.
The viewer has been included in OctoPrint ever since the first releases back in 2013, however as of OctoPrint 1.4.1 it has been extracted into its own bundled plugin.
Configuring the plugin
The plugin supports the following configuration keys:
mobileSizeThreshold
: Whether to also enable tracking on unreleased OctoPrint versions (anything not stable releases or release candidates). Defaults tofalse
.
sizeThreshold
: Unique instance identifier, auto generated on first activation
skipUntilThis
: If this string is provided the GCode Viewer will search for this string, and if found, skip all gcode up until this string. This can be used to skip prime nozzle gcode in the preview
Source Code
The source of the GCode Viewer plugin is bundled with OctoPrint and can be
found in its source repository under src/octoprint/plugins/gcodeviewer
.