3D Printing Generator
DeutschEnglish

How to 3D print your own polyhedral dice

Dice for RPGs and board games

A d20 that deserves its natural twenty, a replacement die for a board game, a chunky number die for kids or a complete set in your favorite colors: this polyhedral dice generator lets you design dice from d4 to d20 and print them on any FDM printer. Pick the shape, the size and the edge rounding, choose numbers, pips or your own words, and download STL or 3MF. The example gallery shows finished dice, from the two-color d20 to the seven-dice set.

There are seven shapes: the four-sided d4, the classic d6, the d8, the d10, the percentile d% with the tens 00 to 90, the d12 and the d20. The “Die” menu also offers “Set”, which lays out all seven side by side on the bed in the sizes of a store-bought RPG set.

Everything is computed in your browser. Nothing is uploaded, and the whole design lives in the page link: copy it with “Share” to continue later or to send it to your gaming group.

How a die is made

Every die starts as an exact solid: tetrahedron, cube, octahedron, dodecahedron and icosahedron for the d4, d6, d8, d12 and d20, plus the pentagonal trapezohedron for the d10 and d%. All faces of a solid have the same size and the same distance from its center, which is what makes a die fair.

The edges are then rounded exactly as if a ball rolled over the solid. OpenSCAD calls this minkowski(); the generator builds the result directly. The faces stay flat and move outward by the rounding radius, every edge becomes a piece of a cylinder and every corner a piece of a sphere. Everything fits together seamlessly, and the rounding is the same on every edge. After that the numbers go into the flat faces: engraved, raised or inlaid as a second part.

Finally, the generator puts the die on the bed with the highest number on top. The d10 can also stand on its tip, like the original.

Size and rounding

“Size” is the distance between two opposite faces, rounding included: the number you would measure with calipers on a store-bought die. For the d4 it is the height from the face to the tip. You can set 8 to 60 mm. When you switch dice, the generator picks the usual size for that shape:

DieStandard size
d420 mm (height)
d616 mm
d817 mm
d10, d%17 mm
d1219 mm
d2021 mm

The d10 and d% are described like in the original, with “Tip height” (tip to tip before rounding) and “Ring radius” (distance of the side corners from the axis). Jack’s die has a 30 mm tip height and a 14.92 mm ring radius and measures 35 mm once rounded. For a set-size d10 use about 22.5 mm and 11.19 mm, as in the standard-size d10. Keep the ring radius at roughly half the tip height, or the faces get lopsided.

“Edge rounding” goes from 0 (sharp edges) to 5 mm. Lightly rounded dice with 1 mm feel good in the hand and roll cleanly; 2.5 mm like Jack’s large d10 gives a soft, pebble-like look. If the rounding gets too large for the die, the generator warns you: a very round die rolls more like a ball and lands less randomly.

Numbers, pips and your own words

“Labels” offers four choices: “Numbers”, “Pips” (d6 only), “Own words” and “Blank” for dice you want to paint or put stickers on.

The numbers follow the usual rules: opposite faces always add up to the same sum, 7 on the d6, 9 on the d8, 13 on the d12 and 21 on the d20. The d6 is right-handed like most dice from a store, and the d20 spreads high and low numbers so that the faces around every corner add up to almost the same sum. The d10 carries the digits 0 to 9 in Jack’s order, the d% the tens 00 to 90. On the d4, each corner shows the same number on all three faces; the number pointing up is the result, as on the d4 with numbers at the corners.

So you never mix up 6 and 9, “Mark 6 and 9” adds an underline or a dot. “Symbol on the highest number” replaces the 20 of a d20 (or the highest number of any other die) with a symbol such as a star or a heart; the d12 with a star shows how it looks.

With “Own words”, type a comma-separated list under “Your labels”. The first entry replaces the 1, the second the 2 and so on; on the d10 the list starts at 0. That gives you a decision die, a die with player names to pick who starts, or an exercise die for PE class. Long words are scaled down until they fit the face.

“Number size” (0.3 to 0.8) sets the height of the numbers relative to the face. All numbers of a die get the same height; if a two-digit number doesn’t fit, all of them shrink a little, and the actual height is shown below the field. The d10 and d% use the original’s “Text size”, the height of the font body, and “Number position” sets where the number sits between the tip and the middle of the face. Pick one of the bundled open fonts or upload your own. “Glyph rounding” rounds the corners of the digits so they print cleanly.

Engraved, raised or inlaid

“Style” sets how the numbers meet the face:

  • Engraved: the numbers are cut into the face, 0.6 mm deep by default. This prints on any single-color printer. Fill the recesses with acrylic paint or a soft wax crayon afterwards and wipe the face clean for the classic painted look.
  • Inlaid: the numbers are a separate part in your second color and sit flush with the face. The die stays smooth and fair, and the numbers can never wear off. This style needs a color of its own for the numbers.
  • Raised: the numbers stand out of the face by the set “Depth” so you can feel them, like the d6 with raised pips. The face lying on the bed stays engraved so the die sits flat while printing.

The walls of the recesses run into the face at an angle, so their ceilings overhang by at most 35°, even on the lower faces that lean outward.

Two colors with a multi-material setup

