Skip to content

Commit

Permalink
1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowine committed Jan 10, 2025
1 parent f38e374 commit 00f6f2b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 7 deletions.
25 changes: 20 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
# V1.3.0

- 修复线宽应用到EDA宽度错误
- 压缩界面
- 优化代码

# V1.2.2

- 线宽正向计算默认显示两个单位
- 宽度计算直接应用到eda
- 线宽计算添加默认显示参数
- 优化代码

# V1.2.0

- 增加电阻分压计算
- 增加电阻分压计算

# V1.1.0
- 添加mm mil单位切换
- title硬编中文(因为现在不支持语言文件)

- 添加mm mil单位切换
- title硬编中文(因为现在不支持语言文件)

# V1.0.0
- 初版
- 支持导线宽度计算

- 初版
- 支持导线宽度计算
12 changes: 11 additions & 1 deletion extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"uuid": "42e308c13d86407cac8704f9daca4d0f",
"displayName": "PCB计算工具",
"description": "一个支持线宽计算,电阻分压计算等PCB电路板数值计算的工具",
"version": "1.2.2",
"version": "1.3.0",
"publisher": "xiao_wine <xiaowine0#gmail.com>",
"engines": {
"eda": "^2.2.32"
Expand All @@ -29,6 +29,16 @@
"id": "home_calculation_tools",
"title": "计算",
"menuItems": [
{
"id": "line_width_calculation",
"title": "线宽计算...",
"registerFn": "line_width_calculation"
},
{
"id": "resistive_divider_calculation",
"title": "分压电阻计算...",
"registerFn": "resistive_divider_calculation"
},
{
"id": "go_project",
"title": "前往项目主页...",
Expand Down
1 change: 1 addition & 0 deletions iframe/resistive-divider.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
}

.container {
width: 500px;
display: flex;
background-color: var(--card-background);
padding: 30px;
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function line_width_calculation(): void {
eda.sys_IFrame.openIFrame('/iframe/line-width.html', 560, 365, 'line-width');
}
export function resistive_divider_calculation(): void {
eda.sys_IFrame.openIFrame('/iframe/resistive-divider.html', 1000, 550, 'resistive-divider');
eda.sys_IFrame.openIFrame('/iframe/resistive-divider.html', 560, 575, 'resistive-divider');
}
export function go_project(): void {
eda.sys_Window.open('https://github.com/xiaowine/pcb-calculation-tools');
Expand Down

0 comments on commit 00f6f2b

Please sign in to comment.