Design matching male and female threads and download them as STEP files. See Thread Examples for real parts, each opened here with its settings.