Author: Vik Olliver after Francois Guillet
Version: 1.0
Date: 10-July-2005
Cog
This script creates a closed curve shaped as an n-toothed cog. Input parameters are similar to those of the Star script: inner radius, outer radius, n plus degrees of taper (see illustration below).