diff options
author | Jaime van Kessel <nallath@gmail.com> | 2017-06-21 12:22:35 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2017-06-21 12:22:35 +0300 |
commit | 44125d327550c2ffd34b82625eafa34409a964d2 (patch) | |
tree | 6bc37be1f1c3a59559271ea9ecac0db80f9e6879 /plugins | |
parent | 015c253252ffb7235a45e86d060a3c496338656e (diff) |
Moved certain meta data entries to seperate file
CURA-3856 & CURA-3712
Diffstat (limited to 'plugins')
54 files changed, 224 insertions, 203 deletions
diff --git a/plugins/3MFReader/__init__.py b/plugins/3MFReader/__init__.py index 7453c8cb0a..9ed15cf43f 100644 --- a/plugins/3MFReader/__init__.py +++ b/plugins/3MFReader/__init__.py @@ -22,15 +22,7 @@ def getMetaData() -> Dict: else: workspace_extension = "curaproject.3mf" - 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 - } - } + metaData = {} if "3MFReader.ThreeMFReader" in sys.modules: metaData["mesh_reader"] = [ { diff --git a/plugins/3MFReader/plugin.json b/plugins/3MFReader/plugin.json new file mode 100644 index 0000000000..fa4578e017 --- /dev/null +++ b/plugins/3MFReader/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "3MF Reader", + "author": "Ultimaker", + "version": "1.0.0", + "description": "Provides support for reading 3MF files.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/3MFWriter/__init__.py b/plugins/3MFWriter/__init__.py index b811fb41b5..7395e54502 100644 --- a/plugins/3MFWriter/__init__.py +++ b/plugins/3MFWriter/__init__.py @@ -21,15 +21,7 @@ def getMetaData(): else: workspace_extension = "curaproject.3mf" - 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 - } - } + metaData = {} if "3MFWriter.ThreeMFWriter" in sys.modules: metaData["mesh_writer"] = { diff --git a/plugins/3MFWriter/plugin.json b/plugins/3MFWriter/plugin.json new file mode 100644 index 0000000000..fea792f904 --- /dev/null +++ b/plugins/3MFWriter/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "3MF Writer", + "author": "Ultimaker", + "version": "1.0.0", + "description": "Provides support for writing 3MF files.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/AutoSave/__init__.py b/plugins/AutoSave/__init__.py index 7e70ebe0a2..dbf39e08cf 100644 --- a/plugins/AutoSave/__init__.py +++ b/plugins/AutoSave/__init__.py @@ -7,15 +7,7 @@ from UM.i18n import i18nCatalog catalog = i18nCatalog("cura") def getMetaData(): - 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 - }, - } + return {} def register(app): return { "extension": AutoSave.AutoSave() } diff --git a/plugins/AutoSave/plugin.json b/plugins/AutoSave/plugin.json new file mode 100644 index 0000000000..f5bf2ba4e1 --- /dev/null +++ b/plugins/AutoSave/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/ChangeLogPlugin/__init__.py b/plugins/ChangeLogPlugin/__init__.py index 8466bfaa1b..dbeac8cb2d 100644 --- a/plugins/ChangeLogPlugin/__init__.py +++ b/plugins/ChangeLogPlugin/__init__.py @@ -7,15 +7,7 @@ from UM.i18n import i18nCatalog catalog = i18nCatalog("cura") def getMetaData(): - 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 - } - } + return {} def register(app): return {"extension": ChangeLog.ChangeLog()} diff --git a/plugins/ChangeLogPlugin/plugin.json b/plugins/ChangeLogPlugin/plugin.json new file mode 100644 index 0000000000..d9d5e91679 --- /dev/null +++ b/plugins/ChangeLogPlugin/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "Changelog", + "author": "Ultimaker", + "version": "1.0.0", + "description": "Shows changes since latest checked version.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/CuraEngineBackend/__init__.py b/plugins/CuraEngineBackend/__init__.py index 2e652ae845..a5269d03cd 100644 --- a/plugins/CuraEngineBackend/__init__.py +++ b/plugins/CuraEngineBackend/__init__.py @@ -8,14 +8,7 @@ from UM.i18n import i18nCatalog catalog = i18nCatalog("cura") def getMetaData(): - 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 - } - } + return {} def register(app): return { "backend": CuraEngineBackend.CuraEngineBackend() } diff --git a/plugins/CuraEngineBackend/plugin.json b/plugins/CuraEngineBackend/plugin.json new file mode 100644 index 0000000000..076b0ca88d --- /dev/null +++ b/plugins/CuraEngineBackend/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/CuraProfileReader/__init__.py b/plugins/CuraProfileReader/__init__.py index c4206ab763..bbf446fc5f 100644 --- a/plugins/CuraProfileReader/__init__.py +++ b/plugins/CuraProfileReader/__init__.py @@ -8,13 +8,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "curaprofile", diff --git a/plugins/CuraProfileReader/plugin.json b/plugins/CuraProfileReader/plugin.json new file mode 100644 index 0000000000..5614d38e79 --- /dev/null +++ b/plugins/CuraProfileReader/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "Cura Profile Reader", + "author": "Ultimaker", + "version": "1.0", + "description": "Provides support for importing Cura profiles.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/CuraProfileWriter/__init__.py b/plugins/CuraProfileWriter/__init__.py index 30528b8167..244ba580cd 100644 --- a/plugins/CuraProfileWriter/__init__.py +++ b/plugins/CuraProfileWriter/__init__.py @@ -8,13 +8,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "curaprofile", diff --git a/plugins/CuraProfileWriter/plugin.json b/plugins/CuraProfileWriter/plugin.json new file mode 100644 index 0000000000..e3a5782a12 --- /dev/null +++ b/plugins/CuraProfileWriter/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "Cura Profile Writer", + "author": "Ultimaker", + "version": "1.0", + "description": "Provides support for exporting Cura profiles.", + "api": 4, + "catalog":"cura" +}
\ No newline at end of file diff --git a/plugins/GCodeProfileReader/__init__.py b/plugins/GCodeProfileReader/__init__.py index 690ef69376..a5912e3cb3 100644 --- a/plugins/GCodeProfileReader/__init__.py +++ b/plugins/GCodeProfileReader/__init__.py @@ -8,13 +8,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "gcode", diff --git a/plugins/GCodeProfileReader/plugin.json b/plugins/GCodeProfileReader/plugin.json new file mode 100644 index 0000000000..1337d8dfba --- /dev/null +++ b/plugins/GCodeProfileReader/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/GCodeReader/__init__.py b/plugins/GCodeReader/__init__.py index 2ff412e757..7cabeaf5a8 100644 --- a/plugins/GCodeReader/__init__.py +++ b/plugins/GCodeReader/__init__.py @@ -8,13 +8,6 @@ i18n_catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "gcode", diff --git a/plugins/GCodeReader/plugin.json b/plugins/GCodeReader/plugin.json new file mode 100644 index 0000000000..89a70cf6b9 --- /dev/null +++ b/plugins/GCodeReader/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/GCodeWriter/__init__.py b/plugins/GCodeWriter/__init__.py index efe3368c61..904deb1c19 100644 --- a/plugins/GCodeWriter/__init__.py +++ b/plugins/GCodeWriter/__init__.py @@ -8,13 +8,7 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": { "output": [{ diff --git a/plugins/GCodeWriter/plugin.json b/plugins/GCodeWriter/plugin.json new file mode 100644 index 0000000000..31fa556b0f --- /dev/null +++ b/plugins/GCodeWriter/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "GCode Writer", + "author": "Ultimaker", + "version": "1.0", + "description": "Writes GCode to a file.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/ImageReader/__init__.py b/plugins/ImageReader/__init__.py index 7ebdc31e57..d1fb77859e 100644 --- a/plugins/ImageReader/__init__.py +++ b/plugins/ImageReader/__init__.py @@ -8,13 +8,6 @@ i18n_catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "jpg", diff --git a/plugins/ImageReader/plugin.json b/plugins/ImageReader/plugin.json new file mode 100644 index 0000000000..87b42412b1 --- /dev/null +++ b/plugins/ImageReader/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/LayerView/__init__.py b/plugins/LayerView/__init__.py index 67750fb562..0f6b43698a 100644 --- a/plugins/LayerView/__init__.py +++ b/plugins/LayerView/__init__.py @@ -9,13 +9,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": { "name": catalog.i18nc("@item:inlistbox", "Layers"), "view_panel": "LayerView.qml", diff --git a/plugins/LayerView/plugin.json b/plugins/LayerView/plugin.json new file mode 100644 index 0000000000..6559ed2489 --- /dev/null +++ b/plugins/LayerView/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "Layer View", + "author": "Ultimaker", + "version": "1.0", + "description": "Provides the Layer view.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/LegacyProfileReader/__init__.py b/plugins/LegacyProfileReader/__init__.py index f8b1f5c156..10dd298864 100644 --- a/plugins/LegacyProfileReader/__init__.py +++ b/plugins/LegacyProfileReader/__init__.py @@ -8,13 +8,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "ini", diff --git a/plugins/LegacyProfileReader/plugin.json b/plugins/LegacyProfileReader/plugin.json new file mode 100644 index 0000000000..d1afd02ae8 --- /dev/null +++ b/plugins/LegacyProfileReader/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/MachineSettingsAction/__init__.py b/plugins/MachineSettingsAction/__init__.py index 7d8b253d33..1c4464e9b2 100644 --- a/plugins/MachineSettingsAction/__init__.py +++ b/plugins/MachineSettingsAction/__init__.py @@ -7,15 +7,7 @@ from UM.i18n import i18nCatalog catalog = i18nCatalog("cura") def getMetaData(): - 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 - } - } + return {} def register(app): return { "machine_action": MachineSettingsAction.MachineSettingsAction() } diff --git a/plugins/MachineSettingsAction/plugin.json b/plugins/MachineSettingsAction/plugin.json new file mode 100644 index 0000000000..01d420fecb --- /dev/null +++ b/plugins/MachineSettingsAction/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/PerObjectSettingsTool/__init__.py b/plugins/PerObjectSettingsTool/__init__.py index 08b8de1452..eb102fde5d 100644 --- a/plugins/PerObjectSettingsTool/__init__.py +++ b/plugins/PerObjectSettingsTool/__init__.py @@ -10,13 +10,6 @@ i18n_catalog = i18nCatalog("cura") def getMetaData(): 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": { "name": i18n_catalog.i18nc("@label", "Per Model Settings"), "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Model Settings"), diff --git a/plugins/PerObjectSettingsTool/plugin.json b/plugins/PerObjectSettingsTool/plugin.json new file mode 100644 index 0000000000..6a1d33aafe --- /dev/null +++ b/plugins/PerObjectSettingsTool/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "Per Model Settings Tool", + "author": "Ultimaker", + "version": "1.0", + "description": "Provides the Per Model Settings.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/RemovableDriveOutputDevice/__init__.py b/plugins/RemovableDriveOutputDevice/__init__.py index b00214d425..8b46074066 100644 --- a/plugins/RemovableDriveOutputDevice/__init__.py +++ b/plugins/RemovableDriveOutputDevice/__init__.py @@ -8,13 +8,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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): diff --git a/plugins/RemovableDriveOutputDevice/plugin.json b/plugins/RemovableDriveOutputDevice/plugin.json new file mode 100644 index 0000000000..5424ce5e34 --- /dev/null +++ b/plugins/RemovableDriveOutputDevice/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/SliceInfoPlugin/__init__.py b/plugins/SliceInfoPlugin/__init__.py index f6e77fbf22..90ecfcef17 100644 --- a/plugins/SliceInfoPlugin/__init__.py +++ b/plugins/SliceInfoPlugin/__init__.py @@ -6,13 +6,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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): diff --git a/plugins/SliceInfoPlugin/plugin.json b/plugins/SliceInfoPlugin/plugin.json new file mode 100644 index 0000000000..3357214107 --- /dev/null +++ b/plugins/SliceInfoPlugin/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/SolidView/__init__.py b/plugins/SolidView/__init__.py index 945ccba8f6..67b15eb617 100644 --- a/plugins/SolidView/__init__.py +++ b/plugins/SolidView/__init__.py @@ -8,13 +8,6 @@ i18n_catalog = i18nCatalog("cura") def getMetaData(): 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": { "name": i18n_catalog.i18nc("@item:inmenu", "Solid"), "weight": 0 diff --git a/plugins/SolidView/plugin.json b/plugins/SolidView/plugin.json new file mode 100644 index 0000000000..e57825cb07 --- /dev/null +++ b/plugins/SolidView/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "Solid View", + "author": "Ultimaker", + "version": "1.0", + "description": "Provides a normal solid mesh view.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/UM3NetworkPrinting/__init__.py b/plugins/UM3NetworkPrinting/__init__.py index be9f1195ec..667733649b 100644 --- a/plugins/UM3NetworkPrinting/__init__.py +++ b/plugins/UM3NetworkPrinting/__init__.py @@ -6,15 +6,7 @@ from UM.i18n import i18nCatalog catalog = i18nCatalog("cura") def getMetaData(): - 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 - } - } + return {} def register(app): return { "output_device": NetworkPrinterOutputDevicePlugin.NetworkPrinterOutputDevicePlugin(), "machine_action": DiscoverUM3Action.DiscoverUM3Action()}
\ No newline at end of file diff --git a/plugins/UM3NetworkPrinting/plugin.json b/plugins/UM3NetworkPrinting/plugin.json new file mode 100644 index 0000000000..e3a061d365 --- /dev/null +++ b/plugins/UM3NetworkPrinting/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/USBPrinting/__init__.py b/plugins/USBPrinting/__init__.py index b8581586d8..990a59fdf3 100644 --- a/plugins/USBPrinting/__init__.py +++ b/plugins/USBPrinting/__init__.py @@ -8,14 +8,6 @@ i18n_catalog = i18nCatalog("cura") def getMetaData(): 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): diff --git a/plugins/USBPrinting/plugin.json b/plugins/USBPrinting/plugin.json new file mode 100644 index 0000000000..2e6e2da808 --- /dev/null +++ b/plugins/USBPrinting/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/UltimakerMachineActions/__init__.py b/plugins/UltimakerMachineActions/__init__.py index 996026ace2..33b85387a4 100644 --- a/plugins/UltimakerMachineActions/__init__.py +++ b/plugins/UltimakerMachineActions/__init__.py @@ -12,13 +12,6 @@ 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): diff --git a/plugins/UltimakerMachineActions/plugin.json b/plugins/UltimakerMachineActions/plugin.json new file mode 100644 index 0000000000..bb1af4ed8d --- /dev/null +++ b/plugins/UltimakerMachineActions/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/__init__.py b/plugins/VersionUpgrade/VersionUpgrade21to22/__init__.py index 74d74e61ae..b153bcf3ce 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/__init__.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/__init__.py @@ -10,13 +10,6 @@ upgrade = VersionUpgrade21to22.VersionUpgrade21to22() def getMetaData(): 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": { # From To Upgrade function ("profile", 1000000): ("quality", 2000000, upgrade.upgradeProfile), diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/plugin.json b/plugins/VersionUpgrade/VersionUpgrade21to22/plugin.json new file mode 100644 index 0000000000..dab8be0ec4 --- /dev/null +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/VersionUpgrade/VersionUpgrade22to24/__init__.py b/plugins/VersionUpgrade/VersionUpgrade22to24/__init__.py index 0ff121f35e..d7ac4ef452 100644 --- a/plugins/VersionUpgrade/VersionUpgrade22to24/__init__.py +++ b/plugins/VersionUpgrade/VersionUpgrade22to24/__init__.py @@ -10,13 +10,6 @@ upgrade = VersionUpgrade.VersionUpgrade22to24() def getMetaData():
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": {
# From To Upgrade function
("machine_instance", 2000000): ("machine_stack", 3000000, upgrade.upgradeMachineInstance),
diff --git a/plugins/VersionUpgrade/VersionUpgrade22to24/plugin.json b/plugins/VersionUpgrade/VersionUpgrade22to24/plugin.json new file mode 100644 index 0000000000..f94d81049a --- /dev/null +++ b/plugins/VersionUpgrade/VersionUpgrade22to24/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/VersionUpgrade/VersionUpgrade25to26/__init__.py b/plugins/VersionUpgrade/VersionUpgrade25to26/__init__.py index 5ff589c4e3..a3d2b274da 100644 --- a/plugins/VersionUpgrade/VersionUpgrade25to26/__init__.py +++ b/plugins/VersionUpgrade/VersionUpgrade25to26/__init__.py @@ -10,13 +10,6 @@ upgrade = VersionUpgrade25to26.VersionUpgrade25to26() def getMetaData(): 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": { # From To Upgrade function ("preferences", 4000000): ("preferences", 4000001, upgrade.upgradePreferences), diff --git a/plugins/VersionUpgrade/VersionUpgrade25to26/plugin.json b/plugins/VersionUpgrade/VersionUpgrade25to26/plugin.json new file mode 100644 index 0000000000..180a2bb056 --- /dev/null +++ b/plugins/VersionUpgrade/VersionUpgrade25to26/plugin.json @@ -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" +}
\ No newline at end of file diff --git a/plugins/X3DReader/__init__.py b/plugins/X3DReader/__init__.py index 84922f627f..9e0e2df91c 100644 --- a/plugins/X3DReader/__init__.py +++ b/plugins/X3DReader/__init__.py @@ -7,13 +7,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": [ { "extension": "x3d", diff --git a/plugins/X3DReader/plugin.json b/plugins/X3DReader/plugin.json new file mode 100644 index 0000000000..7ada28e19d --- /dev/null +++ b/plugins/X3DReader/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "X3D Reader", + "author": "Seva Alekseyev", + "version": "0.5", + "description": "Provides support for reading X3D files.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/XRayView/__init__.py b/plugins/XRayView/__init__.py index 34e4761863..e726001216 100644 --- a/plugins/XRayView/__init__.py +++ b/plugins/XRayView/__init__.py @@ -8,13 +8,6 @@ catalog = i18nCatalog("cura") def getMetaData(): 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": { "name": catalog.i18nc("@item:inlistbox", "X-Ray"), "weight": 1 diff --git a/plugins/XRayView/plugin.json b/plugins/XRayView/plugin.json new file mode 100644 index 0000000000..a8afba4635 --- /dev/null +++ b/plugins/XRayView/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "X-Ray View", + "author": "Ultimaker", + "version": "1.0", + "description": "Provides the X-Ray view.", + "api": 4, + "catalog": "cura" +}
\ No newline at end of file diff --git a/plugins/XmlMaterialProfile/__init__.py b/plugins/XmlMaterialProfile/__init__.py index f4eb4de8b4..63ec979fbd 100644 --- a/plugins/XmlMaterialProfile/__init__.py +++ b/plugins/XmlMaterialProfile/__init__.py @@ -14,13 +14,6 @@ upgrader = XmlMaterialUpgrader.XmlMaterialUpgrader() def getMetaData(): 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": { "type": "material", "mimetype": "application/x-ultimaker-material-profile" diff --git a/plugins/XmlMaterialProfile/plugin.json b/plugins/XmlMaterialProfile/plugin.json new file mode 100644 index 0000000000..822dd4071f --- /dev/null +++ b/plugins/XmlMaterialProfile/plugin.json @@ -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" +}
\ No newline at end of file |