Cura/plugins/LayerView/__init__.py
2015-05-11 12:18:05 +02:00

27 lines
680 B
Python

# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from . import LayerView
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
def getMetaData():
return {
"type": "view",
"plugin": {
"name": "Layer View",
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("Layer View plugin description", "Provides the Layer view.")
},
"view": {
"name": catalog.i18nc("Layers View mode", "Layers"),
"view_panel": "LayerView.qml"
}
}
def register(app):
return { "view": LayerView.LayerView() }