数码之家

 找回密码
 立即注册
搜索
查看: 861|回复: 1

求大神改代码!cura2.0切片软件 赤兔二次开发版

[复制链接]
发表于 2022-11-22 23:33:35 | 显示全部楼层 |阅读模式
500家元
cura2.0切片软件 赤兔二次开发版 文件输出格式为GCX加密了  想求大神改回g-code 能改的大神留言邮箱发软件
# 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 getMetaData():
    return {


        "mesh_writer": {
            "output": [{
                "extension": "gcx",
                "description": catalog.i18nc("@item:inlistbox", "Encoded gcode File"),
                "mime_type": "text/x-gcx",
                "mode": GCxWriter.GCxWriter.OutputMode.TextMode
            }]
        }


    }

def register(app):
    return { "mesh_writer": GCxWriter.GCxWriter() }

发表于 2024-3-15 21:38:04 | 显示全部楼层
过来学习了,感谢大佬们的分享!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

APP|手机版|小黑屋|关于我们|联系我们|法律条款|技术知识分享平台

闽公网安备35020502000485号

闽ICP备2021002735号-2

GMT+8, 2024-3-29 21:43 , Processed in 0.156000 second(s), 10 queries , Redis On.

Powered by Discuz!

© 2006-2023 smzj.net

快速回复 返回顶部 返回列表