For the curved edges intersect extrusion of lines with a sphere:
Nexors.gh (53.5 KB) Nexors_.gh (33.1 KB)
Also there are bunch of other examples: