A method for generating control data for the formation of a tooth flank by milling a workpiece on a numerically controlled machine tool with at least 5 axes, at a universal machine tool, through successive passes with a milling cutter on the machine tool based on generated control data, the method comprising:
- defining a geometry of a tooth flank,
- determining a contact pattern area on the predefined tooth flank geometry,
- determining parameters to vary the predefined tooth flank geometry, and
- generating control data on the basis of tooth flank geometry modified based on the defined contact pattern area and of the defined parameters.