GCode Viewer Plugin

Changed in version 1.4.1.

The GCode Viewer plugin provides a GCode viewer based on Alex Ustyantsev’s work.

OctoPrint GCode Viewer Plugin

Fig. 16 An example of the GCode Viewer in action.

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 to false.

  • sizeThreshold: Unique instance identifier, auto generated on first activation

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.