From 7e53657a2d13cd6aaddfbf71c814a35e4dc5e90c Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Fri, 23 Feb 2018 16:57:02 -0500 Subject: [PATCH] fix --- axi/device.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/axi/device.py b/axi/device.py index ccdf714..b1733f0 100644 --- a/axi/device.py +++ b/axi/device.py @@ -179,7 +179,9 @@ class Device(object): position = (0, 0) bar = Bar(drawing.length, enabled=progress) for path in drawing.paths: - self.run_path([position, path[0]], jog=True) + jog = [position, path[0]] + self.run_path(jog, jog=True) + bar.increment(path_length(jog)) self.pen_down() self.run_path(path) self.pen_up()