mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:19:13 +08:00
Add gaggle
CURA-10561
This commit is contained in:
parent
089ee6c04b
commit
aec5ec8844
@ -115,7 +115,7 @@ class MakerbotWriter(MeshWriter):
|
||||
self.setInformation(gcode_writer.getInformation())
|
||||
return False
|
||||
|
||||
json_toolpaths = du.gcode_2_miracle_jtp(gcode_text_io.getvalue())
|
||||
json_toolpaths = convert(gcode_text_io.getvalue())
|
||||
metadata = self._getMeta(nodes)
|
||||
|
||||
png_files = []
|
||||
@ -235,6 +235,8 @@ class MakerbotWriter(MeshWriter):
|
||||
"printMode": CuraApplication.getInstance().getIntentManager().currentIntentCategory,
|
||||
}
|
||||
|
||||
meta["miracle_config"] = {"gaggles": {str(node.getName()): {} for node in nodes}}
|
||||
|
||||
cura_engine_info = ConanInstalls.get("curaengine", {"version": "unknown", "revision": "unknown"})
|
||||
meta["curaengine_version"] = cura_engine_info["version"]
|
||||
meta["curaengine_commit_hash"] = cura_engine_info["revision"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user