Added pointcloud alignment tool for scanner

This commit is contained in:
Jaime van Kessel 2015-04-15 14:45:56 +02:00
parent 0defece4bd
commit f40855a203
2 changed files with 12 additions and 3 deletions

View File

@ -15,6 +15,10 @@ from UM.Extension import Extension
from PyQt5.QtQuick import QQuickView
from PyQt5.QtCore import QUrl, QObject,pyqtSlot , pyqtProperty,pyqtSignal
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog('plugins')
class USBPrinterManager(QObject, SignalEmitter, Extension):
def __init__(self, parent = None):
super().__init__(parent)
@ -32,7 +36,7 @@ class USBPrinterManager(QObject, SignalEmitter, Extension):
self._bed_temp = 0
self._error_message = ""
self.addMenuItem("Update firmware", self.updateAllFirmware)
self.addMenuItem(i18n_catalog.i18n("Update firmware"), self.updateAllFirmware)
#time.sleep(1)
#self.connectAllConnections()

View File

@ -1,4 +1,9 @@
from . import USBPrinterManager
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog('plugins')
def getMetaData():
return {
'type': 'extension',
@ -6,7 +11,7 @@ def getMetaData():
'name': 'USB printing',
'author': 'Jaime van Kessel',
'version': '1.0',
'description': 'Accepts G-Code and sends them to a printer. Plugin can also update firmware '
'description': i18n_catalog.i18nc('usb printing description','Accepts G-Code and sends them to a printer. Plugin can also update firmware')
}
}