Commit 9d15ee1d authored by Guillaume Seguin's avatar Guillaume Seguin

Add some verbose info to files produced by gcodeplater

parent c29ed642
...@@ -96,6 +96,7 @@ class GcodePlater(Plater): ...@@ -96,6 +96,7 @@ class GcodePlater(Plater):
trans_wpos = (offset_pos[0] + trans[0], trans_wpos = (offset_pos[0] + trans[0],
offset_pos[1] + trans[1], offset_pos[1] + trans[1],
offset_pos[2] + trans[2]) offset_pos[2] + trans[2])
f.write("; GCodePlater: Model %d\n" % model_i)
f.write("G90\n") f.write("G90\n")
f.write("G92 X%.5f Y%.5f Z%.5f E0\n" % trans_wpos) f.write("G92 X%.5f Y%.5f Z%.5f E0\n" % trans_wpos)
for l in model.gcode: for l in model.gcode:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment