Welcome to mirror list, hosted at ThFree Co, Russian Federation.

__init__.py « DigitalLibrary « plugins - github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 968aef66eeabd615a56a5b8991f734526e7048e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (c) 2021 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.

from UM.MimeTypeDatabase import MimeType, MimeTypeDatabase
from .src import DigitalFactoryFileProvider, DigitalFactoryOutputDevicePlugin, DigitalFactoryController


def getMetaData():
    return {}


def register(app):
    df_controller = DigitalFactoryController.DigitalFactoryController(app)
    return {
        "file_provider": DigitalFactoryFileProvider.DigitalFactoryFileProvider(df_controller),
        "output_device": DigitalFactoryOutputDevicePlugin.DigitalFactoryOutputDevicePlugin(df_controller)
    }