Cura/plugins/GCodeGzReader/__init__.py
Ghostkeeper 378cde202c
Correct documentation
Contributes to issue CURA-5128.
2018-03-22 16:33:30 +01:00

22 lines
557 B
Python

# Copyright (c) 2018 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from . import GCodeGzReader
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
def getMetaData():
return {
"mesh_reader": [
{
"extension": "gcode.gz",
"description": i18n_catalog.i18nc("@item:inlistbox", "Compressed G-code File")
}
]
}
def register(app):
app.addNonSliceableExtension(".gcode.gz")
return { "mesh_reader": GCodeGzReader.GCodeGzReader() }