Skip to content

Commit

Permalink
CardBox: Add same slack to Lid Topper as the lid itself
Browse files Browse the repository at this point in the history
Related: #718
  • Loading branch information
florianfesti committed Nov 4, 2024
1 parent 3c92ab6 commit 769909a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boxes/generators/cardbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def render(self):
self.rectangularWall(c, h, "eeee", move="right", label="Back inlay")

if self.add_lidtopper:
self.rectangularWall(x, y - 2*t, "eeee", move="right", label="Lid topper")
self.rectangularWall(x, y - 2.2*t, "eeee", move="right", label="Lid topper")

elif self.openingdirection == 'front':
with self.saved_context():
Expand Down Expand Up @@ -247,4 +247,4 @@ def render(self):
self.rectangularWall(h, y, "fAff", move="right", label="Divider")

if self.add_lidtopper:
self.rectangularWall(x - 2 * t, y, "eeee", move="right", label="Lid topper (optional)")
self.rectangularWall(x - 2.2*t, y, "eeee", move="right", label="Lid topper (optional)")

0 comments on commit 769909a

Please sign in to comment.