a method of producing holes in a component , in particular of turbomachines , wherein each hole extends from a first , outer surface to a second , inner surface of the component and wherein the method has , for example , the following steps : producing a 3d model of the actual geometry of the component , at least for the region of the holes ; adapting each hole on the basis of the actual geometry of the component ; and generating a production program for each individual hole . in this way , the process quality and with it the quality of the holes increases , because the offset of holes caused by component tolerances is avoided and the drilling funnels are formed according to specification . furthermore , drilling defects on account of the offset of holes and / or cores can be avoided . overlapping holes caused by component tolerances are likewise avoided .