Cura/plugins/AMFReader/__init__.py
Jaime van Kessel 0a136b58f0 Also add the right metadata to the AMF plugin.
This ensures that the filetype shows up in the supported types of the open window
2019-04-30 11:38:55 +02:00

22 lines
479 B
Python

# Copyright (c) 2019 fieldOfView
# Cura is released under the terms of the LGPLv3 or higher.
from . import AMFReader
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")
def getMetaData():
return {
"mesh_reader": [
{
"extension": "amf",
"description": i18n_catalog.i18nc("@item:inlistbox", "AMF File")
}
]
}
def register(app):
return {"mesh_reader": AMFReader.AMFReader()}