mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
CURA-5128 WIP compressed g-code reader
This commit is contained in:
parent
6443db5853
commit
457b3543d7
3 changed files with 62 additions and 0 deletions
21
plugins/GCodeGzReader/__init__.py
Normal file
21
plugins/GCodeGzReader/__init__.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Copyright (c) 2016 Aleph Objects, Inc.
|
||||
# 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() }
|
Loading…
Add table
Add a link
Reference in a new issue