Cura/plugins/GCodeWriter/__init__.py
Arjen Hiemstra bda10b5ce5 Add 'plugins/GCodeWriter/' from commit '6fc044387a3de779032ce69812040bb772971ddc'
git-subtree-dir: plugins/GCodeWriter
git-subtree-mainline: 92afe31e370d117e74c0ea2da9da559db7fa4603
git-subtree-split: 6fc044387a3de779032ce69812040bb772971ddc
2015-04-30 14:43:27 +02:00

25 lines
633 B
Python

from . import GCodeWriter
from UM.i18n import i18nCatalog
catalog = i18nCatalog('plugins')
def getMetaData():
return {
'type': 'mesh_writer',
'plugin': {
'name': 'GCode Writer',
'author': 'Arjen Hiemstra',
'version': '1.0',
'description': catalog.i18nc('GCode Writer Plugin Description', 'Writes GCode to a file')
},
'mesh_writer': {
'extension': 'gcode',
'description': catalog.i18nc('GCode Writer File Description', 'GCode File')
}
}
def register(app):
return {"mesh_writer":GCodeWriter.GCodeWriter()}