mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-25 07:39:25 +08:00

git-subtree-dir: plugins/USBPrinting git-subtree-mainline: 3823afd8cca1fe92b69082d51d0d50946b904e91 git-subtree-split: b28ca0881a6c2564f5447476f7b21de5645c10bd
20 lines
553 B
Python
20 lines
553 B
Python
from . import USBPrinterManager
|
|
|
|
from UM.i18n import i18nCatalog
|
|
|
|
i18n_catalog = i18nCatalog('plugins')
|
|
|
|
def getMetaData():
|
|
return {
|
|
'type': 'extension',
|
|
'plugin': {
|
|
'name': 'USB printing',
|
|
'author': 'Jaime van Kessel',
|
|
'version': '1.0',
|
|
'description': i18n_catalog.i18nc('usb printing description','Accepts G-Code and sends them to a printer. Plugin can also update firmware')
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return {"extension":USBPrinterManager.USBPrinterManager()}
|