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 行删除
+14
查看文件
@@ -0,0 +1,14 @@
import time, sys
sys.path.insert(0,'.')
from eda import run
JS = """
const left={}; for (const l of await eda.pcb_PrimitiveLine.getAll()) { const L=l.getState_Layer(); if([1,2,15,16].includes(L)) left[L]=(left[L]||0)+1; }
return {lines:left, vias:(await eda.pcb_PrimitiveVia.getAll()).length, pours:(await eda.pcb_PrimitivePour.getAll()).length};
"""
prev=None
for i in range(40):
r=run(JS, timeout=60)
res=r.get('result'); print(time.strftime('%H:%M:%S'), res, flush=True)
if res and not res['lines'] and res['vias']==0 and res['pours']==0: print('CLEAN'); break
if res==prev: print('stalled'); break
prev=res; time.sleep(20)