# KiCad EDA 生产文件生成器
## 中文说明
本插件可一键生成 PCB 的 Gerber、钻孔、BOM 物料清单、坐标文件。
### 安装
适用于:KiCad EDA 5.1.0 +
* Windows 安装命令
```
git clone https://github.com/xtoolbox/kicad_tools.git %appdata%/kicad/scripting/plugins/kicad_tools
```
* Linux 安装命令
```
// TODO
```
### 使用
安装完成即可使用,找到 `工具` -> `外部插件` -> `Gen Manufacture Docs` 打开插件界面,点击插件界面上的 `Gen Manufacture Docs ` 按钮执行命令。
![desc](desc.png)
### 生成文件
当 `BOM List` `Positon File` `Gerber Files` 全选时,点击 `Generate Marnufacture Docs` 按钮后插件会一键生成 BOM 物料清单、坐标文件、Gerber 文件、钻孔文件。
BOM 文件和坐标文件会以 CSV 格式存放在电路板同级目录下,Gerber 和钻孔文件放在电路板目录下的 gerber 目录中,通过 `Split Slot` 选项生成的钻孔文件中的槽孔会被转换成多个普通孔。
生成的文件可以直接在 sz-jlc.com 进行贴装。
### 注意事项
GenMFDoc() 会改变电路板的钻孔原点,建议先用GenMFDoc() 生成 BOM 清单和位置文件,再生成 Gerber 文件。
### 参考
KiCad plot tool is forked from "https://github.com/blairbonnett-mirrors/kicad/blob/master/demos/python_scripts_examples/gen_gerber_and_drill_files_board.py"
S-Expression parse tool is forked from https://github.com/tkf/sexpdata
# Manufacture Tools for kicad
Usage:
step 1: Copy the mf_tool.py gerber_drill.py loadnet.py and sexpdata.pyto “[kicad install path]\share\kicad\scripting\plugins”
step 2: In Python console window, type
```python
import mf_tool as mf
mf.GenSMTFiles()
```
step 3: or in [tools]->[external tools] menu, invoke the [Gen Manufacture Docs] command.
step 4: the BOM and Postion CSV file will be generated under the same folder of the board file。 Gerber and drill file is under the "gerber" folder. The slot hole in drill file will split to hole serires. Send them to jlcpcb.com to get a PCBA.
## Attention:
The GenMFDoc() command will change the Aux original point
## Preivew
![holes_with_ref](holes_with_ref.png)
![slot_without_ref](slot_without_ref.png)
没有合适的资源?快使用搜索试试~ 我知道了~
kicad_tools:Kicad的制造文件生成工具
共14个文件
py:7个
png:4个
license:1个
11 下载量 140 浏览量
2021-05-12
10:06:12
上传
评论
收藏 219KB ZIP 举报
温馨提示
KiCad EDA 生产文件生成器 中文说明 本插件可一键生成 PCB 的 Gerber、钻Kong、BOM 物料清单、坐标文件。 安装 适用于:KiCad EDA 5.1.0 + Windows 安装命令 git clone https://github.com/xtoolbox/kicad_tools.git %appdata%/kicad/scripting/plugins/kicad_tools Linux 安装命令 // TODO 使用 安装完成即可使用,找到 工具 -> 外部插件 -> Gen Manufacture Docs 打开插件界面,点击插件界面上的 Gen Manufacture Docs 按钮执行命令。 生成文件 当 BOM List Positon File Gerber Files 全选时,点击 Generate Marnufacture Docs 按钮后插件
资源详情
资源评论
资源推荐
收起资源包目录
kicad_tools-master.zip (14个子文件)
kicad_tools-master
desc.png 108KB
layout_tool.py 2KB
gerber_drill.py 8KB
mf_tool.py 28KB
LICENSE 1KB
slot_without_ref.png 54KB
__init__.py 22B
qrcode_footprint_wizard.py 7KB
loadnet.py 2KB
.gitignore 6B
README.md 2KB
mf_tool.png 2KB
holes_with_ref.png 50KB
kisexp.py 2KB
共 14 条
- 1
PeterLee龍羿學長
- 粉丝: 29
- 资源: 4634
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0