The gear geometry is defined on this page.