mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +08:00

This plug-in still works, so this can be incremented without trouble. Contributes to issue CURA-1278.
26 lines
665 B
Python
26 lines
665 B
Python
# Copyright (c) 2015 Ultimaker B.V.
|
|
# Cura is released under the terms of the AGPLv3 or higher.
|
|
|
|
from . import XRayView
|
|
|
|
from UM.i18n import i18nCatalog
|
|
catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"plugin": {
|
|
"name": catalog.i18nc("@label", "X-Ray View"),
|
|
"author": "Ultimaker",
|
|
"version": "1.0",
|
|
"description": catalog.i18nc("@info:whatsthis", "Provides the X-Ray view."),
|
|
"api": 3
|
|
},
|
|
"view": {
|
|
"name": catalog.i18nc("@item:inlistbox", "X-Ray"),
|
|
"weight": 1
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "view": XRayView.XRayView() }
|