Production of electric cables