mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 18:35:53 +08:00
31 lines
787 B
Python
31 lines
787 B
Python
# Copyright (c) 2025 UltiMaker
|
|
# Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
from . import PaintTool
|
|
from . import PaintView
|
|
|
|
from UM.i18n import i18nCatalog
|
|
i18n_catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"tool": {
|
|
"name": i18n_catalog.i18nc("@action:button", "Paint"),
|
|
"description": i18n_catalog.i18nc("@info:tooltip", "Paint Model"),
|
|
"icon": "Visual",
|
|
"tool_panel": "PaintTool.qml",
|
|
"weight": 0
|
|
},
|
|
"view": {
|
|
"name": i18n_catalog.i18nc("@item:inmenu", "Paint view"),
|
|
"weight": 0,
|
|
"visible": False
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return {
|
|
"tool": PaintTool.PaintTool(),
|
|
"view": PaintView.PaintView()
|
|
}
|