Here is a script for generating G code from a selected set of curves. I have not run any code produced on a machine but it seemed to work in CncSimulator. Run script Enter Parameters Pick curves Save text file Colin