Cura/plugins/GCodeWriter/__init__.py
2015-05-01 15:56:44 +02:00

24 lines
633 B
Python

from . import GCodeWriter
from UM.i18n import i18nCatalog
catalog = i18nCatalog('cura')
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() }