From 12270a196b56c5ab22e1daba8370715ba469eec9 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Mon, 13 Jan 2025 20:06:07 +0100 Subject: [PATCH] Fix edges with hinge eye(s) Thanks to https://github.com/werner4711 for reporting and https://github.com/gpsqueeek for pointing out that d4b238c was the culprit. Resolves: #742 --- boxes/edges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/edges.py b/boxes/edges.py index 4f415808..46760c07 100644 --- a/boxes/edges.py +++ b/boxes/edges.py @@ -1456,7 +1456,7 @@ def endwidth(self) -> float: def margin(self) -> float: if self.settings.outset and ( - self.grip_percentage > 0.0 or + self.settings.grip_percentage > 0.0 or self.settings.grip_length > 0.0 ): return self.settings.thickness + self.boxes.edges['g'].margin() else: