Can you write G-code for a 3D printer?