mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Added sliceInfo
This commit is contained in:
parent
9b6ed1f0ee
commit
dafe0c8b0d
1 changed files with 14 additions and 0 deletions
14
plugins/SliceInfoPlugin/SliceInfo.py
Normal file
14
plugins/SliceInfoPlugin/SliceInfo.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2015 Ultimaker B.V.
|
||||
# Cura is released under the terms of the AGPLv3 or higher.
|
||||
|
||||
from UM.Extension import Extension
|
||||
from UM.Application import Application
|
||||
|
||||
class SliceInfo(Extension):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
Application.getInstance().getOutputDeviceManager().writeStarted.connect(self._onWriteStarted)
|
||||
|
||||
def _onWriteStarted(self, output_device):
|
||||
print("Write started")
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue