Fixed #140
This commit is contained in:
parent
2b66541b1f
commit
8e6eec768f
1 changed files with 3 additions and 3 deletions
|
@ -194,11 +194,11 @@ class gcode(object):
|
|||
if e is not None:
|
||||
currentE = e
|
||||
if x is not None:
|
||||
posOffset.x = pos.x + x
|
||||
posOffset.x = pos.x - x
|
||||
if y is not None:
|
||||
posOffset.y = pos.y + y
|
||||
posOffset.y = pos.y - y
|
||||
if z is not None:
|
||||
posOffset.z = pos.z + z
|
||||
posOffset.z = pos.z - z
|
||||
else:
|
||||
print "Unknown G code:" + str(G)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue