R2:底板 / 刀片布局布线脚本、快照、截图与规划文档更新(含外壳、打印件、布线归档)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
这个提交包含在:
zhou yang
2026-10-04 19:24:45 +08:00
共同撰写人 Claude Opus 5.5
父节点 cd01640c40
当前提交 cf7cc9cf90
共修改 759 个文件,包含 76962 行新增和 5299 行删除
+7 -3
查看文件
@@ -77,9 +77,13 @@ def main():
segs, vias = cache['segs'], cache['vias']
pads = R.load_pads()
holes = B.phone_holes()
# 缝合过孔也算进来
import pcb_route as PR
stitch = [(x, y, 'GND') for (x, y) in PR.stitch_points()]
# 缝合过孔也算进来 —— ⚠ 2026-09-11 起只读服务器算好的落点(`_blade_stitch_pts.json`,
# `MODE=stitch bash remote_blade.sh` 产出)。原来在这里现算 `PR.stitch_points()` = 本机扫孔位
# (CLAUDE.md 不许);而且板上还没铜时算出来的是「不避让导线」的 5 mm 格点,
# 一上来就报一排「+12V 线 vs GND 过孔 −0.895」的假问题。没有落点文件就不算缝合孔。
sp = os.path.join(HERE, '_blade_stitch_pts.json')
stitch = ([(x, y, 'GND') for (x, y) in json.load(io.open(sp, encoding='utf-8'))]
if os.path.exists(sp) and '--no-stitch' not in sys.argv else [])
allv = [(v[0], v[1], v[2]) for v in vias] + stitch
bad = {}