Thermal insulation of moulds or mould parts