mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-06 08:26:07 +08:00
Added USB print stub
This commit is contained in:
commit
cd888ded32
6
USBPrintDevice.py
Normal file
6
USBPrintDevice.py
Normal file
@ -0,0 +1,6 @@
|
||||
from UM.StorageDevice import StorageDevice
|
||||
from UM.Signal import Signal, SignalEmitter
|
||||
|
||||
class USBPrintDevice(StorageDevice, SignalEmitter):
|
||||
def __init__(self):
|
||||
super().__init__()
|
15
__init__.py
Normal file
15
__init__.py
Normal file
@ -0,0 +1,15 @@
|
||||
from . import USBPrintDevice
|
||||
|
||||
def getMetaData():
|
||||
return {
|
||||
'type': 'storage_device',
|
||||
'plugin': {
|
||||
'name': 'Local File Storage',
|
||||
'author': 'Jaime van Kessel',
|
||||
'version': '1.0',
|
||||
'description': 'Accepts G-Code and sends them to a printer. '
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return USBPrintDevice.USBPrintDevice()
|
Loading…
x
Reference in New Issue
Block a user