cap
Generate a shape by rotating an envelope around a vertical axis.
Parameters
sides
the angular resolution of the cap
radius
the radius of the cap
envelope
a list of points defining the profile of the cap. The default envelope is a horizontal line which produces a flat round disk. By providing a more complex envelope one can create curved shapes like a bowl.