OpenSCAD hex nut test print M3 and M4 to check the right diameter value
example code:
cylinder(length, diameter, $fn=6);
The author hasn't provided the model origin yet.