scale gcode output to millimeters