diff options
author | nickthetait <tait@alephobjects.com> | 2016-11-09 01:05:59 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2016-12-23 23:53:16 +0300 |
commit | ec12b901d101aa6b0858e71b15a74c8aec8018c3 (patch) | |
tree | 582f6249dbb8163aa928f92d6a9140ac8bda8f43 /plugins/GCodeReader/__init__.py | |
parent | 9120a336023600a22964b982bce195d99d7e3aa9 (diff) |
Rename to be consistent with other plugins
T466
Diffstat (limited to 'plugins/GCodeReader/__init__.py')
-rw-r--r-- | plugins/GCodeReader/__init__.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/GCodeReader/__init__.py b/plugins/GCodeReader/__init__.py new file mode 100644 index 0000000000..2f372f3cd2 --- /dev/null +++ b/plugins/GCodeReader/__init__.py @@ -0,0 +1,32 @@ +# Copyright (c) 2015 Ultimaker B.V. +# Uranium is released under the terms of the AGPLv3 or higher. + +#Shoopdawoop +from . import GCodeReader + +from UM.i18n import i18nCatalog +i18n_catalog = i18nCatalog("uranium") + +def getMetaData(): + return { + "plugin": { + "name": i18n_catalog.i18nc("@label", "GCODE Reader"), + "author": "Victor Larchenko", + "version": "1.0", + "description": i18n_catalog.i18nc("@info:whatsthis", "Makes it possbile to read GCODE files."), + "api": 3 + }, + "mesh_reader": [ + { + "extension": "gcode", + "description": i18n_catalog.i18nc("@item:inlistbox", "GCODE File") + }, + { + "extension": "g", + "description": i18n_catalog.i18nc("@item:inlistbox", "G File") + } + ] + } + +def register(app): + return { "mesh_reader": GCodeReader.GCodeReader() } |