Screw threading and tapping - 3D printer

Hi,

I want to create a pin 4mm in diameter that has threading & a tapping to screw into.

The pin needs to be created so that it is screwed 1/2 turn (180 degress) inside and then stop.

Could anyone help me with the sizes of thread and tapping features so that I could use a 3d printer to print the pin and the tapping?

Thanks,

Sharon

SolidworksParts And Features