def METHOD_NAME(self, width, height):
    top_segment_height = height / self.num
    a = self.radians
    # Maximum size to cut out
    vertical_cut = top_segment_height - self.front_wall_height
    hypotenuse = vertical_cut / math.sin(a)
    horizontal_cut = math.sqrt((hypotenuse ** 2) - (vertical_cut ** 2))
    if horizontal_cut > width:
        # Shrink the cut to keep the full height
        horizontal_cut = width - 1  # keep a 1mm edge on the top
        vertical_cut = horizontal_cut * math.tan(a)
        hypotenuse = math.sqrt((horizontal_cut ** 2) + (vertical_cut ** 2))
    top = width - horizontal_cut
    front = height - vertical_cut
    borders = [width, 90, front, 90 - self.angle, hypotenuse, self.angle, top, 90, height, 90]
    edges = 'eeeef' if self.include_back else 'e'
    self.polygonWall(borders, edge=edges, callback=[self.generate_finger_holes], move="up", label="left side")
    self.polygonWall(borders, edge=edges, callback=[self.generate_finger_holes], move="up", label="right side")