Cura-MaterialPrintTempCorre.../__init__.py
2022-02-11 20:34:13 +01:00

24 lines
984 B
Python

# Copyright (c) 2022 ManuelW
# The Temperature Profile Correction Plugin is released under the terms of the AGPLv3 or higher.
from . import TemperatureCalculatorPlugin
## Defines additional metadata for the plug-in.
#
# Some types of plug-ins require additional metadata, such as which file types
# they are able to read or the name of the tool they define. In the case of
# the "Extension" type plug-in, there is no additional metadata though.
def getMetaData():
return {}
## Lets Uranium know that this plug-in exists.
#
# This is called when starting the application to find out which plug-ins
# exist and what their types are. We need to return a dictionary mapping from
# strings representing plug-in types (in this case "extension") to objects
# that inherit from PluginObject.
#
# \param app The application that the plug-in needs to register with.
def register(app):
return {"extension": TemperatureCalculatorPlugin.TemperatureCalculatorPlugin()}