mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 05:39:37 +08:00
21 lines
508 B
Python
21 lines
508 B
Python
# Copyright (c) 2015 Ultimaker B.V.
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
from . import GCodeProfileReader
|
|
|
|
from UM.i18n import i18nCatalog
|
|
catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"profile_reader": [
|
|
{
|
|
"extension": "gcode",
|
|
"description": catalog.i18nc("@item:inlistbox", "G-code File")
|
|
}
|
|
]
|
|
}
|
|
|
|
def register(app):
|
|
return { "profile_reader": GCodeProfileReader.GCodeProfileReader() }
|