R2 底板改 4 层(D15):规则 / 几何 / 背面摆位 / 4 层布线与铺铜,已下发
- 规则:铜层 2→4,差分 0.28/0.18,间距 0.15,过孔 0.3/0.2(rules_base) - 几何:98×98 板框 + 4×M3,槽阵居中,L1 12V 大铜 + 指头(pcb_base) - 摆位:五插槽留 L1,其余 133 件翻到 L4;背面镜像规则实测;Hub 放走廊 2、 东移 2.5 mm;扇出圈 / 小件间距 1.5(去耦例外)/ 9 A 过孔阵禁区(place_base) - 叠层按用户决定改为 L1 槽面 / L2 整层 +3V3 / L3 整层 GND / L4 器件面 - 布线:D± 七对按构造布通(USB3 掉头、USB1/2 北去掉头、USB4/5 东绕、 J23 桥),+3V3 / GND / +12V 平面网每脚一孔,0.125 网格 + PathFinder 开关(route_base、remote_route.ps1);剩 37 个网待手工补 - 铺铜:4 层重写,入口链自南向北切段 + 断面校核(pour_base); 已下发布线 / 缝合孔 / 铜面轮廓,填铜未成功(待查) - 工具:plot_base / plot_routes / shot_base,board_check 通孔两层都算 Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_0168Bu6SEx3cXXCJLkdnE6zB
这个提交包含在:
+6
-4
@@ -25,7 +25,9 @@ from eda import run
|
||||
DX, DY = 30.0, 5.0 # 下板原点在载板坐标里的位置
|
||||
GAP = 13.0 # 两板净空
|
||||
MARGIN = 1.0 # 装配余量
|
||||
BW, BH = 160.0, 125.0
|
||||
# 2026-09-07:跟 pcb1_place 一起改成真板框(220x135,左下角 (-30,-5))。
|
||||
BX0, BY0, BX1, BY1 = -30.0, -5.0, 190.0, 130.0
|
||||
BW, BH = BX1 - BX0, BY1 - BY0
|
||||
|
||||
LANE_H = 1.0 # 排线(0.2 厚)+ 走线余量,按 1 mm 算
|
||||
|
||||
@@ -37,7 +39,7 @@ def shift(x0, y0, x1, y1):
|
||||
def clip(r):
|
||||
u"""裁到下板板框内;完全在框外返回 None。"""
|
||||
x0 = max(r[0], 0.0); y0 = max(r[1], 0.0)
|
||||
x1 = min(r[2], BW); y1 = min(r[3], BH)
|
||||
x1 = min(r[2], BX1); y1 = min(r[3], BY1)
|
||||
if x1 <= x0 or y1 <= y0:
|
||||
return None
|
||||
return [round(x0, 2), round(y0, 2), round(x1, 2), round(y1, 2)]
|
||||
@@ -54,7 +56,7 @@ def header_anchors():
|
||||
pads = json.load(io.open(os.path.join(HERE, 'pcb2-header-pads.json'), encoding='utf-8'))['pads']
|
||||
nets = {}
|
||||
r = run("""
|
||||
await eda.dmt_EditorControl.openDocument('f126ffb29c92f9b2');
|
||||
await eda.dmt_EditorControl.openDocument('942ed1560d81c1e7');
|
||||
await new Promise(r=>setTimeout(r,2000));
|
||||
const out = {};
|
||||
for (const c of await eda.pcb_PrimitiveComponent.getAll()) {
|
||||
@@ -116,7 +118,7 @@ def build():
|
||||
data = {
|
||||
'frame': u'下板 PCB1 坐标系 mm,原点左下角,Y 向上。下板坐标 = 载板坐标 − (30,5)。'
|
||||
u'hmax = 该矩形内下板元件允许的最大高度 = 13(净空) − h(载板底面元件) − 1(余量)',
|
||||
'gap': GAP, 'board': [BW, BH],
|
||||
'gap': GAP, 'board': [BW, BH], 'board_rect': [BX0, BY0, BX1, BY1],
|
||||
'anchors': anchors, 'zones': zones, 'lanes': lanes, 'slots': slots,
|
||||
}
|
||||
out = os.path.join(HERE, 'pcb1-env.json')
|
||||
|
||||
在新工单中引用
屏蔽一个用户