Method for producing a winding for a machine component, comprising the following steps: - arranging a plurality of substantially U-shaped preformed coils in an interlacing tool; - shaping the plurality of preformed coils by relative movement of tool parts (41, 42) of the interlacing tool, wherein the spacing of mutually parallel conductor legs is increased and wherein the shaping occurs in such a way that conductor legs of different preformed coils are arranged in the radial direction with respect to one another; and - displacing at least a part of the radial arrangements of conductor legs in a radial direction such that all the radial arrangements of conductor legs are arranged in a ring shape, wherein - the preformed coils are arranged in groove-shaped receiving openings (43, 44) in the tool parts (41, 42) of the interlacing tool such that a first of the conductor legs of the preformed coils is arranged in a first receiving opening of a first of the tool parts, and a second of the conductor legs of the preformed coils is arranged in a second receiving opening of a second of the tool parts, wherein the shaping is carried out by moving the tool parts (41, 42) until the groove-shaped receiving openings (43, 44) are situated opposite one another in the radial direction and through-openings with the radial arrangements of the conductor legs situated therein are formed, wherein - the interlacing tool has receiving positions which are formed by receiving openings (43, 44) and which each have one or more receiving places for receiving a conductor leg, wherein a plurality of adjacent receiving positions form a plug-in block, and wherein the plug-in blocks are arranged adjacent to one another, wherein preformed coils are arranged in an identical manner in each plug-in block, wherein - each plug-in block comprises an even number of receiving positions, wherein, in the step of arranging, a first half of the receiving positions is provided with a first number of conductor legs according to a first fitting pattern, and a second, adjoining half of the receiving positions is provided with a second number of conductor legs, which is smaller than the first number, according to a second fitting pattern, wherein - the relative movement of the tool parts (41, 42) of the interlacing tool for shaping is carried out in such a way that each radial arrangement of conductor legs has an uneven number of conductor legs, characterized in that - at least one receiving place remains unoccupied at least at one receiving position of each plug-in block. - arranging a plurality of substantially U-shaped preformed coils in an interlacing tool; - shaping the plurality of preformed coils by relative movement of tool parts (41, 42) of the interlacing tool, wherein the spacing of mutually parallel conductor legs is increased and wherein the shaping occurs in such a way that conductor legs of different preformed coils are arranged in the radial direction with respect to one another; and - displacing at least a part of the radial arrangements of conductor legs in a radial direction such that all the radial arrangements of conductor legs are arranged in a ring shape, wherein - the preformed coils are arranged in groove-shaped receiving openings (43, 44) in the tool parts (41, 42) of the interlacing tool such that a first of the conductor legs of the preformed coils is arranged in a first receiving opening of a first of the tool parts, and a second of the conductor legs of the preformed coils is arranged in a second receiving opening of a second of the tool parts, wherein the shaping is carried out by moving the tool parts (41, 42) until the groove-shaped receiving openings (43, 44) are situated opposite one another in the radial direction and through-openings with the radial arrangements of the conductor legs situated therein are formed, wherein - the interlacing tool has receiving positions which are formed by receiving openings (43, 44) and which each have one or more receiving places for receiving a conductor leg, wherein a plurality of adjacent receiving positions form a plug-in block, and wherein the plug-in blocks are arranged adjacent to one another, wherein preformed coils are arranged in an identical manner in each plug-in block, wherein - each plug-in block comprises an even number of receiving positions, wherein, in the step of arranging, a first half of the receiving positions is provided with a first number of conductor legs according to a first fitting pattern, and a second, adjoining half of the receiving positions is provided with a second number of conductor legs, which is smaller than the first number, according to a second fitting pattern, wherein - the relative movement of the tool parts (41, 42) of the interlacing tool for shaping is carried out in such a way that each radial arrangement of conductor legs has an uneven number of conductor legs, characterized in that - at least one receiving place remains unoccupied at least at one receiving position of each plug-in block.