Cura/cura/Settings/AbstractMachine.py
joeydelarago b82f1f4a8c Add new Abstract machine stack type. This represents a type of printers (ultimaker_s3 etc).
These are created whenever a cloud printer of a new printer type is added.

CURA-9277

Co-authored-by: casperlamboo <c.lamboo@ultimaker.com>
2022-08-19 13:53:43 +02:00

17 lines
374 B
Python

from typing import List
from cura.Settings.GlobalStack import GlobalStack
class AbstractMachine(GlobalStack):
""" Behaves as a type of machine, represents multiple machines of the same type """
def __init__(self):
super(self)
self.setMetaDataEntry("type", "abstract_machine")
def getMachinesOfType(self) -> List[GlobalStack]:
pass