mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-02 08:44:25 +08:00

This adds a set of variants that just set the nozzle diameter and nozzle tip diameter. These variants are not used until the machine action sets the has_variants metadata entry.
32 lines
1.1 KiB
Python
32 lines
1.1 KiB
Python
# Copyright (c) 2016 Ultimaker B.V.
|
|
# Cura is released under the terms of the AGPLv3 or higher.
|
|
|
|
from . import BedLevelMachineAction
|
|
from . import UpgradeFirmwareMachineAction
|
|
from . import UMOCheckupMachineAction
|
|
from . import UMOUpgradeSelection
|
|
from . import UM2UpgradeSelection
|
|
|
|
from UM.i18n import i18nCatalog
|
|
catalog = i18nCatalog("cura")
|
|
|
|
def getMetaData():
|
|
return {
|
|
"plugin": {
|
|
"name": catalog.i18nc("@label", "Ultimaker machine actions"),
|
|
"author": "Ultimaker",
|
|
"version": "1.0",
|
|
"description": catalog.i18nc("@info:whatsthis", "Provides machine actions for Ultimaker machines (such as bed leveling wizard, selecting upgrades, etc)"),
|
|
"api": 3
|
|
}
|
|
}
|
|
|
|
def register(app):
|
|
return { "machine_action": [
|
|
BedLevelMachineAction.BedLevelMachineAction(),
|
|
UpgradeFirmwareMachineAction.UpgradeFirmwareMachineAction(),
|
|
UMOCheckupMachineAction.UMOCheckupMachineAction(),
|
|
UMOUpgradeSelection.UMOUpgradeSelection(),
|
|
UM2UpgradeSelection.UM2UpgradeSelection()
|
|
]}
|