mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Scaffold monitor stage
This commit is contained in:
parent
84ba486d57
commit
a5b99bd862
2 changed files with 30 additions and 0 deletions
11
plugins/MonitorStage/MonitorStage.py
Normal file
11
plugins/MonitorStage/MonitorStage.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from cura.Stages.CuraStage import CuraStage
|
||||
|
||||
|
||||
## Stage for monitoring a 3D printing while it's printing.
|
||||
class MonitorStage(CuraStage):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) 2017 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
|
||||
from . import MonitorStage
|
||||
|
||||
from UM.i18n import i18nCatalog
|
||||
i18n_catalog = i18nCatalog("cura")
|
||||
|
||||
def getMetaData():
|
||||
return {
|
||||
"stage": {
|
||||
"name": i18n_catalog.i18nc("@item:inmenu", "Monitor"),
|
||||
"weight": 0,
|
||||
"icon": ""
|
||||
}
|
||||
}
|
||||
|
||||
def register(app):
|
||||
return { "stage": MonitorStage.MonitorStage() }
|
Loading…
Add table
Add a link
Reference in a new issue