In short: By exporting accurate 3D component bodies and the board outline from the ECAD tool as STEP (or IDF for legacy flows) and merging them with the enclosure in MCAD, teams catch height collisions, connector misalignment and cutout errors on the screen instead of on the first prototype.
Why a 2D footprint is not enough
A PCB footprint describes copper, mask and silkscreen. It says almost nothing about what stands above the board. A 12 mm tall electrolytic capacitor, a 9.5 mm USB-C receptacle and a 2 mm shield can all share a similar land pattern area, yet each one decides whether the lid closes. Mechanical engineers work in solids; electrical engineers work in layers and nets. Without a shared 3D representation, the two groups discover conflicts only when a first-article board refuses to drop into its housing.
The typical failure modes are predictable: a tall component under a lid rib, a USB or HDMI connector sitting 0.6 mm too deep behind a faceplate cutout, a mounting hole shifted by one grid step, or a heatsink fouling a neighbouring inductor. Each costs a board respin, which on a six-layer HDI design easily means two to four weeks and several thousand dollars.
What 3D models and exchange formats actually carry
Every placed part in a modern ECAD library can carry a 3D body, usually a STEP (ISO 10303, AP203 or AP214) solid attached to the footprint with an offset and rotation. The ECAD tool then assembles bodies, the board substrate (thickness from the PCB stackup), copper and drill holes into one assembly, and exports it.
- STEP: full solid geometry, assemblies, colours and optional metadata. The modern default, supported by Cadence Allegro and OrCAD, Siemens Xpedition and PADS, Altium, KiCad, SolidWorks, Creo, NX and CATIA.
- IDF (v2/v3): a text pair, .emn for the board and .emp for the library, describing outlines plus a single extruded height per part. Light and fast, but it only gives boxes.
- IDX (ProSTEP iViP / IDX): an incremental XML exchange that sends only the changes, with accept or reject comments from each side.
Key fact: IDF represents each component as a prismatic block with one height value, so a connector with an overhanging hood or a sloped heatsink is modelled pessimistically or, worse, wrongly. STEP carries the true shape.
The checks that matter
Height and keep-out clearance
Define a 3D keep-out volume in ECAD (Allegro Z-axis clearance, Xpedition 3D keep-in and keep-out, or Altium component height rules) from the enclosure drawing. A typical rule is a 1.0 mm minimum gap between the tallest part and the lid for plastic housings, 0.5 mm for tight metal ones. Remember that the gap must hold at worst-case tolerance: board warp up to 0.75 percent of diagonal per IPC-6012, solder stand-off, and a lid moulding tolerance of roughly ±0.2 mm.
Connector and cutout alignment
Connectors are where most mechanical respins happen. Check three numbers: the X/Y offset of the receptacle from the cutout centre, the Z height of the opening relative to the board top, and the insertion depth of the mating plug. A USB-C plug has a metal shell of about 8.4 mm by 2.6 mm, so a cutout with only 0.2 mm lateral margin per side leaves almost no room for placement tolerance of ±0.1 mm plus a ±0.15 mm lid tolerance.
Mounting holes and board edge
Mounting holes are fixed datums. Export them as drill features with the correct plated or non-plated flag, and check standoff height against the tallest bottom-side part. Bottom-side components also matter for thermal pads against a chassis; see our notes on PCB thermal management.
| Check | Typical limit | Why it fails |
|---|---|---|
| Top-side height to lid | ≥ 1.0 mm gap | Wrong model height, missing tolerance |
| Connector to cutout | ±0.3 mm total margin | Footprint origin offset in the 3D model |
| Bottom-side part to standoff | ≥ 0.5 mm | Standoff chosen before placement |
| Cable bend radius | ≥ 6 x cable diameter | Header too close to a wall |
Where 3D models go wrong
The most common problem is not the exchange, it is the library. Vendor STEP files are often positioned with an arbitrary origin, so the body floats 0.4 mm off its pads or sinks into the board. Always check the model against the footprint in a 3D viewer before first use. Other traps: models that bundle internal pins and the plastic as one lump, wrong units (inch STEP imported as millimetres makes parts 25.4 times too big), and omitted parts such as shields, labels or adhesive pads. Treat every 3D model as a controlled library object with the same review as a footprint, in the spirit of DFM for PCB.
Key fact: Also model the board itself honestly. A 1.6 mm board with 35 µm copper and a solder mask adds roughly 0.05 to 0.1 mm to local height, and flex-rigid or HDI builds with unusual stackups need the actual thickness, not the nominal.
Watch it in motion
A practical workflow
- At concept, MCAD sends the board outline, mounting holes, connector positions and keep-out volumes as a STEP or DXF file.
- ECAD imports them, places connectors first, then tall parts, using the 3D view and real-time height rules.
- Before routing is frozen, export a full STEP assembly and run an interference check in the MCAD tool, including tolerance stack-up.
- Use IDX or a compare-and-merge report so each change is proposed and acknowledged. Do not email a new STEP every time.
- Re-run the check after any change to via fencing, a heatsink or a part substitution, as parts with the same electrical value can have different heights.
Pin-heavy connectors also drive layer choices and escape routing, so mechanical placement decisions interact with signal integrity in PCB planning. A connector pushed to the opposite edge to suit the housing can lengthen a high-speed route by 30 mm, which is cheap to know early and expensive to find after routing.
Beyond fit: thermal and assembly
The same 3D data feeds thermal simulation (Cadence Celsius, Siemens Simcenter Flotherm) where body dimensions set airflow blockage, and assembly planning where pick-and-place nozzles need access around tall parts. Via placement near mounting holes and press-fit pins also depends on the real geometry, as covered in via types in PCB. If your team needs help building clean 3D libraries and enclosure-aware layouts, Avecas design services offer PCB design with mechanical co-review.
Key fact: The cheapest clearance fix is the one found before routing. Moving a connector in a placed board costs minutes; moving it after fabrication costs a respin.
Want to design boards that fit the first time? Explore the hands-on PCB design tracks in our CourseTron courses.
FAQ
Should I export STEP or IDF?
Use STEP whenever both tools support it, because it carries true shapes. IDF is acceptable for quick board-level checks or older MCAD tools, but its single-height boxes hide overhangs and hoods.
Why does my connector appear shifted in the 3D view?
Almost always the STEP model origin does not match the footprint origin. Fix the offset in the 3D body placement, then save it into the library rather than correcting each instance.
How much vertical clearance should I leave under a lid?
One millimetre is a common minimum for plastic enclosures, with extra allowance for board warp and moulding tolerance. Tight metal enclosures may run 0.5 mm after a tolerance analysis.
What is IDX and why use it?
IDX is an incremental exchange format that transmits only changes, with accept or reject responses, so ECAD and MCAD stay synchronised without re-sending whole models.