How to draw 3D ring with outline

I am trying to draw something similar to this

i went through the sandcastle example Cesium Sandcastle

but still i couldnt draw something similar to ring torus or horn torus shape with outline