Print a 10-inch rack mount: guide and tips
A mount for your homelab rack
A 10-inch rack is the little sibling of the server cabinet: half as wide and just right for a homelab, a network closet in the hallway or a media cabinet in the living room. The catch is that hardly any device fits one out of the box. Switches, routers, mini PCs and power bricks are made for desks, not rack rails. That’s what this rack mount is for: a front plate with the holes for the rails and, behind it, a snug sleeve your device slides into.
You enter your device’s outside dimensions, pick the rack and the height in rack units, and the generator builds the matching mount. It holds the device without screwing into it, ventilates through honeycomb holes, and can get cable holes, two keystone jacks and a label. Ready-made versions are in the examples, for instance the 8-port switch in one rack unit, the small switch with two keystone jacks or the mini PC in two rack units.
How the generator works
The generator runs entirely in your browser. Nothing is uploaded, and your design lives in the link: with “Share” you send exactly this mount to someone or keep it as a bookmark. You see every change right away in the 3D preview.
The shape comes from the OpenSCAD project 10-Inch-Rack-OpenSCAD by Spencer Owen. We ported it line by line to TypeScript and compared the results with OpenSCAD: across 20 test cases, from 6-inch racks and half rack units to the device presets of the original, volume and dimensions differ by less than 0.1 %. New are the bolt-on ears for small printers, 19-inch racks and the printable rackstack rack, the label, and warnings when a device doesn’t fit.
Four steps to a finished mount:
- Under “Rack”, choose the rack and the “Height”.
- Under “Device”, enter width, depth and height.
- Set vents, cable holes, keystone jacks and the label.
- Download: “Multi-color 3MF (PrusaSlicer)”, “3MF (Bambu Studio / OrcaSlicer)” or “STL per color (ZIP)”.
What you need
- A rack. 10-inch (254 mm wide front) is the standard for mini racks. The generator also handles 6-inch (152.4 mm), 19-inch (482.6 mm) and the nano, micro and mini profiles of the printable rackstack.
- Screws for the rails. 10-inch and 19-inch racks usually have square holes for M6 cage nuts, 6-inch racks M3 threads, rackstack M4. The slotted holes in the front (10 × 7 mm in a 10-inch rack) make up for small deviations.
- Two cable ties per mount, up to 4.8 mm wide. They run behind the device through the slots at the top and bottom and sit flush in a shallow recess outside.
- M3 screws and nuts for the ears when the front is split: two per ear, four on tall sleeves.
- Optionally RJ45 keystone modules (slot-to-slot with a latch) for the keystone jacks.
Measuring your device
Measure your device with calipers at its widest point, including rubber feet and anything that stays on when it’s installed. Measure the depth from the front to the back, without plugs. Enter the values under “Device”: “Device width” (10–440 mm), “Device depth” (10–300 mm) and “Device height” (5–200 mm).
“Play” is the gap per side between the device and the sleeve. The default is 0.42 mm, as in the original, which is a snug fit. If your printer prints a little tight or the housing bulges slightly, use 0.6 mm.
A rack unit (U) is 44.45 mm. A typical 8-port switch that is 25 mm tall fits into 1U, a mini PC of 51 mm needs 2U. In 10-, 6- and 19-inch racks half units work too: a flat switch in half a rack unit takes only 22.2 mm. The edge then cuts through mounting slots; with “Half slots” set to “Yes”, the half slots stay usable for screws.
If your device doesn’t fit, the generator tells you how many units it needs, or that it’s wider than the 221.5 mm between the rails of a 10-inch rack.
Designing the mount
Sleeve and front
Under “Mount” you set the sleeve’s “Wall thickness” (2–12 mm, default 6 mm) and the thickness of the “Front plate” (1.5–8 mm, default 3 mm). Outside, the sleeve is as wide as the device plus two walls, but never wider than the space between the rails; its height stops at the front plate. Another 7 mm for the cable ties is added behind the device.
“Open front” leaves an opening for the device: it slides in from the front and its LEDs and ports stay visible. The “Lip” is a 1.2 mm rim in the first 0.6 mm of the front that stops the device. With a solid front the device goes in from the back, ideal for a power brick that should stay out of sight.
Vents
“Honeycomb vents” cuts hexagonal holes into all four walls of the sleeve. “Hexagon size” (6–24 mm, default 16 mm), “Spacing across” (15 mm) and “Spacing in depth” (17 mm) follow the original; every other row is offset by half a step. That keeps the device cool and saves filament.
Cables and keystones
“Cable holes” adds two round channels through the front and the sleeve, right beside the device on the left and right. With a 7 mm “Diameter” a power or USB cable without its plug goes through, handy for a single-board computer such as a Raspberry Pi. “Keystone jacks” puts a holder for an RJ45 keystone module into the front on each side, 210 mm apart from outer edge to outer edge. In 10-inch and 19-inch racks that works up to a device width of about 145 mm; if there’s no room, the generator leaves them out and tells you why.
Label
A “Label” is engraved into the front plate: “Left” or “Right” of the device, on “Both sides” or “Below” the opening. With a “Text size” of 0 mm it grows as large as the space allows; on narrow, tall areas the generator turns it upright. The “Engraving depth” ranges from 0.2 to 1.5 mm, 0.6 mm by default.
Ears for small printers
A 10-inch front is 254 mm wide and doesn’t fit any 180 mm bed. So the generator splits it under “Printing” with “Split off ears”: with “Automatic” you get the mount, whose front is as wide as the sleeve, and two ears with the mounting slots. Each ear has a 4 to 5 mm flange that rests against the outside of the sleeve wall and is held by two M3 screws, four on tall sleeves. The nuts sit in hexagonal pockets inside the wall; with walls under about 5 mm the screws get 2.5 mm holes instead and form their own thread. The matching screw length is shown under “Printing”.
Under “Part” you choose what the download holds: “Everything”, only the “Mount”, “Both ears” or a single ear. If all pieces fit one bed together, the generator places them side by side. For large devices you print the mount and the ears one after the other, and the generator points that out. In a 19-inch rack you get two long ears, as with the 8-port switch in a 19-inch rack. The 6-inch version is narrow enough at 152.4 mm to print in one piece.
Colors and multi-material
The mount is one color, and the label can get a second one. In its own color the text sits flush in the front, and because the front lies on the bed, it’s part of the first layers. The router example with a two-color label shows white on black.
- PrusaSlicer (MMU3, XL, Core One): open the “Multi-color 3MF (PrusaSlicer)”; mount and label are already assigned to extruders 1 and 2.
- Bambu Studio / OrcaSlicer (AMS): use the “3MF (Bambu Studio / OrcaSlicer)” and assign the filament slots to the objects.
- Other slicers: “STL per color (ZIP)” holds one STL per color in the same coordinate frame.
- Single extruder: the text sits in the first 0.6 mm. A filament change (M600) after those layers recolors the whole layer, not just the text, so keeping the engraving in one color is easier.
Printing tips
Every piece lies front face down on the bed and the sleeve grows upward. So nothing needs supports: the hexagons have 60° sides and a short 8 mm bridge on top, the nut pockets and cable-tie slots are short bridges too, and the screw holes of the ears are teardrop-shaped.
Numbers from a real PrusaSlicer slice for the Prusa MINI (0.20 mm SPEED, Prusament PLA, 15 % infill):
| Mount | Pieces | Filament | Print time |
|---|---|---|---|
| 8-port switch, 10-inch, 1U | mount + 2 ears on one bed | 111 g | 6 h 27 min |
| Mini switch, 6-inch, 1U | one piece | 61 g | 3 h 3 min |
| Mini PC, 10-inch, 2U | mount | 107 g | 6 h 3 min |
| Mini PC, 10-inch, 2U | both ears | 37 g | 1 h 33 min |
PLA is fine for most devices. If it gets warm in the rack, for example behind a mini PC or a PoE switch, use PETG. Three walls and 15–20 % infill make the front stiff enough for devices up to about 1 kg. Bolt the ears to the mount first, then mount everything in the rack, and slide the device in last. Press the nuts into their pockets from the inside before you drive the screws in from the outside.
If you want to be sure, print a quick hole test with the screw hole test first so M3 screws and nuts fit cleanly.
Origin and licenses
The mount is a port of 10-Inch-Rack-OpenSCAD by Spencer Owen (MIT license): front plate, hole pattern, lip, sleeve, honeycomb vents, cable-tie slots, cable holes and the keystone housing follow his code. The dimensions of the rackstack profiles come from rackstack by Zhao Wang (MIT). The ears, the label, 19-inch racks and rackstack in this mount are new. You’ll find the license texts under licenses.
Get started in the generator or browse the examples. For small parts around the rack, the stackable storage caddies are a good match.
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 |
|---|---|---|---|
| Rack | |||
| Height | 1 U | 0.5 – 15 U | In rack units (U, 44.45 mm). Half units work in 10-, 6- and 19-inch racks; rackstack counts whole 10 mm units. |
| Device | |||
| Device width | 110 mm | 10 – 440 mm | Measure at the widest point, including rubber feet and brackets that stay on. |
| Device depth | 122 mm | 10 – 300 mm | From the front to the back without plugs. Another 7 mm for the cable ties is added behind it. |
| Device height | 28.3 mm | 5 – 200 mm | Including feet. If the device doesn’t fit the chosen height, a warning tells you the height it needs. |
| Play | 0.42 mm | 0 – 1.5 mm | Gap per side between the device and the sleeve. 0.42 mm is a snug fit; if it binds, use 0.6 mm. |
| Mount | |||
| Wall thickness | 6 mm | 2 – 12 mm | Thickness of the sleeve around the device. From about 5 mm on, the ears get nut pockets in the wall. |
| Front plate | 3 mm | 1.5 – 8 mm | Thickness of the front plate. 3 mm is stiff enough for devices up to about 1 kg. |
| Vents | |||
| Hexagon size | 16 mm | 6 – 24 mm | Diameter of one hexagon across its corners. |
| Spacing across | 15 mm | 8 – 30 mm | Center distance of the hexagons across the depth. |
| Spacing in depth | 17 mm | 8 – 30 mm | Center distance of the hexagons from front to back. Every other row is offset by half. |
| Cables & keystones | |||
| Diameter | 7 mm | 2 – 15 mm | Diameter of the cable holes. 7 mm takes a power cord without its plug. |
| Label | |||
| Text size | 0 mm | 0 – 20 mm | Height of the capital letters. 0 = as large as the space allows. On narrow areas the text runs upright. |
| Engraving depth | 0.6 mm | 0.2 – 1.5 mm | How deep the text sits in the front. 0.6 mm is three layers at 0.2 mm. |
Frequently asked questions
How exactly do I need to measure my device?
Measure width, depth and height at the widest point with calipers, including rubber feet. The generator adds 0.42 mm of play per side; if the device binds, set “Play” to 0.6 mm.
My device is taller than one rack unit – what now?
Set the “Height” to two or more rack units. As soon as the device no longer fits the chosen height, the generator shows a warning with the number of units it needs.
Does the device stay in without screws?
Yes. At the front it stops against a 1.2 mm lip, and at the back cable ties through the slots at the end of the sleeve keep it from sliding out.
Will the 10-inch front fit my small print bed?
The front is 254 mm wide. That’s why the generator splits off the ears as soon as the front is wider than 180 mm: the mount and the ears then each fit a 180 mm bed like the Prusa MINI’s on their own, and you join them with M3 screws.
Which screws do I need?
10-inch and 19-inch racks mostly use M6 cage nuts, 6-inch racks M3 and rackstack M4. The ears take two to four M3 screws with nuts each; the generator shows the length under “Printing”, usually M3 × 10.
Do I need supports?
No. Every piece lies front face down on the bed. The hexagons have 60° sides and a short 8 mm bridge on top; in a PrusaSlicer test with automatic supports, the 8-port switch mount needed not a single support layer once bridges were printed without supports.
Origin & license
- 10-Inch-Rack-OpenSCAD by Spencer Owen · MIT · code ported – mount (switch_mount from 10InchRackGenerator.scad) with hole pattern, lip, honeycomb vents, zip-tie slots, cable holes and keystone housing ported 1:1; ears, label, 19-inch and rackstack added
- rackstack by Zhao Wang · MIT · dimensions and shape adopted – dimensions of the rackstack profiles nano, micro and mini (hole spacing, 10 mm pitch, screw holes) for the front plate