mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add a working X-Ray view
This commit is contained in:
parent
e0d6cd6f90
commit
8a5f2b347a
5 changed files with 227 additions and 0 deletions
24
plugins/XRayView/__init__.py
Normal file
24
plugins/XRayView/__init__.py
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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": 2
|
||||
},
|
||||
"view": {
|
||||
"name": catalog.i18nc("@item:inlistbox", "X-Ray")
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return { "view": XRayView.XRayView() }
|
Loading…
Add table
Add a link
Reference in a new issue