最近需要用到一个cura二次开发版本的软件 加密了输出文件的格式 正常为G-code 现在为gcx 跪求大神帮忙分析下 还有个pyc的文件转回py后代码不全
# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from . import GCxWriter
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")
def register(app):
return { "mesh_writer": GCxWriter.GCxWriter() }
以下为原版代码
# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from . import GCodeWriter
from UM.i18n import i18nCatalog
catalog = i18nCatalog("cura")