Thread print

How to create external and internal threads? I follow the above tutorial but the cap does not close well

How to model threads in SolidWorks for 3D Printing (Full Tutorial) - YouTube

SolidworksGeneral