Thread is ~M18x3. I have several similiar bottles and cap suits them all.
Print with TPU (project was made for PP). It should also work with any rigid material, but I haven't tried yet.