Launch the script with
python C2Gonversion.py
The script uses two init files, one for the script itself and another one required by the G-code file. The first contains information on the input/output files and the spacing used in the function interpolation. The second contains all the variables that will be printed in the script output. The standard names are 'init' and 'gcode_init'. They can be manually set with optional arguments:
-i Selects the script init file
-g Selects the G-code init file
Can be manually set in the 'init' file.
By default the output is set to 'out.txt' file, but can be manually set in the 'init' file.
A graphical output is available, via matplotlib. To activate it, launch the script with the arguments
-graphic