An additive manufacturing machine, comprising: a layering device to layer build material over a work area; a laser to generate a fusing laser beam and a heating laser beam, overlapping the fusing laser beam, the heating laser beam having a larger spot size and a lower intensity than the fusing laser beam; a scanner to scan the fusing laser beam over the work area at a first scan speed and to scan the heating laser beam over the work area at a second scan speed; optical elements between the laser and the scanner to adjust an intensity, spot size, and position of the laser beams; and a controller operatively connected to the laser, the scanner and the optical elements to: vary an intensity, spot size, overlap, and/or scan speed of both of the laser beams at multiple different voxel locations in a layer of build material according to an energy dosage, such that a fusing energy delivered by the laser beams is varied with a geometry of each object slice, wherein each energy dosage is represented by an energy value associated with each voxel of the object slice; and characterized in that the controller is to: adjust a position of the laser beams along a scan path that follows a perimeter edge of an object slice such that the position of each laser beam with respect to the scan path remains constant, to maintain uniform energy dosing along the perimeter edge. a layering device to layer build material over a work area; a laser to generate a fusing laser beam and a heating laser beam, overlapping the fusing laser beam, the heating laser beam having a larger spot size and a lower intensity than the fusing laser beam; a scanner to scan the fusing laser beam over the work area at a first scan speed and to scan the heating laser beam over the work area at a second scan speed; optical elements between the laser and the scanner to adjust an intensity, spot size, and position of the laser beams; and a controller operatively connected to the laser, the scanner and the optical elements to: vary an intensity, spot size, overlap, and/or scan speed of both of the laser beams at multiple different voxel locations in a layer of build material according to an energy dosage, such that a fusing energy delivered by the laser beams is varied with a geometry of each object slice, wherein each energy dosage is represented by an energy value associated with each voxel of the object slice; and characterized in that the controller is to: adjust a position of the laser beams along a scan path that follows a perimeter edge of an object slice such that the position of each laser beam with respect to the scan path remains constant, to maintain uniform energy dosing along the perimeter edge. vary an intensity, spot size, overlap, and/or scan speed of both of the laser beams at multiple different voxel locations in a layer of build material according to an energy dosage, such that a fusing energy delivered by the laser beams is varied with a geometry of each object slice, wherein each energy dosage is represented by an energy value associated with each voxel of the object slice; and characterized in that the controller is to: adjust a position of the laser beams along a scan path that follows a perimeter edge of an object slice such that the position of each laser beam with respect to the scan path remains constant, to maintain uniform energy dosing along the perimeter edge.