This commit is contained in:
Michael Fogleman 2018-02-23 16:57:02 -05:00
parent cb0d97f668
commit 7e53657a2d
1 changed files with 3 additions and 1 deletions

View File

@ -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()