← 博客

如何将KiCad PCB导出为STEP — MCAD交付指南

Export KiCad PCB to STEP for MCAD — MakerSuite 3D

当PCB需要与机械设计对接时

您已在KiCad中完成布线,现在机械团队需要检查外壳间隙、散热片配合或连接器对齐。截图不够用 — 他们需要真实的CAD几何图形,可以标注、干涉检查并组装。STEP(AP214)是每个MCAD工具都能读取的通用中立格式:Fusion 360、SolidWorks、Inventor、Creo、FreeCAD、Onshape。本文展示如何从KiCad干净地导出,避免引用损坏或部件缺失。

STEP导出实际生成的内容

KiCad的STEP导出器遍历您的电路板和每个关联的3D模型,写入一个包含PCB基板(作为实体)和每个元件(作为子装配体及其实体几何)的.step文件。结果是参数化B-rep,而非网格 — 这意味着MCAD工具可以测量边缘半径、以微米精度检测干涉,并将电路板视为真实机械对象。相比之下,WRL(KiCad的旧格式)只存储渲染网格,没有实体。

干净STEP导出的条件

导出工作流(KiCad 8)

  1. 在KiCad PCB编辑器中,选择File → Export → STEP (.step) — 对话框允许选择导出原点(Drill/Place或Grid)以及是否用边界框替代缺失模型。
  2. 将原点设置为机械团队使用的(0,0,0)基准 — 通常是Drill/Place原点对齐的安装孔。
  3. 仅在迭代时勾选Overwrite existing file;不勾选Fuse shapes(它会使导出时间增加5~10倍,收益却微乎其微)。
  4. 点击Export并等待 — 带真实STEP模型的500+元件大型板可能需要1~3分钟,因为OpenCascade要处理每个B-rep面。
  5. Verify — drop the exported STEP onto pcbviewer.app/tools/3d-viewer — PCB基板、元件和网络名称保持装配层次加载,在打开Fusion之前就能测量和干涉检查。

Exported a STEP? Drop it in our free browser viewer — no install.

免费试用 MakerSuite 3D

为什么这一步是大多数MCAD交付失败的地方

机械工程师经常从未给封装附加3D模型的电气工程师那里收到'空的'STEP文件。KiCad STEP导出器不会警告缺失模型 — 它只导出电路板实体并悄悄跳过元件。结果只是SolidWorks中的裸PCB基板,机械团队退回,整个往返浪费一天。在发送前用浏览器查看器验证STEP,10秒就能发现。

需要STEP导出时

隐私 — 为什么验证用浏览器查看器

如果您的STEP包含未发布的产品几何(比如付费客户的原型),上传到云查看器是危险信号。MakerSuite 3D的STEP查看器完全在浏览器中运行occt-import-js WASM — 无上传,无服务器往返。您拖入的文件不离开标签页。与Fusion 360使用的是同一个OpenCascade内核,零NDA暴露。

常见问题

Which KiCad versions support STEP export?

STEP export has been in KiCad since version 5 (2018), but KiCad 7 and 8 produce the cleanest assemblies with proper hierarchy, fewer broken references, and support for threaded holes. If you're still on 5.x, expect some components to export as bounding boxes instead of real geometry — upgrade to 8.x for production MCAD handoff.

Why does my exported STEP file look empty?

Two usual suspects: (1) your footprints don't have 3D models attached — open Footprint Properties → 3D Models tab and point each one to a .step or .wrl file; (2) KiCad's built-in library path wasn't resolved — check Preferences → Configure Paths for KICAD6_3DMODEL_DIR or KICAD8_3DMODEL_DIR. Without models attached, STEP export still produces the PCB substrate but all components are missing.

Can I open the exported STEP file in Fusion 360 or SolidWorks?

Yes — STEP (AP214) is the universal neutral CAD format. Fusion 360, SolidWorks, Inventor, Creo, CATIA, FreeCAD, and Onshape all read it. The PCB comes in as a single assembly with the board body plus every component as a sub-part. You can measure, assign materials, and drop it into a larger mechanical design.

How do I check the exported STEP without installing CAD software?

Drop it onto MakerSuite 3D's free browser STEP viewer — it parses the AP214 assembly using occt-import-js (the same OpenCascade kernel Fusion uses) and shows the full hierarchy with measurements. No Fusion license, no FreeCAD install, no upload. Linked below.

What's the difference between STEP and WRL export?

STEP (AP214) is parametric B-rep CAD geometry — every surface is a mathematical definition, ideal for CAD and manufacturing. WRL (VRML) is mesh-based and was KiCad's legacy rendering format — fast for viewing but useless for mechanical CAD because there are no solid bodies. Always use STEP for MCAD handoff; WRL only if you're feeding a legacy renderer.

相关文章

KiCad 3D Viewer OnlinePCB STEP Model ViewerFree STEP File Viewer Online

拖入您的KiCad STEP — 几秒内验证装配

打开3D查看器