Print a rack tray for 10-inch, 6-inch and rackstack racks
What is a rack tray?
Not every device comes with rack ears. In a homelab rack, a Raspberry Pi, a mini PC, a router, a power brick or a board you soldered yourself usually sits on a tray: a shelf that hangs on the rails with two rack ears at the front and reaches back into the cabinet. Store-bought trays for 10-inch racks are sheet metal, often too deep, and never have your device’s hole pattern. With this generator you print a rack tray in exactly the size you need, with standoffs that your device screws onto from below.
Ready-made trays are in the gallery: the Raspberry Pi tray for a 10-inch rack, two Raspberry Pis on one tray, the VESA 100 tray for mini PCs or the 92 mm fan tray. Devices with a solid case, such as a switch, are better held by a rack mount, and you close gaps with a rack panel.
How the generator works
The generator runs entirely in your browser. Nothing is uploaded, and your design lives in the link: “Share” sends exactly this tray to someone else. The 3D preview shows it the way it prints, base down with the rack ears and side walls pointing up.
The shape comes from rackstack, Zhao Wang’s printable mini rack. We ported its OpenSCAD tray (tray.scad with the rack ears from rackEars.scad) to TypeScript and compared it with OpenSCAD: in twelve test cases, from the template tray through the catalog trays to the nano and mini profiles, the volume differs by at most 0.03 % and the outer dimensions match to a hundredth of a millimeter. The small difference is the screw holes in the rack ears: ours get a pointed teardrop top so they print upright without supports. New are the 10-inch, 6-inch and 19-inch racks, the full front plate with a label, fans, vents, zip-tie slots and the split for small print beds.
Five steps to your tray:
- Under “Rack”, pick your rack and the “Ear height”.
- Under “Tray”, set “Width”, “Depth” and the position.
- Under “Standoffs”, insert a hole pattern or enter the positions yourself.
- Add a fan, vents or zip-tie slots if you like.
- Download: “Multi-color 3MF (PrusaSlicer)”, “3MF (Bambu Studio / OrcaSlicer)” or “STL per color (ZIP)”.
Which rack do you have?
“Rack” offers six systems. The base always stays between the rails; the rack ears reach to the outer edge of the front:
| Rack | Front width | Hole spacing | Space between the rails | Screws |
|---|---|---|---|---|
| rackstack nano / micro / mini | 124 / 199 / 224 mm | 115 / 190 / 215 mm | 105 / 180 / 205 mm | M4 |
| 10-inch | 254 mm | 236.5 mm | 221.5 mm | M6 (10 × 7 mm slot) |
| 6-inch | 152.4 mm | 136.5 mm | 120.65 mm | M3 (6.5 × 3.25 mm slot) |
| 19-inch | 482.6 mm | 465.1 mm | 450 mm | M6 (10 × 7 mm slot) |
For rackstack, the “Ear height” counts 10 mm units; an ear is then units × 10 + 9 mm tall with one M4 hole at the top and one at the bottom, just like the original. In 10-inch, 6-inch and 19-inch racks you count rack units of 44.45 mm, from 1 to 4 in half steps, with three slots per unit. It stops at 4U because the ears stand upright while printing and a small printer prints 180 mm tall.
Under “Front” you choose between “Rack ears”, two tabs on the left and right like the rackstack tray, and “Full plate”, a closed front across the whole width. The full plate looks tidy from the front and can carry a label.
Size and position of the base
“Width” is the total width of the base including the side walls (40 to 450 mm); “Depth” runs back from the front of the rack ears (40 to 250 mm). The usable width is the width minus twice the “Wall thickness”, so rackstack’s default of 145 mm leaves 139 mm for your device.
“Left gap” sets where the base sits: the gap between the left rail and the base, 10 mm in rackstack. With “Centered” on “Yes” the base lands exactly in the middle. If the base is too wide for the chosen gap, the generator limits the “Width” and shows you the largest possible value.
“Front lip” and “Back lip” (0 to 60 mm) are edges at the front and back that keep a device from sliding off. The side walls slope from the full height of the rack ears down to exactly the height of the back lip. “Gussets” adds a diagonal brace from each ear to the side wall, which makes the tray much stiffer. How far tall lips get you without screws shows the tray with tall lips.
Under “Wall thickness” you set “Base thickness”, “Front thickness” and “Wall thickness”, each 1.5 to 8 mm, 3 mm by default.
Standoffs and hole patterns
You screw the device on from below: each standoff is a small cylinder with a countersink on the underside, and a countersunk screw goes up through it into the device. “Screw” picks M2.5, M3 or M4, “Standoff height” 0 to 20 mm. Boards need 3 to 6 mm of clearance for their solder joints; mini PCs with rubber feet get by with 0 to 1 mm.
“Insert a hole pattern (centered)” holds the common patterns, each centered on the base:
- “Raspberry Pi 4/5” (58 × 49 mm, M2.5) and “Raspberry Pi Zero” (58 × 23 mm),
- “VESA 75” and “VESA 100” (M4) for mini PCs with a VESA bracket,
- “Mini-ITX” (M3, the four holes of the mainboard standard),
- “80 mm fan” and “120 mm fan” (72 and 105 mm hole spacing),
- “Perfboard 5 × 7 cm” and “Perfboard 7 × 9 cm”.
Below, all “Standoffs” are listed with X and Y in millimeters, measured from the inside of the left wall and the back of the front. You can add, move or remove up to twelve. If one lies outside the inner area or over a fan opening, the generator leaves it out and tells you. The standard sizes are public, but still check your device with calipers. For your own electronics there is the perfboard tray in the rackstack micro.
Fans, vents and zip ties
Under “Fan & vents”, “Fan” cuts a round opening for a 40 to 140 mm fan into the middle of the base, with a grill and four screw holes. From 50 mm the holes are Ø 4.4 mm with a countersink for the usual fan screws; hole spacings and the square grill come from the ParametricCase project. The “Fan grill” is “Squares”, “Honeycomb”, “Rings” or “Open”. If the fan is too big, the generator names the largest size that fits.
“Vents” spreads “Honeycomb”, “Slots” or “Holes” over the free area of the base so warm air can rise. “Opening size” (3–20 mm) and “Web” (1–10 mm) set the pattern; “Vent margin” keeps a solid strip along the walls and lips and half of it around standoffs and the fan. An example is the ventilated tray with honeycomb.
“Zip-tie rows” puts up to eight rows of slot pairs along both side walls. Use them to strap down power bricks, drives or routers that have no screw holes, like on the tray with zip-tie slots.
Split for small print beds
With its rack ears a 10-inch tray is 254 mm wide; a Prusa MINI prints 180 × 180 mm. That’s why “Split” is set to “Automatic”: when the front is wider than 180 mm, the generator cuts the tray between the side walls into two pieces, three for a 19-inch cabinet. The seam never runs through a standoff, the fan or the zip-tie slots. In the base, dovetails with 0.15 mm of play interlock; lips and the front plate butt together. Push the pieces together and put a drop of super glue in the seam; each piece also hangs on its own rail by its ear.
Up to about 88 mm deep, both halves fit one bed, one behind the other. For deeper trays pick the left and the right piece one after the other under “Part”.
Label and colors
With “Front” set to “Full plate”, the tray carries a “Label” between the screw holes. “Font”, “Text size” (0 = as large as possible, at most 20 mm) and “Engraving depth” (0.2–1.5 mm) do the rest. Give the label its own color in the color panel and a second part fills the engraving flush; the “Multi-color 3MF (PrusaSlicer)” assigns it to the second extruder. Because the front stands upright while printing, you need a multi-material setup such as an MMU3 or AMS for that; a color change with M600 only recolors whole layers and doesn’t work here. In one color the text stays engraved. See the tray with a labeled front plate.
Printing tips
- Orientation: As the generator lays it out, base on the bed. Rack ears, side walls and gussets grow straight up.
- Supports: Not needed. The screw countersinks are steeper than 45°, and the holes in the ears end in a teardrop point; only close to the edge of a 10-inch ear a short 2.6 mm bridge remains.
- Material: PLA is fine for a Raspberry Pi or a mini PC; PETG copes better with warm devices.
- Print time and filament: In PrusaSlicer (Prusa MINI, 0.20 mm SPEED, Prusament PLA, 15 % infill) the Raspberry Pi tray takes 62 g and 2 h 17 min for both halves, the rackstack tray for a flat mini PC 53 g in 1 h 56 min, the Raspberry Pi tray for the rackstack nano 38 g in 1 h 28 min, the VESA 75 tray for the rackstack nano 37 g in 1 h 33 min and the 92 mm fan tray 67 g in 3 h 18 min.
- Stiffness: For heavy devices use four perimeters and 4–5 mm “Base thickness”.
- Assembly: Screw the device onto the standoffs first, then hang the tray in the rack.
Origin and licenses
The tray, rack ears, side walls, gussets, lips and countersunk standoffs are ported from rackstack by Zhao Wang (MIT license); the screw sizes come from its helper/screws.scad. The 10-inch and 6-inch rack sizes and hole pattern come from 10-Inch-Rack-OpenSCAD by Spencer Owen (MIT license), the fan cut-out and hole spacings from ParametricCase by Nirav Patel (BSD-2-Clause). “rackstack” is the name of that project and VESA is a trademark of the Video Electronics Standards Association; we use both only to say what the tray fits. All license texts and fonts are listed under licenses.
Get started in the generator, browse the examples, or build a matching cover for the next rack unit with the rack panel.
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 | |||
| Ear height | 2 U | 1 – 15 U | How tall the rack ears with the screw holes are. rackstack counts 10 mm units; 10-, 6- and 19-inch racks count rack units of 44.45 mm in half steps, up to 4U. |
| Tray | |||
| Width | 145 mm | 40 – 450 mm | Total width of the base including the side walls. The usable width is this minus twice the wall thickness. The base always stays between the rails. |
| Depth | 100 mm | 40 – 250 mm | How far the base reaches back, measured from the front of the rack ears. Beyond 180 mm it no longer fits a small print bed. |
| Left gap | 10 mm | 0 – 200 mm | Gap between the left rail and the base; use it to move the base to the right. rackstack uses 10 mm. |
| Front lip | 2 mm | 0 – 60 mm | An edge along the front of the base that keeps the device from sliding out. 0 = none. |
| Back lip | 2 mm | 0 – 60 mm | An edge along the back. The side walls slope down to exactly its height. |
| Wall thickness | |||
| Base thickness | 3 mm | 1.5 – 8 mm | Thickness of the base. 3 mm easily carries a Raspberry Pi or a mini PC; use 4–5 mm for heavy devices. |
| Front thickness | 3 mm | 1.5 – 8 mm | Thickness of the rack ears or the front plate that the rack screws go through. |
| Wall thickness | 3 mm | 1.5 – 8 mm | Thickness of the side walls, gussets and lips. |
| Standoffs | |||
| Standoff height | 1 mm | 0 – 20 mm | How far the device sits above the base. Boards need 3–6 mm for their solder joints, mini PCs with rubber feet 0–1 mm. |
| Fan & vents | |||
| Opening size | 8 mm | 3 – 20 mm | Width of a hexagon across its flats, diameter of a hole, or width of a slot. |
| Web | 2 mm | 1 – 10 mm | Material between two openings. Below 1.5 mm the base gets noticeably softer. |
| Vent margin | 8 mm | 2 – 40 mm | Solid border along the walls and lips; half of it stays clear around standoffs and the fan. |
| Zip-tie rows | 0 | 0 – 8 | Pairs of slots along both side walls. Strap down power bricks, drives or routers without screws. |
| Label | |||
| Text size | 0 mm | 0 – 30 mm | Height of the capital letters. 0 = as large as the plate allows (at most 20 mm). |
| 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
What is rackstack?
An open-source, fully printable mini rack by Zhao Wang with a 10 mm hole pitch in three sizes: nano, micro and mini. This generator’s tray is a port of its original tray, and it also knows 10-inch, 6-inch and 19-inch racks.
How much can the tray carry?
A Raspberry Pi, a mini PC, a switch or a power brick is no problem. The weight runs through the side walls and the diagonal gussets into the rack ears. For heavy devices set “Base thickness” and “Wall thickness” to 4–5 mm and print with four perimeters.
Which screws do I need?
Countersunk M2.5, M3 or M4 screws for the standoffs, going up through the base into the device. Into the rack: M4 for rackstack, usually M6 with cage nuts for 10-inch and 19-inch racks, M3 for 6-inch racks.
Does the tray fit my 180 mm print bed?
rackstack nano and every 6-inch tray print in one piece. 10-inch and rackstack micro trays are split between the side walls; up to about 88 mm deep both halves fit a Prusa MINI bed together, deeper ones print one after the other.
Do I need supports?
No. The base lies flat on the bed, the rack ears, side walls and gussets stand upright, the screw countersinks are steeper than 45°, and the holes in the ears end in a point. PrusaSlicer adds no support material to the examples.
Does a mini-ITX board fit?
Yes, with the “Mini-ITX” hole pattern in a 10-inch rack; the base needs at least 170 × 172 mm for it. You then print the two halves one after the other, because they don’t fit a 180 mm bed together.
Origin & license
- rackstack by Zhao Wang · MIT · code ported – tray with rack ears, side walls, gussets, lips and countersunk standoffs (rack-mount/tray/tray.scad, rackEars.scad, screw sizes from helper/screws.scad) ported
- 10-Inch-Rack-OpenSCAD by Spencer Owen · MIT · helper code ported – 10-inch and 6-inch rack sizes and hole pattern (core/mech/rack.ts)
- ParametricCase by Nirav Patel · BSD-2-Clause · helper code ported – fan hole spacings, countersunk fan screw holes, the square grill (fan.scad, vent.scad) and the mini-ITX hole pattern