chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b66541
)
Fixed #140
author
Daid
<daid303@gmail.com>
Sat, 23 Jun 2012 10:15:29 +0000
(12:15 +0200)
committer
Daid
<daid303@gmail.com>
Sat, 23 Jun 2012 10:15:29 +0000
(12:15 +0200)
Cura/util/gcodeInterpreter.py
patch
|
blob
|
history
diff --git
a/Cura/util/gcodeInterpreter.py
b/Cura/util/gcodeInterpreter.py
index 2d92e9fc7f06da6c5573a6077bf40c570fa9d294..efa2d56284cbe3a8d2cd776a8fa30ca90282f7a2 100644
(file)
--- a/
Cura/util/gcodeInterpreter.py
+++ b/
Cura/util/gcodeInterpreter.py
@@
-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: