Surface Intersection Python Code