Print an I/O shield: dimensions, ports and labels
What does the I/O shield generator do?
If you move a motherboard into a different case or revive an old PC, you often hit the same problem: the back plate for the rear panel is missing or does not match the ports. This generator creates that I/O shield as a print-ready file. You pick the ports from a list, place them with coordinates, add labels and download the result as STL or 3MF. Everything runs in your browser, nothing is uploaded, and your whole design lives in the link, so you can save or share it.
The shield is a flat plate that is slightly larger than the opening in the case’s rear wall, plus a raised rim that fits into that opening. The idea comes from an open template (see “Origin and credits” below). If you want a starting point for your board, browse the examples first, or open the generator right away.
First: the dimensions are nominal
The rear opening of ATX, micro-ATX and Mini-ITX cases is standardized at a nominal 158.75 × 44.45 mm. That is the default for “Opening width” and “Opening height”. Real cases deviate, because manufacturers handle tolerances, beads and bend radii differently. Measure the opening of your own case before you print.
The same goes for the ports. The openings stored in the generator for USB, Ethernet, HDMI and the rest are nominal outer sizes of the connectors with a little play. Where exactly the connectors sit depends on your board. Hold the board up to the opening once, measure with calipers the distance from the left edge and from the bottom edge of the opening, and enter those values. Only then does every plug sit centered in its cutout.
How to measure your case and board
- Measure the opening in the case’s rear wall on the inside, edge to edge: width and height.
- Check how much room there is behind the opening. The shield rests against the inside of the wall, so the overlap needs space all around.
- For every connector on the board, measure the distance from the left edge and from the bottom edge. The reference is the lower-left corner of the opening, seen from outside. The bottom edge is the side facing the motherboard.
- Note the size of any special connector the generator does not know and add it as a rectangle or round hole.
Plate and rim
The plate covers the case opening and overlaps it on every side. You set this in the “Size and fit” group:
| Setting | Effect | Range |
|---|---|---|
| Opening width | Width of the opening in the case | 100–166 mm |
| Opening height | Height of the opening in the case | 20–60 mm |
| Fit clearance | Gap per side between rim and opening | 0–1.5 mm |
| Plate overlap | How far the plate reaches past the opening | 0–5 mm |
| Plate thickness | Thickness of the back plate | 1.2–3 mm |
The plate thickness starts at 1.2 mm. Metal shields are under 1 mm, but printed plastic needs more material to avoid cracking. With an overlap of 0 mm and a rim height of 0 mm you get a smooth cover plate that you can fix with tape or screws. The example “Flat cover plate without rim, 2 mm thick” shows that variant.
The rim is a wall printed on top of the plate that sits in the case opening. In the “Rim and tabs” group you set “Rim height” (0–6 mm), “Rim wall” (0.8–4 mm) and “Rim chamfer” (0–1.5 mm). The chamfer is a 45° lead-in on the outer top edge. It narrows the rim at the top so it slides into the opening more easily when you press it in. The generator builds the slope as a stepped approximation in layers, so it prints without supports. If the chamfer does not fit the rim, the generator reduces it and shows a note.
Spring slits and pull tabs
“Rim slits” cuts slits into the long sides of the rim. The rim splits into small fingers that give a little, much like the spring tabs of a metal shield. “Slit spacing” (6–40 mm) and “Slit width” (0.6–3 mm) control the pattern. This is mostly cosmetic, to match the look of a metal original: the fingers make the fit slightly more elastic, but a printed rim stays stiff. If the rim is too low for slits, the generator leaves them out.
“Pull tabs” adds half-round tabs to the short ends. They give you something to hold while fitting the shield. “Tab size” is a radius of 3–8 mm. If tabs would make the shield wider than 180 mm, the generator leaves them out.
Adding and placing ports
The port list is the heart of the generator. Every entry has a type, a position as “x from left” and “y from bottom”, and an optional label. The coordinates are the lower-left corner of the opening, measured from the left edge and the board-side edge of the case opening, seen from outside. Up to 24 ports fit on one shield.
The generator knows 15 types:
| Type | Opening (W × H) |
|---|---|
| USB-A (single) | 14.5 × 7.2 mm |
| USB-A (stack of 2) | 14.5 × 15.3 mm |
| USB-C | 9.4 × 3.8 mm |
| Ethernet (RJ45) | 16.5 × 13.8 mm |
| Ethernet over 2 × USB-A | 16.5 × 31.5 mm |
| HDMI | 15.6 × 6.2 mm |
| DisplayPort | 17 × 6.6 mm |
| Audio jack 3.5 mm | 9.2 × 9.2 mm |
| Audio jacks (column of 3) | 9.2 × 34.2 mm |
| PS/2 | 13 × 13 mm |
| VGA (D-sub 15) | 29 × 9.6 mm |
| Serial (D-sub 9) | 29 × 9.6 mm |
| Antenna (SMA) | 6.6 × 6.6 mm |
| Custom rectangle | your choice |
| Custom round hole | your choice |
The rectangle and the round hole are for anything not on the list: a DC jack, a parallel port, a fan outlet or a cable pass-through. For the rectangle you enter width and height, for the round hole the diameter. The other types bring their own shape, such as the cut corners of HDMI and DisplayPort or the trapezoid D-sub outline of VGA and serial.
“Extra port play” (−0.5 to 1.5 mm) enlarges or shrinks all openings at once. If plugs bind after the first test print, raise the value by 0.2 mm. If two openings overlap, they merge into one and a warning tells you. If a web between two openings is thinner than 0.8 mm, the generator warns you as well, because it can break during printing or fitting.
The four presets
“Load a layout” replaces the list with a typical arrangement:
- Classic: ATX with PS/2, USB, VGA, HDMI, Ethernet over USB, another USB and three audio jacks.
- Modern: a board with Wi-Fi antennas, USB, DisplayPort, HDMI, USB-C, Ethernet and USB jacks.
- Office: a board with PS/2, a serial port, VGA, USB, Ethernet and audio.
- Blank: no openings, for drilling or cutting yourself.
The presets are generic. Move the ports to the measurements of your board before you print.
Labels
With the “Labels” option the generator engraves the text of each port next to its opening on the outside face. “Label position” decides whether the label goes above or below. If there is no room there, the generator tries the other side, and if that fails too, it leaves the label out and warns you. You choose the “Font”, the “Label height” (1.5–6 mm) and the “Groove depth” (0.4–1.2 mm). At least 0.6 mm of plate always stays under the engraving, so the generator shortens grooves that are too deep. A label can be up to 10 characters long. For very small lettering the generator warns you that it is hard to print cleanly with a 0.4 mm nozzle.
Labels as a flush inlay
If you give the “Labels” color its own value, the generator fills the grooves with a second part. The lettering then sits flush with the surface of the plate and stands out in color, for example white on a dark shield. The part touches the body but does not overlap it. For printers with a multi-material setup (MMU3, AMS), export “Multi-color 3MF (PrusaSlicer)” or “3MF (Bambu Studio / OrcaSlicer)”. With a single extruder, use “STL per color (ZIP)” or print the engraving in one color and fill the grooves with paint by hand. Without its own color the engraving simply stays recessed, and both parts merge into one.
Printing
- Orientation: Print the shield the way it lies: plate down, rim and labels up. That way you need no supports. None of the twelve examples triggers auto-supports in the slicer.
- Material: PLA is fine inside a case. If the shield gets warm, for example close to a graphics card, PETG is the more robust choice.
- Layer height: 0.2 mm is enough. Fine lettering benefits from 0.12 mm.
- Nozzle: With the standard 0.4 mm nozzle, keep the label height at 3 mm or more.
- Test print: First print a blank version, or the same shield without labels, check the fit in the opening and the position of the connectors against the board, and only then start the nice print.
For orientation, our slice results (PrusaSlicer, Prusa MINI, 0.20 mm SPEED, Prusament PLA): the hero example “ATX shield with PS/2, VGA, HDMI and audio” weighs 10.89 g and takes 27 min 1 s. The twelve examples range from 10.3 to 14.6 g. The flat 2 mm cover plate weighs 14.64 g because more plate material remains, and the blank shield with slits and tabs about 13.6 g. Your result depends on print profile and material.
Installation
Insert the shield from the inside into the case opening. Thanks to the chamfer the rim slides in until the plate rests against the rear wall. Then slide in the motherboard so the connectors pass through the cutouts. If the shield fits too tight, raise “Fit clearance” in 0.1 mm steps. The shield is only a cover and does not carry the weight of the board, so screw the board down as usual.
No EMI shielding
Metal I/O shields have small spring tabs that make contact with the case and contain stray radiation. A printed shield cannot do that, because plastic does not conduct. It only closes the gap, keeps dust and foreign objects out and gives a tidy look. The rim slits are purely visual too. For a device where radio interference matters, use a metal shield.
Origin and credits
The structure of this generator, a base plate larger than the case opening with a raised rim that sits in the opening, is ported from the blank_v01 template in mainboard-io-shields by rvbg. The project is MIT licensed, and the license text is included unchanged under licenses. The template is just two cubes, so there is no comparison test against the original. Everything else, meaning port types, positioning, chamfer, slits, tabs and labels, was written from scratch.
The model ATX IO Shield Blank - OpenSCAD by geerlingguy (CC-BY-4.0), which builds on the same template, served as inspiration for the blank option. Nothing was copied from the model.
You will find all licenses and sources collected under licenses. Open the generator, look at the examples or try the cell holder for your next electronics project.
All parameters
The numeric settings of the generator with their default values and allowed ranges. Text, fonts, patterns and colors are set directly in the generator.
| Parameter | Default | Range | Meaning |
|---|---|---|---|
| Size and fit | |||
| Opening width | 158.75 mm | 100 – 166 mm | Width of the case’s rear I/O opening. ATX, micro-ATX and mini-ITX all use a nominal 158.75 mm; measure your case if unsure. |
| Opening height | 44.45 mm | 20 – 60 mm | Height of the case’s rear I/O opening, nominally 44.45 mm. |
| Fit clearance | 0.4 mm | 0 – 1.5 mm | Gap per side between the raised rim and the case opening. Larger values make the shield easier to press in. |
| Plate overlap | 1.6 mm | 0 – 5 mm | How far the back plate reaches past the opening on every side. It rests against the inside of the rear wall. |
| Plate thickness | 1.2 mm | 1.2 – 3 mm | Thickness of the back plate. Metal shields are under 1 mm; printed ones need at least 1.2 mm. |
| Rim and tabs | |||
| Rim height | 2.5 mm | 0 – 6 mm | Height of the raised rim that sits in the case opening (printed as a lip on top). 0 gives a flat plate. |
| Rim wall | 1.5 mm | 0.8 – 4 mm | Wall thickness of the rim. |
| Rim chamfer | 0.6 mm | 0 – 1.5 mm | 45° lead-in on the rim’s outer top edge, so the shield slides into the opening more easily. |
| Slit spacing | 12 mm | 6 – 40 mm | Distance between the slits along the long sides of the rim. |
| Slit width | 1 mm | 0.6 – 3 mm | Width of each slit. |
| Tab size | 5 mm | 3 – 8 mm | Radius of the half-round pull tabs on the short ends. |
| Ports | |||
| Extra port play | 0 mm | -0.5 – 1.5 mm | Added to every port opening on each side. Negative values make the openings tighter. |
| Labels | |||
| Label height | 3 mm | 1.5 – 6 mm | Height of the capital letters of the port labels. |
| Groove depth | 0.6 mm | 0.4 – 1.2 mm | How deep the labels are engraved into the outside face. At least 0.6 mm of plate stays under them. |
Frequently asked questions
Does a printed I/O shield block electromagnetic interference?
No. Plastic does not shield anything. A printed shield only closes the opening, keeps dust out and looks tidy. If shielding matters to you, you need a metal shield.
Will the port openings fit my motherboard exactly?
The port sizes are nominal. Measure your connectors and their spacing on your board with calipers and enter the positions in the port list. A quick test print without labels saves filament.
Do I need supports?
No. The shield lies flat on the bed, the rim points up and the labels are on the top face. None of the twelve examples needs supports.
How do I get the labels in a second color?
Give the “Labels” color its own value. The lettering then becomes a separate part that sits flush in the engraved grooves. The 3MF export assigns shield and labels to the extruders.
The shield fits too tight or too loose. What do I change?
Adjust “Fit clearance”: raise it if the shield will not press in, lower it if it wobbles. Measure the case opening first and enter it under “Opening width” and “Opening height”.
Origin & license
- mainboard-io-shields by rvbg · MIT · code ported – layout of the blank_v01 template ported: a back plate larger than the case opening with a raised border that sits in it
- ATX IO Shield Blank - OpenSCAD by geerlingguy · CC BY 4.0 · idea – ATX/ITX blank built on the same template; the idea for the blank option