Years ago I wrote a C program to translate polar data to XY gcode. I have also written several C code programs to post process gcode and manipulate the XYZ values or build gcode files from data. It wouldn't be hard to write a C post processor to convert XYZ gcode with something like a "G9999 X0 Y0" to define center in the source to polar.