From 924372f79d49729d62b9bd9b34bfd75ba8289181 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Thu, 17 May 2018 11:27:58 +0200 Subject: [PATCH] Use a minimal line width (0.05mm) even for very small burn values to keep the lines visible in these cases. --- boxes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxes/__init__.py b/boxes/__init__.py index 14c93b7..5bec640 100755 --- a/boxes/__init__.py +++ b/boxes/__init__.py @@ -260,7 +260,7 @@ class Boxes: self.bedBoltSettings = (3, 5.5, 2, 20, 15) # d, d_nut, h_nut, l, l1 self.hexHolesSettings = (5, 3, 'circle') # r, dist, style self.surface, self.ctx = self.formats.getSurface(self.format, self.output) - self.ctx.set_line_width(2 * self.burn) + self.ctx.set_line_width(max(2 * self.burn, 0.05)) self.ctx.select_font_face("sans-serif") self._buildObjects() if self.reference: