kapy academy

Connector cutouts

14 min readUpdated Nov 2026

In a printed enclosure, a connector cutout nearly always fails on the plastic in front of the connector: the molded body of the plug hits the wall before the metal is fully seated, and the cable drops out or will not charge. The opening has to let the plug go all the way home and leave the board where its screws put it. What decides it is the setback between the connector's mouth and the outer face of the wall, which must not exceed the plug's bare metal: 1.85 mm on a USB-C.

Board-mount and panel-mount dimensions

There is no standard for "a USB-C hole". The connector's own standard fixes the mouth (USB Type-C, HDMI, RJ45, 3.5 mm jack), but the body around it and its height above the PCB are up to each manufacturer. Only the USB specification limits the plug overmold, in its mating drawings; for every other connector you have to measure. So take the mouth from the connector's datasheet, and measure the plug on your own cable.

Board-edge connectors (mm)
Connector Example part Body, width × height Mouth Plug limit Suggested opening Source
USB-C GCT USB4105 8.94 × 3.31; axis 1.73 above the PCB Shell 8.34 × 2.56 Overmold ≤ 12.35 × 6.5 (recommended); starts ≥ 1.85 from the tip Stadium 9.34 × 3.56 (mouth + 0.5 per side) or body + 0.5: 9.94 × 4.31 GCT, rev. B4 (2023); overmold per the USB Type-C Cable and Connector Specification
USB-A Same Sky (CUI) UJ2-AH-4-TH Face 14.3 across the tabs × 6.94 12.5 × 5.12 Overmold ≤ 8.0 high; starts ≥ 2.85 from the tip Mouth + 0.5: 13.5 × 6.1 R0.5, or body + 0.5: 15.3 × 7.94 Same Sky (2024); mating per GCT USB1130/1125
Micro-USB B Same Sky UJ2-MIBH 7.8 × 2.5 6.9 × 1.85 No figure: measure it Mouth + 0.5: 7.9 × 2.85 (connector stays out of the wall), or body + 0.5: 8.8 × 3.5 Same Sky
USB-B Same Sky UJ2-BH-TH 12.2 × 10.8 — No figure: measure it 13.2 × 11.8 Same Sky
HDMI Type A CUI HD01-19-RA-TH Height: mouth centered 9.0 above the PCB 14.0 × 4.55 No figure: measure it Mouth + 0.5 per side CUI (discontinued)
RJ45 with magnetics and LEDs HanRun HR911105A 16.04 × 13.5; depth 21.3 — The plug's latch must stay reachable 17.04 × 14.5 HanRun
3.5 mm audio jack Same Sky SJ1-3523N Ø6.0 collar protruding 3.3; axis at 5.0 Ø3.6 No figure: measure it Ø6.5 Same Sky
DC barrel jack Same Sky PJ-002A Axis at 6.5; no collar Ø6.5, center pin Ø2.0, insertion 9.5 The plug barrel must reach 9.5 Ø7.0 Same Sky

As of late 2026, nearly every new board ships with USB-C: the Raspberry Pi 5, the Uno R4, the XIAO boards. In the EU, Directive (EU) 2022/2380 has required it on phones since 28 December 2024 and on laptops up to 100 W since 28 April 2026. Micro-USB is on its way out but still sits on the ESP32-DevKitC V4 and plenty of cheap boards (ESP32 and other small boards). USB-B lives on in the Arduino Uno R3 and Mega (Enclosures and mounts for Arduino). The part numbers are examples: always check the drawing for yours.

The HDMI in the table is a discontinued right-angle part, and a tall one: the mouth is centered 9.0 above the PCB. Only its 14.0 × 4.55 mouth carries over. Board-mount HDMI connectors vary from one maker to the next, so take the body and height from your own part's drawing. Micro-HDMI is covered in Enclosures and mounts for Raspberry Pi.

Panel-mount connectors are a different family: they screw to the wall and do not depend on any board.

Panel-mount connectors (mm)
Part Cutout Maximum panel thickness Source
Neutrik D-size: etherCON NE8FDP (RJ45), NAUSB-W (USB-A), NAHDMI-W (HDMI) Ø24 (minimum Ø23.6 on NAUSB-W and NAHDMI-W); 2 holes Ø3.1–3.2 at (−9.5, +12) and (+9.5, −12) seen from the front, on the diagonal, 19 × 24 between centers; 26 × 31 flange Set by the screw length Neutrik
Threaded audio jack MJ-3502 M6 × 0.5 thread, 5.0 long; nut 1.5 thick ≈3.5 without a washer; ≈3.0 with a 0.5 washer Same Sky; calculated limit
Threaded DC jack PJ-005A 5/16″-32 UNEF thread (Ø7.94), 5.7 long; 2.0 nut and 0.5 washer ≈3.2 Same Sky; calculated limit
VGA DE-15, front mount 20.7 × 11.68, sides at 10°, R2.4 corners; Ø3.05 screws at 24.99 between centers 1.65 for rear mount NorComp

