Hello genius

Am thinking of machine make gears as input Z number of teth
The module will be defined by the miling tool an servo motor will defined the position 360/Z
Thanks