mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Added sliceInfo plugin stub
This commit is contained in:
parent
b09f3e9d08
commit
bbebeeb66d
1 changed files with 19 additions and 0 deletions
19
plugins/SliceInfoPlugin/__init__.py
Normal file
19
plugins/SliceInfoPlugin/__init__.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) 2015 Ultimaker B.V.
|
||||
# Cura is released under the terms of the AGPLv3 or higher.
|
||||
from . import SliceInfo
|
||||
from UM.i18n import i18nCatalog
|
||||
catalog = i18nCatalog("cura")
|
||||
|
||||
def getMetaData():
|
||||
return {
|
||||
"plugin": {
|
||||
"name": "Slice Info",
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": catalog.i18nc("Slice Info plugin description", "Submits anonymous slice info. Can be disabled through preferences."),
|
||||
"api": 2
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return { "extension": SliceInfo.SliceInfo()}
|
Loading…
Add table
Add a link
Reference in a new issue