def METHOD_NAME(self):
    """Place holes for the paintcans evenly"""
    if self.hexpattern:
        self.moveTo(self.minspace / 2, self.minspace / 2)
        settings = self.hexHolesSettings
        settings.diameter = self.candiameter
        settings.distance = self.minspace
        settings.style = 'circle'
        self.hexHolesRectangle(self.y - 1 * self.minspace,
                               self.x - 1 * self.minspace,
                               settings)
        return
    n_x = int(self.x / (self.candiameter + self.minspace))
    n_y = int(self.y / (self.candiameter + self.minspace))
    if n_x <= 0 or n_y <= 0:
        return
    spacing_x = (self.x - n_x * self.candiameter) / n_x
    spacing_y = (self.y - n_y * self.candiameter) / n_y
    for i in range(n_y):
        for j in range(n_x):
            self.hole(i * (self.candiameter + spacing_y) + (self.candiameter + spacing_y) / 2,
                      j * (self.candiameter + spacing_x) + (self.candiameter + spacing_x) / 2,
                      self.candiameter / 2)