Checking PCB and enclosure fit before you order boards is one of the cheapest ways to avoid a board respin. When the circuit board and the enclosure are designed in separate tools by separate people, small mismatches in mounting holes, connector positions or component heights are easy to miss until the first boards arrive and do not fit.

This post looks at why fit problems happen between electrical and mechanical design, where they usually show up, and which decisions are worth making early. It is written for product teams, not as a tutorial for any particular ECAD or MCAD tool.
Why boards and enclosures drift apart
Most products are designed in two worlds. The PCB layout lives in an ECAD tool such as Altium or KiCad, while the enclosure lives in a mechanical CAD tool such as SolidWorks. Each side has its own schedule, its own revisions and its own idea of what is fixed. The board outline might be agreed early, but connector choices, component swaps and mounting hole changes keep happening as the electronics mature.
If the two models are only compared at the end, or not at all, the gap between them grows quietly. The board is ordered, the enclosure is machined or molded, and the problem appears on the bench, when both are expensive to change.
The usual suspects
- Mounting holes that do not line up with bosses or standoffs.
- Connectors that sit too far back or too far forward for the wall cutout.
- Tall components such as electrolytic capacitors, inductors or heat sinks that hit the lid.
- Parts on the bottom side that collide with ribs, bosses or the enclosure floor.
- Cables and mating connectors that need more room than the bare connector body.
- Buttons, LEDs and light pipes that do not align with their openings.
- No room left for tolerances, so parts that touch in the nominal model clash in real life.
What a fit check involves

The core idea is simple: bring an accurate 3D model of the board, with its components, into the enclosure assembly and look for interference and tight clearances. Most ECAD tools can export a 3D model, and most MCAD tools can check for collisions. The value is not in the export itself, but in what is checked and how often.
Accurate component models matter
A fit check is only as good as the 3D models on the board. Placeholder boxes or missing models for tall parts can make a clash invisible. Connectors are especially important because their real shape, including the mating plug and cable bend, decides the cutout. It is worth confirming that the critical parts have realistic models before trusting the result.
Check clearance, not just contact
Two parts that do not touch in the model can still collide in production. Board thickness, component placement, solder height, standoff length and enclosure tolerances all vary. A useful check looks for clearances that are too small, not only for overlaps. How much margin is enough depends on the manufacturing processes and the tolerance stack between the board and the enclosure.

Check clearance, not just contact. In this schematic section through a board in its enclosure, the board sits on a standoff at each end, and a tall component leaves only a small gap in the model below the lid. What varies in production can close that gap: board thickness, component placement, solder height, standoff length and enclosure tolerances.
Think about assembly, not only the final position
A board may fit in its final location and still be impossible to install. It may need to tilt past a rib, slide under a lip or clear a connector on the way in. Cable routing, screwdriver access to mounting screws and room for fingers or fixtures are part of fit too.
Coordinating these checks between layout and enclosure design is one of the reasons clients use us for both PCB design and mechanical CAD. When one team owns both sides, the board and enclosure are checked against each other as part of normal design reviews.
When to check fit
One check at the end is better than none, but a few checks at the right moments are far better:
- When the board outline, mounting holes and keep-out areas are first agreed.
- After connector and tall component placement, before routing is finished.
- Before the board is ordered, with final component models.
- Before enclosure tooling or machining is released.
- After any late change on either side.
Agreeing a shared outline and keep-out definition early gives both sides a contract to work to. Mechanical designers can define where tall parts are allowed and where the board must stay low, and the layout designer can place components with those limits in mind.
Keep one shared definition of the interface
Many fit problems come from two teams working from different versions of the same information. A simple, shared interface definition helps: the board outline, mounting hole positions and sizes, connector locations, height limits by area, and the keep-out zones around bosses, ribs and screws. Whether that lives in a drawing, a 3D reference model or a controlled document, it should have one owner and a revision, just like any other released file.
When either side wants to change the interface, the change should be visible to the other. That can be as simple as a short review before a board revision is ordered, or as formal as a change request in a PDM system. The point is that nobody discovers a moved connector by accident.
Plan for variants
Products often have more than one board build or enclosure version, such as different connector options, regional variants or a later cost-reduced board. Each combination needs to be checked, and the shared interface makes it clear which features must stay fixed across all of them.
Thermal, EMI and service considerations
Fit is not only geometric. Hot components may need airflow, heat sinks or a thermal path to the enclosure wall. Shielding cans, gaskets and grounding points need contact with the right surfaces. Test points, programming headers and fuses may need access after assembly. These requirements affect both the layout and the enclosure, and they are easier to handle when they are discussed together early.
The cost of skipping it
A board respin can mean new fabrication and assembly costs, weeks of delay and wasted components. Modifying an enclosure after tooling can be even more expensive. Compared with that, a few hours spent checking fit is small. The real risk is schedule: fit problems often surface right before a demo, a pilot build or a launch.
Questions to ask before you start
- Who owns the board outline, mounting holes and keep-out areas?
- Do the critical components and connectors have accurate 3D models?
- How much clearance is needed once board and enclosure tolerances are considered?
- How will the board be installed, and is there room for tools and cables?
- Are there thermal, shielding or service access needs that affect the enclosure?
- When will the next fit check happen after a design change?
How Sollows can help
Sollows Technical provides PCB design and layout alongside SolidWorks enclosure design, so electronics and mechanics are checked against each other throughout the project. Our design team can lay out a new board, design or update the enclosure, or review an existing board and enclosure pair for fit, assembly and service access before you order. Manufacturing is handled through our partners when you need prototypes.
If you have a board and enclosure heading toward production, send us a model or drawing for a quote. Email info@sollowstech.com or see our Services page.
