Thermic treatments of textile materials