The datasheet does not give a maximum panel thickness for the threaded jacks: it is the thread length minus the nut and the washer. Panel-mount USB-C and DisplayPort have no common cutout: buy the part first and take the cutout from its own datasheet. Mains (230 V) sockets are out of scope: an enclosure carrying mains voltage needs certified parts, and a printed hole does not solve that.

Wall thickness: the plug decides, not the hole

The contacts and retention springs only connect and hold when the metal is fully home. Every millimeter of wall in front of the connector with an opening narrower than the overmold is a millimeter the plug no longer goes in.

The dimension that matters is the setback. The inner gap is the space between the connector's face and the inner face of the wall:

setback = inner gap + wall thickness − how far the connector sits into the wall

It must not exceed the distance from the plug tip to its overmold: 1.85 mm for USB-C and 2.85 mm for USB-A, from the mating view in the drawings. That figure is a minimum: a given plug may have more bare metal, which is why the same cutout works with one cable and fails with another. HDMI, RJ45, audio and DC have no published figure. Measure your cable from the overmold to the tip of the metal and compare it with the connector's insertion depth (9.5 on the PJ-002A).

2.0 wall, the plug does notseatsetback 2.4 > 1.850.4 inner gapUSB-C USB4105, 7.35deep, axis at 1.731.6 PCBthe metal fallsshortovermold 6.5 high2.0 wallwall thinned to 1.2, setback1.60.8 × 7.5 outer recessthe connector only sits into thewall as far as it overhangs thePCB
The plug's overmold hits the wall before the metal is fully seated. Two fixes: thin the wall in front of the connector or add a recess on the outside.

There are three fixes, in order of preference:

  1. Thin the wall in front of the connector, never below 1.2 mm: three beads with a 0.4 mm nozzle.
  2. Add a recess on the outside, sized to the overmold plus clearance.
  3. Sink the connector into the wall. It can only go in as far as it overhangs the board edge: beyond that, the board hits the inner face. How far each connector overhangs is in Enclosures and mounts for Raspberry Pi and Enclosures and mounts for Arduino. Put the inner face 0.3–0.5 mm from the connector that overhangs most on that wall.
Wall of a gray PLA printed enclosure with two USB-C ports and two white cables plugged in. On the left, a rectangular recess in the outer face takes the plug's molded body, which goes fully home with no metal showing. On the right, where the wall is flat, the molded body hits the outer face and part of the plug's metal shell stays visible.
Wall of a gray PLA printed enclosure with two USB-C ports and two white cables plugged in. On the left, a rectangular recess in the outer face takes the plug's molded body, which goes fully home with no metal showing. On the right, where the wall is flat, the molded body hits the outer face and part of the plug's metal shell stays visible.

With a recess, the molded body sinks into the wall and the plug goes fully home (left). With a flat wall and the same cable, the body hits first and the metal shows (right).

The collared audio jack is no trouble: its 3.3 mm collar reaches the outer face if inner gap + wall ≤ 3.3; with a 0.4 gap, that is a wall of up to 2.9. But a collar passing through the wall turns the hole into a guide that locates the board. At Ø6.5 (0.25 per side), the board has to sit within ±0.2 of its position; if it cannot, open the hole to Ø7.0, or the collar will push the board against its screws.

Threaded jacks set their own maximum panel thickness. If your printed panel is thicker, add a counterbore (a flat-bottomed pocket) from behind, sized to the jack body, down to 3.0 mm (M6 with washer) or 3.2 mm (5/16″).

On an RJ45, leave room to press the latch. With the latch facing down, open up or chamfer the wall on that side.

Worked example: a USB-C in a 2 mm wall

A USB4105 with its face flush with the PCB edge (if yours overhangs, subtract it), a 0.4 inner gap and a 2.0 wall. Setback = 0.4 + 2.0 = 2.4 > 1.85. A plug at the limit of the specification falls 0.55 mm short: some cables charge, others only intermittently.

Fix A. Thin the wall to 1.2 in front of the port. Setback = 0.4 + 1.2 = 1.6, with 0.25 mm to spare.

Fix B. An outer recess 0.8 deep gives the same setback: 0.4 + 2.0 − 0.8 = 1.6. Height = overmold 6.5 + 0.5 per side = 7.5, centered on the axis (1.73): from −2.02 to 5.48 relative to the top face of the PCB. Width: the USB Type-C specification recommends an overmold of 12.35 at most; with 0.5 per side, the recess is 13.35 × 7.5. If your cable is wider, measure it.

