Skip to content

Commit

Permalink
Flexbox4: Use extra_length for latch
Browse files Browse the repository at this point in the history
Make latch cover the front wall properly.

Thanks to https://github.com/Ricu64 for reporting.

Resolves: #649
  • Loading branch information
florianfesti committed Mar 28, 2024
1 parent 61f9e1d commit e60c8d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boxes/generators/flexbox4.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def surroundingWall(self, move=None):
self.edges["X"](c4, h + 2 * self.thickness)

self.edge(y - r - self.latchsize)
self.latch(self.latchsize+t, False)
self.latch(self.latchsize, False, extra_length=t)
self.edge(h + 2 * self.thickness)
self.latch(self.latchsize+t, False, True)
self.latch(self.latchsize, False, True, extra_length=t)
self.edge(y - r - self.latchsize)
self.edge(c4)
self.edge(x - 2 * r)
Expand Down

0 comments on commit e60c8d7

Please sign in to comment.