This commit is contained in:
Daid committed 2012-06-23 12:15:29 +02:00
1 parent 2b66541b1f
commit 8e6eec768f
1 file changed
+3 -3
+3 -3
View File
@@ -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: