Improved handling of comments
This commit is contained in:
sliptonic
2016-07-03 10:27:12 -05:00
committed by Yorik van Havre
parent 14f1f6fed8
commit 7ab026ea5e
8 changed files with 104 additions and 106 deletions

View File

@@ -75,7 +75,8 @@ class Machine:
# need to filter this path out in post- only for visualization
#gcode = 'G0 X' + str(obj.X.Value) + ' Y' + \
# str(obj.Y.Value) + ' Z' + str(obj.Z.Value)
gcode = '(' + str(obj.Label) + ')'
gcode = ""
gcode += '(' + str(obj.Label) + ')'
obj.Path = Path.Path(gcode)
def onChanged(self, obj, prop):