Construct the portion of the cylinder x2 + y2 = 1 lying between the planes z = 0 and z = 1 + x.
> restart:
> x:=cos(t):
> y:=sin(t):
> z1:=0:
> z2:=1+x:
> z:=(1-s)*z1+s*z2:
> h:=plot3d([x,y,z],s=0..1,t=0..2*Pi,scaling=constrained):
> h;
>