基础
工作流程
设计的构建顺序,从导入元件到写入板厂文件包。
- 如果 KiCad 有该元件,则先运行
agentee search symbol lm358,然后运行agentee import symbol Amplifier_Operational:LM358 --with-footprint。导入的内容位于symbols/和footprints/中。 - 否则运行
agentee new symbol NAME/agentee new footprint NAME并编辑起始文件。 - 运行
agentee new board NAME,选择叠层预设和板厂,添加网络类。 - 快速开始布局:一旦原理图检查通过,
agentee place NAME会将所有元件放置在电路板上(连接器在边缘,大芯片在中央,去耦电容在其引脚处)。使用agentee render pcb:NAME查看,移动并locked = true重要元件,运行agentee place NAME --keep-placed或使用另一个--seed处理其余部分,然后运行agentee silk NAME。 - 运行
agentee check直到没有错误,使用agentee render NAME -o out.png查看。 agentee view为人类保持一个实时窗口打开,人类也可以在其中移动元件、布线走线和放置过孔,并将它们保存到布局中。- 当布局没有错误时,
agentee fab NAME -o fab/写入制造文件包。
渲染设计的一部分
agentee render(MCP render_item)绘制查看器所绘制的内容。无侧面板(--canvas-only)时,PNG 裁剪至绘图区域,--width 和 --height 限制其大小。
| 标志 | 功能 |
|---|---|
--region x0,y0,x1,y1 | 缩放至该矩形,单位为 mm,在项自身的坐标系中 |
--focus A,B,... | 原理图和 PCB 布局:缩放至这些参考、网络名称或 REF.PIN,* 匹配任意字符序列。网络引入其触及的部件,引脚引入其网络 |
--context dim|hide|show | --focus 之外所有内容的处理方式(默认 dim) |
--rulers | 沿顶部和左边缘标注 mm 坐标 |
--show / --hide | 要开启或关闭的层,例如 --hide F.Cu --show In1.Cu;单独使用 --hide F.Cu 会显示其他所有铜层 |
不匹配任何名称的名称是错误。--region 与 --focus 一起使用时,保留过滤器并使用区域进行缩放。