mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Display (uncomplete) configuration UI to export PCB file
CURA-11561
This commit is contained in:
parent
edd5cee41a
commit
b5b0575baf
10 changed files with 466 additions and 0 deletions
21
plugins/PCBWriter/__init__.py
Normal file
21
plugins/PCBWriter/__init__.py
Normal 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() }
|
Loading…
Add table
Add a link
Reference in a new issue