Update Path to py3-compatible printing

This commit is contained in:
Kurt Kremitzki
2017-01-29 22:11:45 -06:00
committed by looooo
parent 32bacd0b63
commit e47edae9c3
23 changed files with 92 additions and 77 deletions

View File

@@ -21,6 +21,7 @@
#* USA *
#* *
#***************************************************************************
from __future__ import print_function
TOOLTIP=''' example post for Centroid CNC mill'''
import FreeCAD
@@ -85,7 +86,7 @@ def export(selection,filename,argstring):
else:
UNITS = "G20"
if myMachine is None:
print "No machine found in this selection"
print("No machine found in this selection")
gcode =''
gcode+= HEADER % (FreeCAD.ActiveDocument.FileName)