mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Use pyDulcificum
again
CURA-10561
This commit is contained in:
parent
aec5ec8844
commit
b0c63c35c6
1 changed files with 13 additions and 1 deletions
|
@ -115,7 +115,7 @@ class MakerbotWriter(MeshWriter):
|
||||||
self.setInformation(gcode_writer.getInformation())
|
self.setInformation(gcode_writer.getInformation())
|
||||||
return False
|
return False
|
||||||
|
|
||||||
json_toolpaths = convert(gcode_text_io.getvalue())
|
json_toolpaths = du.gcode_2_miracle_jtp(gcode_text_io.getvalue())
|
||||||
metadata = self._getMeta(nodes)
|
metadata = self._getMeta(nodes)
|
||||||
|
|
||||||
png_files = []
|
png_files = []
|
||||||
|
@ -237,6 +237,18 @@ class MakerbotWriter(MeshWriter):
|
||||||
|
|
||||||
meta["miracle_config"] = {"gaggles": {str(node.getName()): {} for node in nodes}}
|
meta["miracle_config"] = {"gaggles": {str(node.getName()): {} for node in nodes}}
|
||||||
|
|
||||||
|
meta["purge_routins"] = [
|
||||||
|
[
|
||||||
|
["move", [54, 9, 0, 0, 0], 100, [False, False, False, True, True]],
|
||||||
|
["purge_move", [72, 9, 0, 100, 0], 3, [False, False, False, True, True]],
|
||||||
|
["move", [63, 0, 0, 0, 0], 30, [False, False, False, True, True]]
|
||||||
|
], [
|
||||||
|
["move", [54, 9, 0, 0, 0], 100, [False, False, False, True, True]],
|
||||||
|
["purge_move", [72, 9, 0, 0, 100], 1, [False, False, False, True, True]],
|
||||||
|
["move", [63, 0, 0, 0, 0], 30, [False, False, False, True, True]]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
cura_engine_info = ConanInstalls.get("curaengine", {"version": "unknown", "revision": "unknown"})
|
cura_engine_info = ConanInstalls.get("curaengine", {"version": "unknown", "revision": "unknown"})
|
||||||
meta["curaengine_version"] = cura_engine_info["version"]
|
meta["curaengine_version"] = cura_engine_info["version"]
|
||||||
meta["curaengine_commit_hash"] = cura_engine_info["revision"]
|
meta["curaengine_commit_hash"] = cura_engine_info["revision"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue