Email us

Este artículo está en inglés. Ver el sitio en español

How to align stacked PCB enclosure cutouts

Locate stacked PCB connector openings from fixed mounting datums and the complete assembled stack. Include standoff heights, connector placement, wall thickness and mating-plug clearance, then verify that the assembly can be installed without bending boards or compromising seals.

NEMA4 Enclosure engineering team · Published October 30, 2026 · 6 min read

Align stacked PCB enclosure cutouts from the assembled stack and fixed mounting datums, not from separate board outlines. Measure each connector at its installed height, then check the opening against its mating plug and assembly path. A connector can line up perfectly yet remain impossible to plug in or install. Keep mechanical alignment separate from sealing: an opening around a board-mounted connector does not create a sealed interface.

What you need

Gather the enclosure drawing, board drawings, connector drawings and the complete mounting hardware before locating any openings. Include the actual mating cables, because plug bodies and release tabs often extend beyond the connector shell.

You need:

  • The enclosure's inside dimensions, wall thickness and available mounting surfaces.
  • Board outlines, mounting-hole locations, thicknesses and component heights.
  • Standoff lengths, spacer lengths, washers and fastening details.
  • Connector positions, shell dimensions, mating depth and mounting requirements.
  • Cable bend limits, plug clearances and access requirements.
  • Calipers, a depth gauge and a square for checking the assembled stack.

Disconnect all power sources, including batteries, before measuring or trial assembly. Machine the empty enclosure, never around installed electronics.

If the enclosure or board geometry is still changing, resolve the PCB enclosure fit before board layout first. This procedure assumes the board stack and its mounting arrangement are substantially defined.

Lay out the connector openings

  1. Choose datums that remain available during assembly. Use the board-supporting mounting surface as the height datum, identified as Z = 0. Choose a repeatable lateral reference for X, such as a locating feature on the mounting plate. Define Y perpendicular to the connector wall. Show how these internal references relate to the enclosure drawing's manufacturing datums. Do not measure some openings from an outside corner and others from an inside bend.

  2. Assemble the complete stack on its intended supports. Install every board, spacer, washer and mounting bracket that affects position. Tighten fasteners according to the hardware and board requirements, without bending the boards to achieve alignment. Check whether mounting-hole clearance allows the stack to shift or rotate. If it does, define its locating method before measuring. Connector openings should not become the features that force the boards into position.

  3. Calculate each connector's installed height. Start at the mounting datum and add every intervening dimension. For example, assume a lower board sits on 0.394 in [10.0 mm] standoffs. Its thickness is 0.063 in [1.6 mm]. A spacer leaves 0.591 in [15.0 mm] between the lower board's top and upper board's underside. An upper connector centerline sits 0.157 in [4.0 mm] above that underside. Its nominal height is therefore 1.205 in [30.6 mm]. These are example assembly dimensions, not catalog dimensions.

  4. Locate the connector face relative to the wall. Measure X and Z from the selected datums, then check Y through the enclosure wall. Determine whether the connector face sits recessed, flush or protruding. Confirm that the mating plug reaches full engagement through the actual wall thickness. A plug shoulder can hit the enclosure before the electrical connection seats. For recessed connectors, include access to latches, locking screws and release tabs in the opening envelope.

  5. Build a separate envelope for every opening. Record the connector shell, required operating clearance, plug approach and nearby hardware. Include corner radii and any flange, gasket or retaining nut that occupies the wall. Do not assume two vertically stacked connectors need identical openings or equal spacing. If the design changes to a panel-mounted interface, use the industrial connector mounting checks for its flange, wall thickness and rear hardware requirements.

  6. Check the tolerance stack before setting cutout dimensions. Include mounting-hole float, standoff variation, board thickness, connector placement and cutout location. For illustration, connector position variation of ±0.010 in [0.25 mm] and cutout location variation of ±0.008 in [0.20 mm] permit a worst-case relative offset of 0.018 in [0.46 mm]. A nominal side gap of 0.020 in [0.51 mm] would leave only 0.002 in [0.05 mm] before size tolerances. Use the PCB enclosure tolerance stack checks to assess the complete chain rather than choosing a universal clearance.

  7. Prove the assembly path before releasing the drawing. Model or mock up the actual installation sequence, including the enclosure wall. Check whether protruding connectors must enter their openings before the mounting holes can align. Verify that the upper board can be installed without trapping screws beneath it. Check tool access, cable installation and removal in reverse order. If the geometry cannot assemble without flexing a board, change the mounting arrangement, opening design or panel construction.

Checks before machining

