This grasshopper code automatically writes rapid code for and ABB robot. The script uses lines, planes and surfaces to define tool paths per the rhino geometry. You can adjust several options such as tool data, work object information, speed, zone, ect. A text file is exported with the appropriate code. The grasshopper definition has a generic visualization built-in to preview the cut paths.