板厂价格规则与线宽规则
离线复刻板厂计价:面积/固定/免费额度叠加工艺加价,多场景对比;并按网络电流生成 IPC-2221 电源线宽与过孔规则建议。
Badges only claim the demo-run passed on that host; cross-host installation is handled by the adapter layer.
Preview gallery
Compare 100×80 mm, 1.6 mm, 1 oz quotes for 5 vs 50 pieces under the built-in JLC rules, and generate power-width rules for a +5V/3A net class.
Content matches the files inside the package; extracted by the publish pipeline.
LCEDA price / design-rule / spec bundle
Offline cores from the LCEDA plaza rule group (references/PROVENANCE.md): eext-pcb-price-calculator rule engine and eext-design-rule-generator net classification + current-based width/via synthesis. The JLC stackup RBF impedance surrogate is data-heavy (8.6 MB stackups + calibration) and is NOT derived here — run it in-editor (see procedures).
Cores
scripts/demo.mjs (Node >= 20, no deps):
- Price:
area = L_cm * W_cm; mode areabase*area + extra, mode fixedfixedBase + areaFactor*area, mode free 0; then conditional rulesprocess <op> valuewith= > < >= <=(numeric when both parse finite, else trimmed string; empty operand false) applying+ - * /in order. - Net classify: ground
^(GND|AGND|DGND|PGND|GNDA|GNDD)($|[_-]), power tokens /\d+V\d+|VCC|VDD|PWR|POWER, impedance tag_Z<ohm>D?_, diff suffixes_P/_N,_DP/_DM,+/-; default targets PCIE/PEX 85, USB 90, else 100 ohm. - Power width: IPC-2221
A=(I/(k*dT^0.44))^(1/0.725), k 0.048/0.024; via:c=(I/(0.02*dT^0.44))^(1/0.725), inner mm = max(0.2, c25.4^2/(3140copperUm)), outer = max(inner+0.3, inner*1.75). - Rule profile names:
PWR/ADR_Z{ohm}_{W}MIL/ADR_DIFF{ohm}_{W}MIL_{G}GAP+_CLASS.
Run
node scripts/demo.mjs --out-dir <dir> [--input <json>]
Default scripts/fixtures/input.json; stdout = edaskills.report.v1;
artifacts price.json, net-rules.csv.
When to use
- Quote a fab order from process selections with your own rule table.
- Bootstrap net classes / width rules before routing a new LCEDA board.
Not for: official JLC impedance targets (use the in-editor surrogate), clearance synthesis (clone the fab template in-editor), or live pricing.
Dependencies
Demo run
node v24.19.0 · 2026/11/19
- [info] PRICE (buck-demo): 80.00 cm2 -> CNY 168.00 (3 conditional rules applied)
- [warning] IMPEDANCE_IN_EDITOR (USB_Z90D_P): target 90 ohm needs the JLC stackup surrogate; run eext-design-rule-generator in-editor for W/S
FAQ
Ratings & reviews
Not rated0 ratings
Sign in to rate this skill.
Sign inVersions
- v1.0.0Latest389.6 KB
首发种子版本。