Generator of circular and non-circular gear.