kicad-gerbers

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

This skill allows an LLM to review generated GERBER files for production of a PCB.

该技能允许LLM检查用于PCB生产的生成的GERBER文件。

If no generated GERBERs exist, please request for the user to generate them or generate them yourself for the purpose of review only, in a separate directory.
Generate GERBERs per layer with kicad-cli and then use pygerber in a venv to view them, rendered as images. uv pip install pygerber
For example:
'''To convert a Gerber file to PNG, use the pygerber gerber convert png command. For example, following command converts source.gbr (a copper layer) to a PNG at 600 DPMM resolution:
pygerber gerber convert png source.gbr -o output.png -d 600 -s copper_alpha'''
Ensure that their are no unexpected shorts, that vias do not intersect, and that overall the board appears to be fabricatable.
如果不存在已生成的GERBER文件,请请求用户生成它们,或者仅为了检查目的自行在单独目录中生成。
使用kicad-cli按层生成GERBER文件,然后在venv虚拟环境中使用pygerber将其渲染为图像进行查看。执行uv pip install pygerber安装依赖。
示例:
'''要将Gerber文件转换为PNG,请使用pygerber gerber convert png命令。例如,以下命令将source.gbr(铜层)转换为分辨率为600 DPMM的PNG:
pygerber gerber convert png source.gbr -o output.png -d 600 -s copper_alpha'''
确保没有意外短路,过孔不相交,并且整体电路板看起来可制造。