.rectangularWall(): Fix placement for hex holes enabled by holesMargin param
This commit is contained in:
parent
59ba2a3516
commit
db16b16533
|
@ -1627,7 +1627,7 @@ class Boxes:
|
||||||
self.edgeCorner(e1, e2, 90)
|
self.edgeCorner(e1, e2, 90)
|
||||||
|
|
||||||
if holesMargin is not None:
|
if holesMargin is not None:
|
||||||
self.moveTo(holesMargin + edges[-1].endwidth(),
|
self.moveTo(holesMargin,
|
||||||
holesMargin + edges[0].startwidth())
|
holesMargin + edges[0].startwidth())
|
||||||
self.hexHolesRectangle(x - 2 * holesMargin, y - 2 * holesMargin)
|
self.hexHolesRectangle(x - 2 * holesMargin, y - 2 * holesMargin)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue