Y-plane to the lathe function.

Would swapping axes in the gcode suffice? Check out this link which shows how to remap axes in the gcode header. Scroll down to AXISMAP. Example:

;; AXISMAP {"X":"Y", "Y":"X"}