Key rack: print a wall board with slanted key pegs
What is the key rack generator?
A key rack is the small board next to the front door where everybody’s keys end up, so that nobody searches the coat pockets in the morning. This generator builds one to your measure: you choose how many pegs it has (one to twelve), in one row or two, how long and how thick the pegs are, which shape the board has, what the headline says and whether each peg gets a name underneath. Then you choose how the board is mounted, with countersunk screws or with keyhole slots, and download it as STL or 3MF for your slicer.
Everything runs in your browser. You need no account, nothing is uploaded, and the whole design is stored in the link you can bookmark or send on. To see what is possible, open the examples: the hallway board with five pegs, the family board with names or the house-shaped board with a shelf.
How to use it
- Set the number of pegs. If one row would be wider than the 180 mm print bed, the generator moves the pegs into two rows by itself and tells you.
- Pick the board shape: rounded rectangle, plain rectangle, arch or house with a gable.
- Type a headline, for example KEYS, a family name or a house number, and optionally the names for the pegs, separated by semicolons.
- Choose the mounting: screws, keyholes or none.
- Choose the colors and download STL (one part) or 3MF (separate parts for two colors).
The preview updates with every change, and a note appears next to a setting that causes a problem, for instance a name that is too long.
The pegs
The pegs are the point of the rack, so they get the most settings. A peg stands out of the board and leans “up”, towards the top of the wall. At the base it leans by the slant at the base (10° by default); towards the tip it bends to the slant at the tip (40°). The curve is gentle, but it does the job: the key ring slides along the peg, runs against the board and cannot slide off by itself, because the end of the peg points upwards. With a straight peg at 0° the ring would just fall off the front.
Both angles are limited to 45°. That limit is not arbitrary: a printer can print a wall that leans up to about 45° out of the vertical without any support material, because each layer rests on at least half of the one below it. The pegs are built exactly this way, so a peg with the strongest slant is as printable as one with none.
The other peg settings:
- Length (12 to 45 mm, default 24 mm) is measured along the axis. Because the peg leans, it stands a little less far out of the board: 21.5 mm with the defaults. The tip rises about 10 mm above the foot.
- Thickness at the base (6 to 16 mm, default 9 mm) and at the tip (4 to 14 mm, default 7 mm). A tip thinner than the base saves filament and lets rings slide on easily; the base carries the load. The tip ends in a dome, so no sharp edge catches a key.
- Spacing (16 to 50 mm, default 26 mm) is the distance between neighboring pegs, center to center. The generator never lets pegs touch: if the spacing is smaller than peg diameter plus 3 mm it is raised, with a note.
Ordinary house keys on a thin ring are happy with 9 mm. Car keys with a big fob, bike locks and padlocks want 11 to 14 mm at the base and a length of 28 mm or more. Boards at child height work with short, fat pegs, see the kids’ board.
Board shape, thickness and size
The board is as wide as the pegs need: spacing times pegs minus one, plus a margin on each side. You can make it wider with board width, for example to fit a long headline, and it is at least 40 mm wide.
Rounded and rectangle are the plain shapes. Arch and house add a roof of the chosen height on top: the arch is a circular segment, the house a gable. The headline moves into the roof area, which makes the board look like a little door or cottage. Both also have rounded corners; set the corner radius to 0 for sharp ones.
The thickness of the board is 5 mm by default. That is stiff enough for a board of 150 mm width and leaves enough room for a countersunk screw head with 1.2 mm of plastic below it. If the thickness is too small for the chosen screw, the generator says so and cuts a plain hole instead of weakening the board.
With two rows, each row has its names below it and the pegs lean up into free space, then the upper row follows and the headline sits above everything. The height follows from this and the editor shows the finished size. If your settings would exceed the 180 mm bed, a warning appears.
Headline and names
The headline and the names are raised from the front face by the relief height (1.2 mm by default). Pick one of eight fonts or upload your own: it stays in the browser. The headline is 10 mm tall by default and shrinks automatically to fit; enter a size if you want a specific one. In arch and house boards it is fitted into the roof outline.
The names field takes up to twelve names, separated by semicolons or commas. The first name belongs to the top row, from left to right, then the bottom row follows. A name sits directly below its peg, because the key hangs in front of the board and covers whatever is below. Names are 5 mm tall by default. If the longest name does not fit between two pegs, all names are made smaller together and a note tells you the new size. The outer names also get extra room at the board’s edge so nothing sticks out.
Very small text is hard to print: with a 0.4 mm nozzle a capital letter should be at least 4 mm tall, and with 3.5 mm you are at the limit. The editor warns you below that.
Mounting: screws, keyholes or nothing
Screws. Two holes sit at the top corners; with “4 screws” two more are added at the bottom. The generator looks for free spots next to the pegs and the text, so the screw heads can be reached with a screwdriver and no peg stands in the way. Choose the screw size (M3, M4 or M5) and the head: a countersunk head disappears flush in a cone, a counterbore holds a round or pan head in a flat pocket. The hole has the ISO 273 clearance, 4.5 mm for M4. Because the board lies on its back and the front is the top of the print, both openings face upwards and need no support.
Pick plugs that suit your wall. The board itself is light, so two screws are plenty and four make it very steady.
Keyholes. Two slots at the top of the back let you hang the board onto two screws without any visible hardware at the front. Each slot has a round entry hole for the screw head, a slot above it for the shank, and a recess behind with a 45° roof for the head. Screw two screws into the wall at the same height, with their heads standing out about 3 mm, and push the board onto them and down. The entry holes stay visible at the front. See the keyhole example.
None. For boards that are stuck to the wall with mounting tape, or that you glue onto something else.
The optional shelf
With shelf ledge a bar is added along the bottom edge: 14 mm deep and 4 mm high by default. It holds a wallet, a phone, mail or a bowl, and it keeps the board from tipping forward. It prints like everything else, as a block standing up from the front face. The mail shelf example uses a 25 mm deep one.
Colors and two-color printing
A key rack in one color is perfectly fine. But lettering in white on a dark board looks much better, and the generator makes it easy: give “Headline and names” a color different from the board color and the headline and the names become a separate part. They stand on the front face of the board, not in a pocket, so a filament change at the layer where the text begins is all that is needed. If both colors are the same, or you export a single STL, everything is one part.
In the 3MF the board is extruder 1 and the text is extruder 2. PrusaSlicer, Bambu Studio and OrcaSlicer read this directly; on a single-extruder printer, insert a color change at the layer where the lettering starts. That is layer 26 at 5 mm board thickness and 0.2 mm layers. The text is not covered by any other part, so the slicer has no problem with it.
Printing tips
- Orientation. The model is already in print position, back on the bed and pegs up. Do not turn it.
- Supports. None. Leave them off. The only overhang, the roof of a keyhole recess, is a stepped cone at 45°.
- Material. PLA is fine indoors. If keys are heavy or the room is warm (a sunny window), PETG is tougher and does not creep.
- Layers. 0.2 mm is right. 0.15 mm makes the leaning pegs smoother. Print the pegs with three or four perimeters: they are thin and carry the keys.
- Infill. 15 to 20 percent is enough; the board is mostly walls.
- Test print. To check a screw or a peg, print the single-peg board first: it takes only 24 minutes.
Real numbers
The following numbers come from real PrusaSlicer slices for the Prusa MINI (0.20 mm SPEED, Prusament PLA, one color, no supports):
- hallway board with five pegs and a headline: 24.1 g, about 1 hour 4 minutes;
- family board with six pegs, two rows and names: 29.4 g, 1 hour 15 minutes;
- house board with shelf and four pegs: 29.5 g, 1 hour 10 minutes;
- keyhole board with four pegs: 20.1 g, 58 minutes;
- small board for three keys: 15.9 g, 49 minutes;
- single peg for the spare key: 7.9 g, 24 minutes;
- twelve thick pegs in the workshop board: 59.4 g, 2 hours 21 minutes.
With automatic supports switched on, the slicer added no support in any of them. In two colors the headline of the hallway board needs 0.25 g of the second filament (22.2 g for the board, in a Bambu Studio slice), the family board with its names 0.6 g.
Origin and license
The idea of a customizable wall key holder with several pegs follows the model Customizable wall key holder by ShayDwight (CC BY 4.0). The geometry here is our own construction: slanted pegs that print without supports, text, shelf, screw and keyhole cutters were written from scratch, and no code or measurements were taken from the original. The built-in fonts are under the SIL Open Font License. All license texts are on the licenses page.
Need a single hook for jackets or a headphone holder? Try the wall hook generator. For tools on the wall there is the wrench rack. Or open the key rack generator and start with the defaults.
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 |
|---|---|---|---|
| Pegs | |||
| Number of pegs | 5 | 1 – 12 | How many keys or hooks the board holds, 1 to 12. Many pegs are spread over two rows automatically if one row would be wider than the bed. |
| Rows | 1 | 1 – 2 | One or two rows of pegs. The upper row is centered over the lower one. |
| Peg spacing | 26 mm | 16 – 50 mm | Distance between the pegs of a row, center to center. Keep it at least the peg diameter plus 3 mm. |
| Peg length | 24 mm | 12 – 45 mm | Length of the peg along its axis. It stands this far out of the board, a little less because it leans. |
| Peg thickness at the base | 9 mm | 6 – 16 mm | Diameter where the peg meets the board. Thicker pegs carry more. |
| Peg thickness at the tip | 7 mm | 4 – 14 mm | Diameter at the end. A thinner tip makes the peg slimmer towards the end and saves filament. |
| Slant at the base | 10 ° | 0 – 45 ° | Angle from the wall normal towards “up”. 0° is straight out; keys slide off easily below 10°. |
| Slant at the tip | 40 ° | 0 – 45 ° | The peg bends up to this angle towards the tip so keys stay on. At most 45°, so it prints without supports. |
| Board | |||
| Board thickness | 5 mm | 4 – 12 mm | Thickness of the board. 5 mm is stiff and leaves room for countersunk screws. |
| Corner radius | 6 mm | 0 – 20 mm | Rounding of the board corners, 0 = sharp. |
| Arch / gable height | 18 mm | 0 – 40 mm | How far the arch or the gable roof rises above the side edges. |
| Margin | 10 mm | 6 – 30 mm | Plain border at the sides and the bottom around the pegs. |
| Board width | 0 mm | 0 – 180 mm | 0 = from the pegs. A larger width adds space at both sides. |
| Shelf depth | 14 mm | 6 – 30 mm | How far the ledge stands out of the wall. |
| Shelf thickness | 4 mm | 3 – 10 mm | Height of the ledge on the wall. |
| Headline and names | |||
| Headline size | 0 mm | 0 – 30 mm | Height of the capital letters, 0 = automatic (up to 10 mm, fitted to the board). |
| Relief height | 1.2 mm | 0.6 – 2.5 mm | How far headline and names stand out of the board. |
| Name size | 5 mm | 3.5 – 8 mm | Height of the capital letters of the names. Smaller than 4 mm gets hard to print. |
| Mounting | |||
| Screws | 2 | 2 – 4 | 2 at the top, or 4 with two more at the bottom. |
Frequently asked questions
Does the key rack need supports?
No. The board lies on its back and the pegs stand up from its front face. Each peg leans by 45° at most, which is exactly the overhang a printer handles without help. In a PrusaSlicer test slice with automatic supports switched on, none of the twelve examples produced a single support line.
How many keys does one peg hold?
Between three and six ordinary keys on a ring, as long as the ring slides over the tip. The peg bends upwards at the end so the ring hangs against the board instead of sliding off. For heavy bunches, car fobs or padlocks choose a thicker peg (11 to 14 mm) and a board of 6 mm.
Can I hang the board without visible screws?
Yes. Choose “Keyholes” under “Mounting”. Two keyhole slots are cut into the back, and the board is pushed down onto two screws in the wall. Use screws with a flat or countersunk head of the chosen size; the recess behind the slot has a 45° roof, so it prints cleanly.
What if I want more than twelve keys, or a wider board?
One board is at most 180 mm wide, the size of a Prusa MINI bed. If one row of pegs would be wider than that, the pegs move into two rows automatically. For more than twelve keys print two boards and hang them side by side.
Can I print the lettering in a second color?
Yes. Give the text its own color and it becomes a separate part that sits on the front face of the board, which is the easiest kind of color change: one switch of filament at the layer where the text starts. The 3MF file assigns board and text to two extruders for PrusaSlicer, Bambu Studio or OrcaSlicer.
How is this different from the wall hook generator?
The wall hook generator makes a single hook for jackets, bags or a shower and carries real loads. The key rack is a whole board: several light pegs in one or two rows, a headline, a name under each peg, and one set of screw holes for all of them.
Origin & license
- Customizable wall key holder by ShayDwight · CC BY 4.0 · idea – The idea of a customizable wall key holder with several pegs; geometry, pegs and text are our own construction, no code or measurements were taken