Ok Erik, you can add tested on Ubuntu10.04/LinuxCNC ver 2.5, seem to be working ok when I get the G-code up and running, Your integration seem to work fine, loads the code directly into AXIS, I tried text and circular pocket. just minor bugs, AXIS complained about unfound gcode-terminator character(%) Solved by integrating into postamble, I also think the same character should precede the code according to standard. That gives user the opportunity to store entire libraries in ońe file or a program with subroutines, Sorry for diverging from subject!

I will try the code on FANUC 10M, I know I will have to modify the code regading your HELIX move who is not activated on my machine, FANUC wants money for that, but I know how to fix it anyway but the holy rule is: Don't fiddle with a working system! So I leave helix for now. Great job Erik, I'll come back with some video on your code in action IRL!