Fix spring hole offsets by burn in LidSideRight/Left
This commit is contained in:
parent
4691a65a29
commit
3bd4dc9907
boxes
|
@ -1552,11 +1552,11 @@ class LidSideRight(BaseEdge):
|
||||||
pinl, 90, edge_width, 90, pinl+t-s]
|
pinl, 90, edge_width, 90, pinl+t-s]
|
||||||
|
|
||||||
holex = 0.6 * t
|
holex = 0.6 * t
|
||||||
holey = -0.5*t
|
holey = -0.5*t + self.burn
|
||||||
if self.rightside:
|
if self.rightside:
|
||||||
p = list(reversed(p))
|
p = list(reversed(p))
|
||||||
holex = length - holex
|
holex = length - holex
|
||||||
holey = edge_width + 0.5*t
|
holey = edge_width + 0.5*t + self.burn
|
||||||
|
|
||||||
if spring:
|
if spring:
|
||||||
self.rectangularHole(holex, holey, 0.4*t, t+2*s)
|
self.rectangularHole(holex, holey, 0.4*t, t+2*s)
|
||||||
|
|
Loading…
Reference in New Issue