CAM: Adjusted Fanuc post processing script to always start with a percent
The percent signal to the machine that a program follows, and is not part of the header but a required part when uploading programs into the machine.
This commit is contained in:
@@ -230,9 +230,10 @@ def export(objectslist, filename, argstring):
|
||||
print("postprocessing...")
|
||||
gcode = ""
|
||||
|
||||
gcode += "%\n"
|
||||
|
||||
# write header
|
||||
if OUTPUT_HEADER:
|
||||
gcode += "%\n"
|
||||
gcode += ";\n"
|
||||
gcode += (
|
||||
os.path.split(filename)[-1]
|
||||
|
||||
Reference in New Issue
Block a user