An opening of body + 0.5 per side is 9.94 × 4.31, from −0.5 to 3.81 above the PCB. The datasheet's 9.34 × 3.56 stadium is tighter and only works if the board sits within ±0.2 of its modeled position (Assemblies and tolerance stackups).

The clearance is 0.5 per side, not the 0.15–0.20 of a sliding fit, because nothing slides here: it soaks up the position stackup (screws, standoffs, PCB thickness, where the connector was soldered). Printing error is taken care of by hole compensation (Why holes print small, Real printed clearances). If the overmold stands out from the connector body by less than 1 mm per side and has to pass through the opening, raise the clearance to 1.0 per side. If it stands out more, make the recess to the overmold's size.

Printing the openings

With the enclosure printed upright, every rectangular opening has a bridged ceiling. Their widths, from 9.94 to 17.04 mm, are under the 20 mm a current printer can bridge without sagging (Overhang and bridge settings). The recess ceiling is a bridge too. The VGA cutout is 20.7 on its long side, which is too much: print that panel flat or, if the connector can be turned, put the narrow side at the top, about 16.6.

Ø6.5–7.0 holes in a vertical wall come out fine: the top sags 0.1–0.3 mm. A Neutrik's Ø24 does not: print the panel flat or give it a teardrop or flat-topped shape (Designing out supports); the 26 × 31 flange hides it.

A panel printed face down on the bed has no bridges and the stadium comes out true. How to attach that panel to the enclosure is in Enclosure lids.

A 1.2 wall is three beads: check that the slicer prints three walls and not gap fill (Walls, perimeters and infill).

The nuts on threaded jacks work loose in a printed panel: use PETG or ASA, fit a washer and do not overtighten (Creep and fatigue). For the Neutrik flange, the simplest option is M3 screws with nuts behind, in the drawing's Ø3.2 hole. A self-tapping screw will not bite in that hole or in a 2–3 mm panel: it needs a 2.5 pilot in a Ø6 boss behind, with at least 6 mm of engaged thread (Self-tapping screws in plastic).

USB-C 9.94 × 4.31audio jack Ø6.5DC Ø7.0USB-A 15.3 × 7.94RJ45 17.04 × 14.5datasheet stadium, 9.34 ×3.56axis height 1.73 · 5.0· 6.5top face of the PCBseen from the front26 × 31 flangeNeutrik D Ø24, Ø3.2 screwsVGA DE-15 20.7 × 11.68, screws at 24.99
The openings at the same scale, with the axis height above the PCB. The Neutrik D is drawn from the front: the screws go top left and bottom right.

When it fails

Symptom, cause and fix
Symptom Cause Fix
The USB-C disconnects when you touch the cable Setback > 1.85 Thin the wall (≥ 1.2) or add an outer recess
The plug only goes in at an angle Opening sized to the connector in a thick wall Outer recess
The board will not sit down The wall touches an overhanging connector, or a jack collar in a tight hole Inner face 0.3–0.5 from the connector that overhangs most; jack at Ø7.0
The opening comes out 1 mm high or low The board height changed (standoffs, PCB) and the cutout did not follow Tie the cutout to the PCB height parameter
The Neutrik screws land on the other diagonal Cutout copied from the drawing's rear view From the front: top left and bottom right
A threaded jack spins Panel too thick, or creep Counterbore to ≤ 3.0 (M6 with washer) or ≤ 3.2 (5/16″), washer, PETG or ASA
The RJ45 cable will not release The wall covers the latch Open up or chamfer the latch side
The DC plug makes poor contact The wall eats into the 9.5 insertion, or the pin does not match With 0.4 + 2.0, the barrel must be ≥ 11.9 from the overmold: measure yours or set the jack flush with the outer face. Check the plug's pin size (2.1 or 2.5) matches the jack
The opening ceilings sag They are bridges Bridge settings or print the panel flat

How to test it

The test coupon is only the strip of wall, at the final wall thickness and board height. Plug in every cable you will use (Test coupons): it prints in 10–20 minutes and exposes the overmold problem, which a hole coupon cannot show. Once every cable goes fully home and charges without being touched, print the part: an enclosure for a Pi or an Arduino, a front panel with Neutrik D cutouts for a rack (19-inch racks), a power-supply box with a threaded DC jack, or the wall of a hub with recessed USB-C ports.

See also

Design it in KapyCAD

Draw the part to the standard's dimensions and keep them as values you can edit.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?