Working on gcode conversion