SphereCircle.py

from pygeo import *

v=display(scale=70)

p1 = FreePoint(-27,6,-3,color=WHITE)
p2 = FreePoint(-40,6,4,color=WHITE)
p3 = FreePoint(-6,2,0,color=WHITE)

plane=Plane(p1,p2,p3,color=BLUE)

p4 = FreePoint(4,0,-3,color=WHITE)
p5 = FreePoint(6,-2,11,color=WHITE)
sphere=Sphere(p4,p5,color=BLUE)

SphereCircle(sphere,plane,color=RED,linewidth=1)

v.pickloop()