I imagined the workflow starting with a Fusion 360-designed 3D model. Defining the movement of the work surface both allows the generation of the commands to make that movement on the 4th & 5th axes, as well as the necessary transformations on the three separate X/Y/Z command files so that they can be merged into one larger command file with one coordinate system.
My equipment will support the latter set of images.