CURA-4557 it's now a small button next to the job spec when one of the warping materials is selected

This commit is contained in:
Jack Ha 2018-03-21 16:55:58 +01:00
parent 25bf7a6aba
commit d8d226c0d6
6 changed files with 190 additions and 57 deletions

View file

@ -1,21 +1,14 @@
# Copyright (c) 2017 Ultimaker B.V.
# Copyright (c) 2018 Ultimaker B.V.
# This example is released under the terms of the AGPLv3 or higher.
from . import ModelChecker
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")
i18n_catalog = i18nCatalog("cura")
def getMetaData():
return {
"tool": {
"name": i18n_catalog.i18nc("@label", "Model Checker"),
"description": i18n_catalog.i18nc("@info:tooltip", "Checks models and print configuration for possible printing issues and give suggestions."),
"icon": "model_checker.svg",
"weight": 10
}
}
return {}
def register(app):
return { "tool": ModelChecker.ModelChecker() }
return { "extension": ModelChecker.ModelChecker() }