mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-30 01:55:55 +08:00
26 lines
669 B
Python
26 lines
669 B
Python
# Copyright (c) 2017 Ultimaker B.V.
|
|
# Uranium is released under the terms of the LGPLv3 or higher.
|
|
|
|
from . import UCPWriter
|
|
|
|
from UM.i18n import i18nCatalog
|
|
|
|
i18n_catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"mesh_writer": {
|
|
"output": [
|
|
{
|
|
"mime_type": "application/x-ucp",
|
|
"mode": UCPWriter.UCPWriter.OutputMode.BinaryMode,
|
|
"extension": "UCP",
|
|
"description": i18n_catalog.i18nc("@item:inlistbox", "UCP File (WIP)")
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "mesh_writer": UCPWriter.UCPWriter() }
|