Are the parts you are planning to make going to be exposed to hot water or steam under pressure any higher than atmospheric?
If so, plastic must not be used. It is not safe for high temps or pressure vessels.
If the parts are for gauging cold water level at atmospheric pressure there are several types of plastic that will work. If you describe such an application I'll recommend a few. Again, these plastics must not be used at high temps or as pressure vessels.
Can you not use regular water gauge glass tubing with suitable rubber rings to seal it, and nuts to secure everything?
Threads on glass as seen on jars or pharmacy vials are usually moulded or rolled into the glass while it is hot and semi-molten. Ground-on threads in glass may be prone to cracking, even if radiused at the roots. Don't know of any commercial glass items with ground -in threads, but there may be some. JD