BlockSlicingDecorator.py 398 B

123456789101112131415
  1. # Copyright (c) 2018 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
  4. class BlockSlicingDecorator(SceneNodeDecorator):
  5. def __init__(self) -> None:
  6. super().__init__()
  7. def isBlockSlicing(self) -> bool:
  8. return True
  9. def __deepcopy__(self, memo):
  10. return BlockSlicingDecorator()