For inlaid numbers, give the “Numbers” part its own color under “Colors”. The “Multi-color 3MF (PrusaSlicer)” download then contains the die and the numbers as two parts with assigned extruders, ready for an MMU3, an XL or a Core One with a multi-material setup. “3MF (Bambu Studio / OrcaSlicer)” maps the parts to AMS slots, and “STL per color (ZIP)” gives you one file per color.

With a single extruder, a filament change with M600 doesn’t help on dice, because the numbers sit on every side. Print the die engraved and paint the numbers instead. The black d8 with white numbers shows the two-color look, and the dice set puts all seven dice on one bed in black and gold.

Printing tips for fair dice

The dice lie on a face and need no supports. The d20 has the steepest overhangs: three faces next to the bed face lean out by 48°, which any well-tuned printer handles. Keep automatic supports off. With them on, PrusaSlicer puts tiny supports into engraved numbers on the lower faces; the inlaid version stays support-free even then.

Real numbers from PrusaSlicer for the Prusa MINI with the “0.20mm SPEED” profile, Prusament PLA and 15 % infill:

ExampleFilamentPrint time
d20, 21 mm2.9 g24 min
d6 with pips, 16 mm2.2 g18 min
35 mm d10 on its tip6.1 g38 min
Set of seven dice15.7 g1 h 8 min

For the fairest dice, keep the inside uniform: plenty of perimeters (four or five) or simply 100 % infill, which costs very little filament at this size. Get a clean first layer without elephant’s foot so the bed face doesn’t end up wider than the others. A light pass with fine sandpaper removes seams and small blobs. PLA and PETG both work; PETG is a little heavier and tougher.

The large d10 stands on its tip in the original, carried by five small “Support fins”. Choose “On the tip” under “Print orientation” for that. Break the fins off after printing and sand the tip smooth. The easier route is “On a face”: then the d10 prints without any fins at all.

Origin and license

The d10 comes from Jack (Ulrich Bär), who published his D10 Dice under CC0 (public domain). Shape, rounding, number order, text size and position and the support fins are taken from his OpenSCAD file; the generator checks the die’s body against the original and matches its volume to within 0.01 %. The helpers for glyph rounding and text size come from his library UB.scad, also CC0. The other dice, the number layouts, the inlaid numbers and the marks are new for this generator. The fonts are under the SIL Open Font License; every license is listed under licenses.

Ready for the next session? Open the dice generator, browse the examples, or build some matching game pieces with the building brick generator.

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.

ParameterDefaultRangeMeaning
Die
Size21 mm8 – 60 mmDistance between two opposite faces, rounding included; for the d4 its height. Common sets: d6 16 mm, d20 21 mm.
Set scale10.6 – 2Scales the standard sizes of all seven dice (d4 20, d6 16, d8 17, d10 17, d12 19, d20 21 mm).
Ring radius14.92 mm4 – 40 mmd10: distance of the kite corners from the axis (Jack’s r = 14.92 mm at 30 mm height).
Tip height30 mm8 – 80 mmd10: tip to tip before rounding. Keep the ring radius at about half of it.
Edge rounding2.5 mm0 – 5 mmRadius of the rounded edges and corners. 0 = sharp edges; large values make the die roll longer but less fairly.
Numbers
Number size0.550.3 – 0.8Height of the numbers relative to the face; numbers that are too wide get a little smaller.
Text size12 mm3 – 30 mmd10 and d%: height of the font body (ascender to descender), as in the original (12 mm).
Number position0.60.4 – 0.8d10 and d%: where the number sits on the face, from the tip (0.6 as in the original).
Depth0.6 mm0.2 – 1.5 mmHow deep numbers are engraved or inlaid, or how far raised numbers stand out.
Glyph rounding0.35 mm0 – 1 mmRounds the corners of the numbers so they print cleanly; small numbers get less.

Frequently asked questions

Are 3D-printed dice fair?

Mostly, if the inside is uniform: every face is exactly the same size and the center of mass sits in the middle. Print with many perimeters or 100 % infill, avoid elephant’s foot on the bed face and don’t overdo the rounding.

How do I get colored numbers?

With a multi-color printer choose the style “Inlaid” and give the numbers their own color under Colors. With one color, print the numbers engraved and fill them with acrylic paint or a wax crayon afterwards.

Do I need supports?

No. The dice lie on a face and every other face is steep enough. Keep automatic supports off, otherwise the slicer puts tiny supports into engraved numbers on the lower faces.

Why are 6 and 9 underlined?

Because they are easy to confuse on a rolled die. Under “Mark 6 and 9” you can switch to a dot or turn the mark off.

What size are standard RPG dice?

A common set has a 16 mm d6, a d20 of about 21 mm and a d4 about 20 mm tall. The generator’s set uses exactly these sizes, and the set scale makes all dice bigger or smaller together.

Is my design uploaded anywhere?

No. The generator runs entirely in your browser. The design lives in the page link, which you can copy and pass on with “Share”.

Origin & license

  • D10 Dice by Jack (Ulrich Bär) · CC0 1.0 · code ported – d10 shape, rounding, number order, text size and position and support fins ported; other dice new
  • UB.scad by Ulrich Bär · CC0 1.0 · helper code ported – helpers Rund (glyph corner rounding) and Text (size by font body)