mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 01:04:35 +08:00
25 lines
617 B
Python
25 lines
617 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 GCodeWriter.GCodeWriter()
|