This works and I'm able to control my plasmacutter. I really like the interface.
I'm now only facing an issue loading g-code. I'm using the plasmac post processor for Sheetcam which outputs .tap files. When I load a file, I get the message “unknown word where unary operation could be”. I just assume, it has something to do with the filte section in my INI-File.
Code:
[FILTER]
PROGRAM_EXTENSION = .ngc,.nc,.tap GCode File (*.ngc, *.nc, *.tap)
ngc = plasma_gcode_preprocessor
nc = plasma_gcode_preprocessor
tap = plasma_gcode_preprocessor
Is it possible, that the preprocessor cannot interpret my .tap. file?
You said you added logging, what did you do exactly? Where was it crashing? I assume you running PathPilot in a way that allows you to see the terminal, so you could wrap the offending areas in a try/except and print the exception to the screen when it fails.
I would not mess with refactoring Tormach's code, that otherwise works.