CAM: Dropped trailing percent from fanuc post processor output. (#26617)

* CAM: Dropped trailing percent from fanuc post processor output.

A trailing percent cause one Fanuc controller to hang when the program
is completed when drip feeding G code, and the minicom ascii upload
was unable to complete the upload.

Had to use emergecy stop to get the machine out of the hang.

* CAM: Adjust Fanuc post processor test to no longer expect trailing percent.
This commit is contained in:
petterreinholdtsen
2026-01-09 17:40:02 +01:00
committed by GitHub
parent 9189dec644
commit bca1fe32d1
2 changed files with 4 additions and 10 deletions

View File

@@ -348,7 +348,6 @@ def export(objectslist, filename, argstring):
gcode += "(BEGIN POSTAMBLE)\n"
for line in POSTAMBLE.splitlines():
gcode += linenumber() + line + "\n"
gcode += "%\n"
if FreeCAD.GuiUp and SHOW_EDITOR:
dia = PostUtils.GCodeEditorDialog()