Use a minimal line width (0.05mm) even for very small burn values

to keep the lines visible in these cases.
This commit is contained in:
Florian Festi 2018-05-17 11:27:58 +02:00
parent 1d0aa05e9a
commit 924372f79d
1 changed files with 1 additions and 1 deletions

View File

@ -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: