well ive got the same problem mark
Thing is is that the cogs im using from technobots just happen to have a hole of 5mm through the centre and the shaft, once filed down, on my motors looks as if it is roughly 5mm.
You could always attempt to smooth the thread to a smooth finish by putting an apoxy resin on it and then carefully smoothing it out. This should be strong enough as we used it in the hubs of the wheels for the lightweight robots, thunder and lightning.
Bookmarks