Add SolidView plugin, which is what used to be Uranium's MeshView

This commit is contained in:
Arjen Hiemstra 2015-12-08 13:48:52 +01:00
parent 9900a0b327
commit c5689e6256
3 changed files with 193 additions and 0 deletions

View file

@ -0,0 +1,24 @@
# Copyright (c) 2015 Ultimaker B.V.
# Uranium is released under the terms of the AGPLv3 or higher.
from . import SolidView
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
def getMetaData():
return {
"plugin": {
"name": i18n_catalog.i18nc("@label", "Solid View"),
"author": "Ultimaker",
"version": "1.0",
"decription": i18n_catalog.i18nc("@info:whatsthis", "Provides a normal solid mesh view."),
"api": 2
},
"view": {
"name": i18n_catalog.i18nc("@item:inmenu", "Solid")
}
}
def register(app):
return { "view": SolidView.SolidView() }