Superegg

The python script generates an openscad module defining the polygon profile for a superegg, an object devised by Piet Hein. and other solids of revolution of superellipses whose shape is determined by p the exponent in the equation x^p + y^p = r^p)