I was thinking...
In order to do threads on that machine, I would need to add encoder to the main shaft and stepper on the lead screw.
A processor would then move the tool in sync with chuck rotation along the axis of the thread.
The radial movement can be done manually....
No need for gears...