mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 17:10:46 +08:00
Fixed #140
This commit is contained in:
parent
2b66541b1f
commit
8e6eec768f
@ -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…
x
Reference in New Issue
Block a user