Modulating the radius with respect to z

Here is a cylinder whose radius is modulated by a sine term as we move along the z-axis:

> plot3d(1+sin(2*Pi*z)/4,theta=0..2*Pi,z=-2..2,coords=cylindrical,scaling=constrained,grid=[30,30]);

[Maple Plot]

>