.rectangularWall(): Fix placement for hex holes enabled by holesMargin param

This commit is contained in:
Florian Festi 2018-09-13 09:23:56 +02:00
parent 59ba2a3516
commit db16b16533
1 changed files with 1 additions and 1 deletions

View File

@ -1627,7 +1627,7 @@ class Boxes:
self.edgeCorner(e1, e2, 90)
if holesMargin is not None:
self.moveTo(holesMargin + edges[-1].endwidth(),
self.moveTo(holesMargin,
holesMargin + edges[0].startwidth())
self.hexHolesRectangle(x - 2 * holesMargin, y - 2 * holesMargin)