
PCB Pricing Calculator
oshwhub-official1v2.5.2
Supports offline PCB order pricing calculation, with multiple rule scenarios, custom calculation parameters, and built-in common pricing rules
Details
Changelog
Historical versions
Comments
PCB Pricing Calculator
oshwhub-official1Details
Changelog
Historical versions
Comments
eext-pcb-price-calculator
EasyEDA Pro extension: Offline PCB Price Calculator
Introduction
This project is an extension for EasyEDA Pro that provides offline PCB price calculation functionality. Users can access the tool via the menu within EasyEDA Pro and estimate PCB manufacturing costs without an internet connection.
Features
- Supports input parameters such as board dimensions, layer count, quantity, etc.
- Real-time calculation and display of PCB price
- Results can be copied or exported
- Fully offline operation, no network connection required
- Multi-language interface (supports Chinese, English, etc.)
Usage
- Import this extension (
.eextfile) into EasyEDA Pro. - Open the tool via the "PCB Price Calculator" entry in the top menu bar.
- Fill in the PCB parameters in the popup IFrame interface (e.g., length, width, layer count, quantity, etc.).
- Click the "Calculate" button to view the price estimation result.
- You can copy the result or export it as a file.
Parameter Description
- Dimensions: Enter the length and width of the PCB (unit: mm).
- Layer Count: Select the number of PCB layers (e.g., 2-layer, 4-layer, etc.; automatically obtained after selecting the PCB).
- Quantity: Enter the number of PCBs to be produced.
- Other Options: Such as surface finish, solder mask color, etc. (if available).
Localization
Supports a multi-language interface; the language switches automatically based on EasyEDA Pro settings.
Technical Notes
- The frontend interface is based on
iframe/index.html, written in vanilla HTML/CSS/JS. - Interacts with the main program through the
edaAPI provided by EasyEDA Pro. - All calculation logic is completed locally on the browser side, no internet connection required.
Development and Build
Please refer to the Copilot Instructions for detailed development, build, and packaging process instructions.
License
This project is released under an open source license; see the LICENSE file for details.
2.5.2
- 卡片宽高自适应,避免文字重叠
- 添加多语言支持
2.5.1
- 修复: PCB 识别功能完全失效的问题(
getAllPrimitiveId(null, layer)传 null 参数导致查询返回 0 条,改为无参调用) - 修复: 长度单位错误 — mil→cm 换算公式从错误的
*0.254/10修正为*0.00254 - 修复: 条件规则对下拉类工艺(如"焊盘喷锡")不生效的问题 —
renderProcesses()重建 DOM 时丢失用户选择,改为保存/恢复工艺控件值 - 修复: 条件规则的值输入 — 下拉工艺改为显示下拉选项而非自由文本框,避免打字拼写错误
- 优化:
evaluateCondition()比较逻辑 — trim 防空格干扰,数值严格比较,非数值字符串比较 - 修复: iframe 布局高度链条断裂 — 添加
html,body{height:100%;overflow:hidden}适配openIFrame(1000,600)固定尺寸 - 重构: UI 风格全面遵循 EasyEDA UI 设计规范(品牌蓝 #1890ff,字号 12px,按钮 2px 圆角/28px 高度,弹窗 lc_modal 4px 圆角三层结构,Tabs 顶部 3px 指示线)
- 移除: 所有 emoji 图标,替换为文本/CSS 字符
- 重构: 侧边栏从蓝色渐变改为白色背景,body 背景从渐变改为 #f0f0f0
1.10.2
- 增加自动识别PCB面积和层数,优化用户体验
1.10.1
- 替换logo
- 修正extensions.json的描述
1.0.1
- 修复了部分情况下 PCB 价格计算不准确的问题
- 优化了离线模式下的性能
- 更新了部分界面文案以提升用户体验

暂无数据
Type
PCB
Keyword
PCBPrice
Extension Info
| Version | v2.5.2 |
| Author | EasyEDA |
| Published at | 2026-06-22 11:20:43 |
| Name | eext-pcb-price-calculator |
| UUID | 6077dc5ce8194783a51f4a18d95d11a5 |
| Works with | ^2.2.0 |
| Report | Report abuse |
Comment