Surface Intersection Python Code Generator