torus - a function that takes in the inputs of a point and two radii to render a 3D circular ring in AutoCAD. torus(p1,R1,R2) :=