Commit 225e09c0 authored by Guillaume Seguin's avatar Guillaume Seguin

Update gviz to latest gcoder API

parent 3a374873
......@@ -415,7 +415,8 @@ class Gviz(wx.Panel):
if not gcode:
return
gline = gcoder.Line(gcode)
gline.parse_coordinates(False)
split_raw = gcoder.split(gline)
gcoder.parse_coordinates(gline, split_raw, imperial = False)
def _y(y):
return self.build_dimensions[1] - (y - self.build_dimensions[4])
......
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