A tip for a 3D scanner, wherein the tip comprises (i) a tip framework, where a first part of the framework comprises a first material and a second part of the framework comprises a second material where both the first and second part form a portion of the outer surface of the framework, and where the ratio between the thermal conductivity of the second material and the thermal conductivity of the first material is 5 or more, and (ii) an optical element arranged at said second part of the framework in thermal contact with the second material.