Planar-to-Rotary G-code Transformation Via Post-Processing for Discrete 4-Axis Machining