A method for setting machining conditions, comprising: reading a machining condition file from a machining condition database, machining conditions when machining a sheet metal being set in the machining condition file in correspondence to each machining condition number of a plurality of machining condition numbers; storing, in the machining condition database, a first parameter to determine a vibration pattern of a laser beam for irradiation on the sheet metal in correspondence to each of a plurality of vibration pattern numbers to select the vibration pattern, wherein a frequency ratio of a frequency at which the laser beam is vibrated in a cutting advancing direction of the sheet metal to a frequency at which the laser beam is vibrated in a direction orthogonal to the cutting advancing direction and a phase difference between the vibration in the cutting advancing direction and the vibration in the direction orthogonal to the cutting advancing direction are set as the first parameters; displaying, in a display section, at least the plurality of machining condition numbers in the read machining condition file; and setting a vibration pattern number to select the vibration pattern, and a second parameter to determine a way of vibration in the vibration pattern, in correspondence to each machining condition number of the plurality of machining condition numbers displayed in the display section, wherein the second parameter is set as a set value to set an amplitude in a cutting advancing direction of the sheet metal, a set value to set an amplitude in a direction orthogonal to the cutting advancing direction, and a frequency at which the laser beam is vibrated. reading a machining condition file from a machining condition database, machining conditions when machining a sheet metal being set in the machining condition file in correspondence to each machining condition number of a plurality of machining condition numbers; storing, in the machining condition database, a first parameter to determine a vibration pattern of a laser beam for irradiation on the sheet metal in correspondence to each of a plurality of vibration pattern numbers to select the vibration pattern, wherein a frequency ratio of a frequency at which the laser beam is vibrated in a cutting advancing direction of the sheet metal to a frequency at which the laser beam is vibrated in a direction orthogonal to the cutting advancing direction and a phase difference between the vibration in the cutting advancing direction and the vibration in the direction orthogonal to the cutting advancing direction are set as the first parameters; displaying, in a display section, at least the plurality of machining condition numbers in the read machining condition file; and setting a vibration pattern number to select the vibration pattern, and a second parameter to determine a way of vibration in the vibration pattern, in correspondence to each machining condition number of the plurality of machining condition numbers displayed in the display section, wherein the second parameter is set as a set value to set an amplitude in a cutting advancing direction of the sheet metal, a set value to set an amplitude in a direction orthogonal to the cutting advancing direction, and a frequency at which the laser beam is vibrated.