Question: plot convex or concave shell

Is there a similar function as (cylinderplot) to plot convex or concave toroidal shell segments?

This type of shell is as follows.

 

 

Please Wait...