Core to G-Code