Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

反馈bug #1

Closed
fuhaokj opened this issue Oct 11, 2021 · 2 comments
Closed

反馈bug #1

fuhaokj opened this issue Oct 11, 2021 · 2 comments

Comments

@fuhaokj
Copy link

fuhaokj commented Oct 11, 2021

1.元件Comment为空时bom表会缺少这个元件。建议为空自动填充为Comment。
2.中文显示不了会变成问号

@lianlian33
Copy link
Owner

1.元件Comment包含 “DNP”,“”,“~”,以及元件只有一个焊盘(会被当作测试点)会被过滤掉。你可以打开项目core/ibom.js,里面开头的skipComponent函数里,
如下,删除 in 后边的字典里相应的值,就可以保留你想要的了(记得改后重新运行一下Initialize.bat)

if (config.skipempty && m["component"].val in {"DNP": 1, "": 2, "~": 3}) {
    return true;
}
  1. 该项目是从KiCad那移植过来,其带的字体文件并不支持中文(会被替换为?),而且AD并不像lceda能导出字符的svgpath,所以这个法子也不行。该项目的核心功能是交互式的手焊BOM,支持中文显示的话会押后,待是否能找到一个折中的办法吧,

@fuhaokj
Copy link
Author

fuhaokj commented Nov 6, 2021

1.元件Comment包含 “DNP”,“”,“~”,以及元件只有一个焊盘(会被当作测试点)会被过滤掉。你可以打开项目core/ibom.js,里面开头的skipComponent函数里, 如下,删除 in 后边的字典里相应的值,就可以保留你想要的了(记得改后重新运行一下Initialize.bat)

if (config.skipempty && m["component"].val in {"DNP": 1, "": 2, "~": 3}) {
    return true;
}
  1. 该项目是从KiCad那移植过来,其带的字体文件并不支持中文(会被替换为?),而且AD并不像lceda能导出字符的svgpath,所以这个法子也不行。该项目的核心功能是交互式的手焊BOM,支持中文显示的话会押后,待是否能找到一个折中的办法吧,

加油压👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants