Disclosed is a tip for an optical scanner, where said tip comprises a framework and an optical element. For some configurations the optical element is releasable attaching to the framework by a holding means of the tip. For some configurations the tip framework is formed in two materials of different thermal conductivities.