Inspection: hide the tray's own magnifier icon for cards; fill the gaps between back gold fingers

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Sonnet 5.5 committed 2026-11-03 13:55:22 +08:00
1 parent fe72ec0577
commit 0ba2845609
6 files changed
+10 -4

No files matched your search

+6 -4
View File
@@ -290,15 +290,17 @@ def gpu_back(accent, accent_dark, burnt=False):
screw(c, sx, sy)
sticker(c, 5)
seal(c)
# 背面金手指(暗一档)
# 背面金手指(暗一档):触点之间是 PCB 的深绿,只有键位缺口是空的
for y in range(y1 + 12, FING_Y1 + 1):
for x in range(x0, x1 + 1):
if NOTCH_X - 2 <= x <= NOTCH_X + 3 and y > y1 + 13:
continue
c.put(x, y, 'g2')
for x in range(x0 + 2, x1 - 2):
if NOTCH_X - 2 <= x <= NOTCH_X + 3 or (x - x0) % 4 == 3:
continue
for y in range(y1 + 14, FING_Y1 + 1):
c.put(x, y, 'Y' if (x - x0) % 4 else 'p')
for y in range(y1 + 12, y1 + 14):
for x in range(x0, x1 + 1):
c.put(x, y, 'g2')
if burnt:
for dx, dy in ((60, 30), (130, 40), (50, 80), (100, 70), (150, 90)):
c.rect(dx, dy, dx + 6, dy + 4, 'c')