from sage.plot.plot3d.parametric_surface import ParametricSurface
return (1.55+cos(y))*sin(x),(1.55+cos(y))*cos(x),sin(y)*cos(x)
f,(srange(0,2.05*pi,.05*pi),srange(0,2.05*pi,.05*pi)),
opacity=.5,color='#36ffff')
gs=str(ps.x3d_geometry())
start=gs.find('Coordinate point=')+len('Coordinate point=')+1
str_coords=gs[start:-22]; float_coords=[]
for el in str_coords.split(','):
float_coords.append([float(s) for s in el.split(' ')])
ps+=point3d(float_coords,size=5,color='slategray')
ps+=line3d(float_coords,thickness=1,color='slategray')