__init__.py 552 B

12345678910111213141516
  1. # Copyright (c) 2021 Ultimaker B.V.
  2. # Cura is released under the terms of the LGPLv3 or higher.
  3. from .src import DigitalFactoryFileProvider, DigitalFactoryOutputDevicePlugin, DigitalFactoryController
  4. def getMetaData():
  5. return {}
  6. def register(app):
  7. df_controller = DigitalFactoryController.DigitalFactoryController(app)
  8. return {
  9. "file_provider": DigitalFactoryFileProvider.DigitalFactoryFileProvider(df_controller),
  10. "output_device": DigitalFactoryOutputDevicePlugin.DigitalFactoryOutputDevicePlugin(df_controller)
  11. }