Partially toothed gears

Adding the ability to generate partially toothed gears, using a parameter (real_teeth) for specifying the number of desired teeth. If omitted (default is 0) its value will be replaced by the actual number of teeth.