Fix spring hole offsets by burn in LidSideRight/Left

This commit is contained in:
Matthijs Kooijman 2019-07-05 23:38:27 +02:00 committed by Florian Festi
parent 4691a65a29
commit 3bd4dc9907
1 changed files with 2 additions and 2 deletions

View File

@ -1552,11 +1552,11 @@ class LidSideRight(BaseEdge):
pinl, 90, edge_width, 90, pinl+t-s]
holex = 0.6 * t
holey = -0.5*t
holey = -0.5*t + self.burn
if self.rightside:
p = list(reversed(p))
holex = length - holex
holey = edge_width + 0.5*t
holey = edge_width + 0.5*t + self.burn
if spring:
self.rectangularHole(holex, holey, 0.4*t, t+2*s)