The invention relates to a machine tool comprising of at least one tool spindle which can be moved and positioned in at least one working plane by a movement system. The x-ray tube has a focal spot and the x-ray fan beam radiated from the focal spot exhibits a fixed aperture angle. The proximal part extends in the penetration direction of the through-hole.