Manufacturing waveguides or transmission lines of the waveguide type