Moved certain meta data entries to seperate file

CURA-3856 & CURA-3712
This commit is contained in:
Jaime van Kessel 2017-06-21 11:22:35 +02:00
parent 015c253252
commit 44125d3275
54 changed files with 224 additions and 203 deletions

View file

@ -22,15 +22,7 @@ def getMetaData() -> Dict:
else: else:
workspace_extension = "curaproject.3mf" workspace_extension = "curaproject.3mf"
metaData = { metaData = {}
"plugin": {
"name": catalog.i18nc("@label", "3MF Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading 3MF files."),
"api": 3
}
}
if "3MFReader.ThreeMFReader" in sys.modules: if "3MFReader.ThreeMFReader" in sys.modules:
metaData["mesh_reader"] = [ metaData["mesh_reader"] = [
{ {

View file

@ -0,0 +1,8 @@
{
"name": "3MF Reader",
"author": "Ultimaker",
"version": "1.0.0",
"description": "Provides support for reading 3MF files.",
"api": 4,
"catalog": "cura"
}

View file

@ -21,15 +21,7 @@ def getMetaData():
else: else:
workspace_extension = "curaproject.3mf" workspace_extension = "curaproject.3mf"
metaData = { metaData = {}
"plugin": {
"name": i18n_catalog.i18nc("@label", "3MF Writer"),
"author": "Ultimaker",
"version": "1.0",
"description": i18n_catalog.i18nc("@info:whatsthis", "Provides support for writing 3MF files."),
"api": 3
}
}
if "3MFWriter.ThreeMFWriter" in sys.modules: if "3MFWriter.ThreeMFWriter" in sys.modules:
metaData["mesh_writer"] = { metaData["mesh_writer"] = {

View file

@ -0,0 +1,8 @@
{
"name": "3MF Writer",
"author": "Ultimaker",
"version": "1.0.0",
"description": "Provides support for writing 3MF files.",
"api": 4,
"catalog": "cura"
}

View file

@ -7,15 +7,7 @@ from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura") catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {}
"plugin": {
"name": catalog.i18nc("@label", "Auto Save"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Automatically saves Preferences, Machines and Profiles after changes."),
"api": 3
},
}
def register(app): def register(app):
return { "extension": AutoSave.AutoSave() } return { "extension": AutoSave.AutoSave() }

View file

@ -0,0 +1,8 @@
{
"name": "Auto Save",
"author": "Ultimaker",
"version": "1.0.0",
"description": "Automatically saves Preferences, Machines and Profiles after changes.",
"api": 4,
"catalog": "cura"
}

View file

@ -7,15 +7,7 @@ from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura") catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {}
"plugin": {
"name": catalog.i18nc("@label", "Changelog"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Shows changes since latest checked version."),
"api": 3
}
}
def register(app): def register(app):
return {"extension": ChangeLog.ChangeLog()} return {"extension": ChangeLog.ChangeLog()}

View file

@ -0,0 +1,8 @@
{
"name": "Changelog",
"author": "Ultimaker",
"version": "1.0.0",
"description": "Shows changes since latest checked version.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,14 +8,7 @@ from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura") catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {}
"plugin": {
"name": catalog.i18nc("@label", "CuraEngine Backend"),
"author": "Ultimaker",
"description": catalog.i18nc("@info:whatsthis", "Provides the link to the CuraEngine slicing backend."),
"api": 3
}
}
def register(app): def register(app):
return { "backend": CuraEngineBackend.CuraEngineBackend() } return { "backend": CuraEngineBackend.CuraEngineBackend() }

View file

@ -0,0 +1,8 @@
{
"name": "CuraEngine Backend",
"author": "Ultimaker",
"description": "Provides the link to the CuraEngine slicing backend.",
"api": 4,
"version": "1.0.0",
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Cura Profile Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing Cura profiles."),
"api": 3
},
"profile_reader": [ "profile_reader": [
{ {
"extension": "curaprofile", "extension": "curaprofile",

View file

@ -0,0 +1,8 @@
{
"name": "Cura Profile Reader",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides support for importing Cura profiles.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Cura Profile Writer"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for exporting Cura profiles."),
"api": 3
},
"profile_writer": [ "profile_writer": [
{ {
"extension": "curaprofile", "extension": "curaprofile",

View file

@ -0,0 +1,8 @@
{
"name": "Cura Profile Writer",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides support for exporting Cura profiles.",
"api": 4,
"catalog":"cura"
}

View file

@ -8,13 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "GCode Profile Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from g-code files."),
"api": 3
},
"profile_reader": [ "profile_reader": [
{ {
"extension": "gcode", "extension": "gcode",

View file

@ -0,0 +1,8 @@
{
"name": "GCode Profile Reader",
"author": "Ultimaker",
"version": "1.0.0",
"description": "Provides support for importing profiles from g-code files.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ i18n_catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": i18n_catalog.i18nc("@label", "G-code Reader"),
"author": "Victor Larchenko",
"version": "1.0",
"description": i18n_catalog.i18nc("@info:whatsthis", "Allows loading and displaying G-code files."),
"api": 3
},
"mesh_reader": [ "mesh_reader": [
{ {
"extension": "gcode", "extension": "gcode",

View file

@ -0,0 +1,8 @@
{
"name": "G-code Reader",
"author": "Victor Larchenko",
"version": "1.0",
"description": "Allows loading and displaying G-code files.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,7 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "GCode Writer"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Writes GCode to a file."),
"api": 3
},
"mesh_writer": { "mesh_writer": {
"output": [{ "output": [{

View file

@ -0,0 +1,8 @@
{
"name": "GCode Writer",
"author": "Ultimaker",
"version": "1.0",
"description": "Writes GCode to a file.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ i18n_catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": i18n_catalog.i18nc("@label", "Image Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": i18n_catalog.i18nc("@info:whatsthis", "Enables ability to generate printable geometry from 2D image files."),
"api": 3
},
"mesh_reader": [ "mesh_reader": [
{ {
"extension": "jpg", "extension": "jpg",

View file

@ -0,0 +1,8 @@
{
"name": "Image Reader",
"author": "Ultimaker",
"version": "1.0",
"description": "Enables ability to generate printable geometry from 2D image files.",
"api": 4,
"catalog": "cura"
}

View file

@ -9,13 +9,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Layer View"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides the Layer view."),
"api": 3
},
"view": { "view": {
"name": catalog.i18nc("@item:inlistbox", "Layers"), "name": catalog.i18nc("@item:inlistbox", "Layers"),
"view_panel": "LayerView.qml", "view_panel": "LayerView.qml",

View file

@ -0,0 +1,8 @@
{
"name": "Layer View",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides the Layer view.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Legacy Cura Profile Reader"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides support for importing profiles from legacy Cura versions."),
"api": 3
},
"profile_reader": [ "profile_reader": [
{ {
"extension": "ini", "extension": "ini",

View file

@ -0,0 +1,8 @@
{
"name": "Legacy Cura Profile Reader",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides support for importing profiles from legacy Cura versions.",
"api": 4,
"catalog": "cura"
}

View file

@ -7,15 +7,7 @@ from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura") catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {}
"plugin": {
"name": catalog.i18nc("@label", "Machine Settings action"),
"author": "fieldOfView",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides a way to change machine settings (such as build volume, nozzle size, etc)"),
"api": 3
}
}
def register(app): def register(app):
return { "machine_action": MachineSettingsAction.MachineSettingsAction() } return { "machine_action": MachineSettingsAction.MachineSettingsAction() }

View file

@ -0,0 +1,8 @@
{
"name": "Machine Settings action",
"author": "fieldOfView",
"version": "1.0.0",
"description": "Provides a way to change machine settings (such as build volume, nozzle size, etc)",
"api": 4,
"catalog": "cura"
}

View file

@ -10,13 +10,6 @@ i18n_catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": i18n_catalog.i18nc("@label", "Per Model Settings Tool"),
"author": "Ultimaker",
"version": "1.0",
"description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Model Settings."),
"api": 3
},
"tool": { "tool": {
"name": i18n_catalog.i18nc("@label", "Per Model Settings"), "name": i18n_catalog.i18nc("@label", "Per Model Settings"),
"description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Model Settings"), "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Model Settings"),

View file

@ -0,0 +1,8 @@
{
"name": "Per Model Settings Tool",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides the Per Model Settings.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Removable Drive Output Device Plugin"),
"author": "Ultimaker B.V.",
"description": catalog.i18nc("@info:whatsthis", "Provides removable drive hotplugging and writing support."),
"version": "1.0",
"api": 3
}
} }
def register(app): def register(app):

View file

@ -0,0 +1,8 @@
{
"name": "Removable Drive Output Device Plugin",
"author": "Ultimaker B.V.",
"description": "Provides removable drive hotplugging and writing support.",
"version": "1.0",
"api": 4,
"catalog": "cura"
}

View file

@ -6,13 +6,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Slice info"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Submits anonymous slice info. Can be disabled through preferences."),
"api": 3
}
} }
def register(app): def register(app):

View file

@ -0,0 +1,8 @@
{
"name": "Slice info",
"author": "Ultimaker",
"version": "1.0",
"description": "Submits anonymous slice info. Can be disabled through preferences.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ i18n_catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": i18n_catalog.i18nc("@label", "Solid View"),
"author": "Ultimaker",
"version": "1.0",
"description": i18n_catalog.i18nc("@info:whatsthis", "Provides a normal solid mesh view."),
"api": 3
},
"view": { "view": {
"name": i18n_catalog.i18nc("@item:inmenu", "Solid"), "name": i18n_catalog.i18nc("@item:inmenu", "Solid"),
"weight": 0 "weight": 0

View file

@ -0,0 +1,8 @@
{
"name": "Solid View",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides a normal solid mesh view.",
"api": 4,
"catalog": "cura"
}

View file

@ -6,15 +6,7 @@ from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura") catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {}
"plugin": {
"name": "UM3 Network Connection",
"author": "Ultimaker",
"description": catalog.i18nc("@info:whatsthis", "Manages network connections to Ultimaker 3 printers"),
"version": "1.0",
"api": 3
}
}
def register(app): def register(app):
return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()} return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()}

View file

@ -0,0 +1,8 @@
{
"name": "UM3 Network Connection",
"author": "Ultimaker",
"description": "Manages network connections to Ultimaker 3 printers",
"version": "1.0",
"api": 4,
"catalog": "cura"
}

View file

@ -8,14 +8,6 @@ i18n_catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"type": "extension",
"plugin": {
"name": i18n_catalog.i18nc("@label", "USB printing"),
"author": "Ultimaker",
"version": "1.0",
"api": 3,
"description": i18n_catalog.i18nc("@info:whatsthis","Accepts G-Code and sends them to a printer. Plugin can also update firmware.")
}
} }
def register(app): def register(app):

View file

@ -0,0 +1,8 @@
{
"name": "USB printing",
"author": "Ultimaker",
"version": "1.0",
"api": 4,
"description": "Accepts G-Code and sends them to a printer. Plugin can also update firmware.",
"catalog": "cura"
}

View file

@ -12,13 +12,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { 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): def register(app):

View file

@ -0,0 +1,8 @@
{
"name": "Ultimaker machine actions",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides machine actions for Ultimaker machines (such as bed leveling wizard, selecting upgrades, etc)",
"api": 4,
"catalog": "cura"
}

View file

@ -10,13 +10,6 @@ upgrade = VersionUpgrade21to22.VersionUpgrade21to22()
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Version Upgrade 2.1 to 2.2"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Upgrades configurations from Cura 2.1 to Cura 2.2."),
"api": 3
},
"version_upgrade": { "version_upgrade": {
# From To Upgrade function # From To Upgrade function
("profile", 1000000): ("quality", 2000000, upgrade.upgradeProfile), ("profile", 1000000): ("quality", 2000000, upgrade.upgradeProfile),

View file

@ -0,0 +1,8 @@
{
"name": "Version Upgrade 2.1 to 2.2",
"author": "Ultimaker",
"version": "1.0",
"description": "Upgrades configurations from Cura 2.1 to Cura 2.2.",
"api": 4,
"catalog": "cura"
}

View file

@ -10,13 +10,6 @@ upgrade = VersionUpgrade.VersionUpgrade22to24()
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Version Upgrade 2.2 to 2.4"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Upgrades configurations from Cura 2.2 to Cura 2.4."),
"api": 3
},
"version_upgrade": { "version_upgrade": {
# From To Upgrade function # From To Upgrade function
("machine_instance", 2000000): ("machine_stack", 3000000, upgrade.upgradeMachineInstance), ("machine_instance", 2000000): ("machine_stack", 3000000, upgrade.upgradeMachineInstance),

View file

@ -0,0 +1,8 @@
{
"name": "Version Upgrade 2.2 to 2.4",
"author": "Ultimaker",
"version": "1.0",
"description": "Upgrades configurations from Cura 2.2 to Cura 2.4.",
"api": 4,
"catalog": "cura"
}

View file

@ -10,13 +10,6 @@ upgrade = VersionUpgrade25to26.VersionUpgrade25to26()
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Version Upgrade 2.5 to 2.6"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Upgrades configurations from Cura 2.5 to Cura 2.6."),
"api": 3
},
"version_upgrade": { "version_upgrade": {
# From To Upgrade function # From To Upgrade function
("preferences", 4000000): ("preferences", 4000001, upgrade.upgradePreferences), ("preferences", 4000000): ("preferences", 4000001, upgrade.upgradePreferences),

View file

@ -0,0 +1,8 @@
{
"name": "Version Upgrade 2.5 to 2.6",
"author": "Ultimaker",
"version": "1.0",
"description": "Upgrades configurations from Cura 2.5 to Cura 2.6.",
"api": 4,
"catalog": "cura"
}

View file

@ -7,13 +7,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "X3D Reader"),
"author": "Seva Alekseyev",
"version": "0.5",
"description": catalog.i18nc("@info:whatsthis", "Provides support for reading X3D files."),
"api": 3
},
"mesh_reader": [ "mesh_reader": [
{ {
"extension": "x3d", "extension": "x3d",

View file

@ -0,0 +1,8 @@
{
"name": "X3D Reader",
"author": "Seva Alekseyev",
"version": "0.5",
"description": "Provides support for reading X3D files.",
"api": 4,
"catalog": "cura"
}

View file

@ -8,13 +8,6 @@ catalog = i18nCatalog("cura")
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "X-Ray View"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides the X-Ray view."),
"api": 3
},
"view": { "view": {
"name": catalog.i18nc("@item:inlistbox", "X-Ray"), "name": catalog.i18nc("@item:inlistbox", "X-Ray"),
"weight": 1 "weight": 1

View file

@ -0,0 +1,8 @@
{
"name": "X-Ray View",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides the X-Ray view.",
"api": 4,
"catalog": "cura"
}

View file

@ -14,13 +14,6 @@ upgrader = XmlMaterialUpgrader.XmlMaterialUpgrader()
def getMetaData(): def getMetaData():
return { return {
"plugin": {
"name": catalog.i18nc("@label", "Material Profiles"),
"author": "Ultimaker",
"version": "1.0",
"description": catalog.i18nc("@info:whatsthis", "Provides capabilities to read and write XML-based material profiles."),
"api": 3
},
"settings_container": { "settings_container": {
"type": "material", "type": "material",
"mimetype": "application/x-ultimaker-material-profile" "mimetype": "application/x-ultimaker-material-profile"

View file

@ -0,0 +1,8 @@
{
"name": "Material Profiles",
"author": "Ultimaker",
"version": "1.0",
"description": "Provides capabilities to read and write XML-based material profiles.",
"api": 4,
"catalog": "cura"
}