Display (uncomplete) configuration UI to export PCB file

CURA-11561
This commit is contained in:
Erwan MATHIEU 2024-01-26 14:01:26 +01:00
parent edd5cee41a
commit b5b0575baf
10 changed files with 466 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Copyright (c) 2024 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
import sys
from . import PCBWriter
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
def getMetaData():
return {"mesh_writer": {
"output": [{
"extension": "pcb",
"description": i18n_catalog.i18nc("@item:inlistbox", "Pre-Configured Batch file"),
"mime_type": "application/vnd.um.preconfigured-batch+3mf",
"mode": PCBWriter.PCBWriter.OutputMode.BinaryMode
}]
}}
def register(app):
return {"mesh_writer": PCBWriter.PCBWriter() }