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

__init__.py « GCodeProfileReader « plugins - github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a5ebb074c883e085a244a360300b44e9bab5a0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.

from . import GCodeProfileReader

from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")

def getMetaData():
    return {
        "plugin": {
            "name": catalog.i18nc("@label", "GCode Profile Reader"),
            "author": "Ultimaker",
            "version": "1.0",
            "description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from g-code files."),
            "api": 2
        },
        "profile_reader": {
            "extension": "gcode",
            "description": catalog.i18nc("@item:inlistbox", "G-code File")
        }
    }

def register(app):
    return { "profile_reader": GCodeProfileReader.GCodeProfileReader() }