38 lines
1.2 KiB
ReStructuredText
38 lines
1.2 KiB
ReStructuredText
.. _sec-bundledplugins-gcodeviewer:
|
|
|
|
GCode Viewer Plugin
|
|
===================
|
|
|
|
.. versionchanged:: 1.4.1
|
|
|
|
The GCode Viewer plugin provides a GCode viewer based on `Alex Ustyantsev's work <https://github.com/hudbrog/gCodeViewer>`_.
|
|
|
|
.. _fig-bundledplugins-gcodeviewer-example:
|
|
.. figure:: ../images/bundledplugins-gcodeviewer-example.png
|
|
:align: center
|
|
:alt: OctoPrint GCode Viewer Plugin
|
|
|
|
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.
|
|
|
|
.. _sec-bundledplugins-gcodeviewer-configuration:
|
|
|
|
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
|
|
|
|
.. _sec-bundledplugins-gcodeviewer-sourcecode:
|
|
|
|
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``.
|