Review both the internal layout and the exterior mating face. An outside view and an inside view reverse left and right, which makes mirrored openings a common drawing error.

Confirm these points against one controlled drawing revision:

  • Each opening has an identified enclosure face and viewing direction.
  • X and Z locations reference named datums rather than ambiguous enclosure edges.
  • Opening dimensions, corner radii and tolerances are explicit.
  • The complete plug seats and releases without touching an adjacent plug.
  • Wall thickness does not block engagement, latch travel or retaining hardware.
  • Fasteners and tools remain accessible throughout the assembly sequence.
  • Boards maintain required electrical spacing from conductive walls and hardware.
  • The mounting arrangement supports cable loads without relying on solder joints.

For a physical mockup, represent wall thickness as well as the opening outline. A thin paper template can confirm position, but it cannot prove mating depth.

Use the enclosure drawing verification process to reconcile the mechanical drawing, connector revisions and assembly requirements before fabrication.

Checks after the first assembly

Inspect machined edges for burrs, distortion and damage before installing electronics. Remove all chips and machining residue from the enclosure and mounting hardware.

Install the stack using the documented sequence. Connect every cable simultaneously, not just one at a time. Adjacent plugs may interfere even when each connector works independently.

Check that insertion and removal do not visibly bend the boards or move their supports. Confirm full connector engagement, latch operation and cable routing with the door closed. The door must not press cables against the board stack.

Finally, inspect the installed configuration against its environmental requirements. Mechanical fit does not establish ingress protection. Where sealing matters, follow the component manufacturer's installation requirements and use an appropriate verification procedure for the completed assembly.

Mistakes that compromise fit or sealing

Measuring bare boards separately. Connector heights change when actual spacers, washers and board thicknesses enter the stack. Measure the assembled hardware and reconcile it with the drawings.

Enlarging every opening to hide misalignment. Extra clearance can expose electronics, reduce available gasket land and prevent a flange from covering the opening. Correct the datum or mounting problem first.

Treating a connector shell as a seal. Ordinary board-mounted connectors generally do not seal the gap between their shell and the enclosure wall. A protective cap also does not necessarily seal the mounting interface.

Our stainless enclosures are rated NEMA 4X / IP66 by the manufacturer; not UL listed. New openings do not automatically preserve those ratings. For exposed interfaces, review waterproof panel mount connector installation and the cutouts, glands and windows guide.

Using screws to pull connectors into alignment. This loads boards, solder joints and inter-board connections. Fix the mounting geometry rather than forcing the assembly into place.

What to send for drawing approval

Send the assembled-stack drawing, board mounting pattern and connector drawings with the proposed enclosure layout. Include wall thickness requirements, the installation sequence and the mating plug envelopes.

For each opening, specify:

  • Face identification and viewing direction.
  • Datum references and location dimensions.
  • Opening profile, corner radii and dimensional tolerances.
  • Connector projection or recess relative to the wall.
  • Required sealing components and their mounting details.
  • Rear clearance, fastener access and cable approach.

The cutout designer can lay out openings, check spacing and export the layout for a quote request. Supply the stack-height and assembly details alongside that layout; opening positions alone do not describe the complete fit.

For custom stainless enclosures and factory cutouts, distinguish modifications to a catalog body from a fully custom body. Keep seals, mounting details and rear clearance visible on the approval drawing before cutting.

Enclosures for this job

Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.

EnclosureMaterialOutside H x W x D / displayRating
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 14 × 8 in304 stainless16 x 14 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can stacked PCB connector cutouts be located from board drawings alone?

Use board drawings to establish nominal dimensions, then verify the complete assembled stack. Standoffs, washers, board thickness and mounting-hole clearance affect actual connector positions. Reference every opening to defined mounting datums and include those variations in the tolerance check.

How much clearance should a connector opening have?

There is no universal clearance. Calculate it from connector dimensions, mounting variation, cutout tolerances and the mating plug envelope. A sealed panel-mounted component may require a tightly controlled opening, so follow its drawing rather than adding clearance to compensate for misalignment.

What if stacked connectors prevent the boards from dropping onto their mounts?

Check the entire assembly sequence before machining. Depending on the geometry, the solution may involve a different mounting bracket, a removable panel or a revised enclosure layout. Do not bend the boards or use mounting screws to pull protruding connectors into alignment.

Does a close-fitting connector opening preserve the enclosure rating?

No. A close-fitting opening around an ordinary board-mounted connector does not establish a sealed interface. Environmental protection depends on the connector, wall seal, mounting hardware and installed configuration. Use suitable sealing components and verify the completed assembly against the required protection.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 12 × 10 × 6 inRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides