How to define a cylinder diameter according to a standard thread?