Tool to swap axes in G code (e.g. to wrap 2.5D program around rotary axis)