mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-27 16:12:00 +08:00
Added sliceInfo plugin stub
This commit is contained in:
parent
b09f3e9d08
commit
bbebeeb66d
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…
x
Reference in New Issue
Block a user