mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Added USB print stub
This commit is contained in:
commit
cd888ded32
2 changed files with 21 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue