Linking number blocks to print: type a sum, get the blocks
Print linking number blocks
Linking number blocks are cubes with a digit, a math sign or a letter on top. Each block has a T-shaped rail on its left face and a matching slot on its right face, so whole number sentences such as 3 + 4 = 7 slide together and come apart again. This generator prints exactly the blocks you need: type the sentence, choose size, font and colors, and download the file.
For ideas, browse the examples: a number sentence in three colors, the digit set from 0 to 9, the math signs or a missing-number sum with a question mark. Every example opens in the editor with one click.
How the generator works
Everything runs in your browser and nothing is uploaded. Your design lives in the link (“Share”), so you can bookmark it or send it to someone. The generator builds one block per character and lays them all out on one plate, using as few rows as possible, filled evenly, with 4 mm between blocks. Five blocks, for example, sit as 3 + 2.
Every block stands upright on the bed with its character facing up. The rail on the left is half as tall as the block and ends in a rounded top. The slot on the right is open at the underside and at the right face and ends in a 45° roof, which is why the blocks print without supports. To join two blocks, slide the rail of one into the slot of the other until they sit flush. The wide head of the rail hooks behind the narrow neck, so the blocks can only be separated vertically, never pulled apart sideways.
Typing the number sentence
The “Number sentence” field takes one block per character, up to 36 characters. The default is “3+4=7”. A few rules help while typing:
- Digits, letters and signs such as
+,=,?and>are used as typed. - A hyphen becomes the minus sign −, an asterisk becomes the multiplication sign × and a slash becomes the division sign ÷. If the font has no such sign, the typed character stays.
- A space gives a blank block, handy as a placeholder or to label with a marker (see the four blank blocks).
- If the font lacks a character, its block stays blank and the editor names the characters concerned.
How many blocks fit depends on their size. The plate may be at most 178 mm wide and deep:
| Block size | Blocks per plate |
|---|---|
| 24 mm | 36 |
| 32 mm (default) | 20 |
| 40 mm | 12 |
| 50 mm | 9 |
If your sentence is longer, the generator leaves out the extra characters and shows a warning. Print the rest as a second plate or choose smaller blocks.
Designing the blocks
The editor has two sections.
Characters
- Number sentence is the text, one block per character.
- Font offers a list of bold fonts, and “Your own font” loads a font file that stays in your browser. Bold fonts print the characters most cleanly. The tens sentence uses the angular Orbitron, the large blocks the soft Sniglet.
- Characters switches between “Raised” and “Engraved”. Raised characters stand on the top face, engraved ones are cut into it. If engraved characters get their own color, they fill the cut flush, as in the flush white digits example.
- Character height is 40–90 % of the block edge (default 80 %). Wide characters are shrunk automatically to fit.
- Relief height is 0.4–3 mm (default 1.5 mm): how far the characters stand out or how deep they are cut.
Blocks
- Block size is 24–50 mm (default 32 mm). Plug and slot grow with the size, so all blocks of a set fit each other. Below 32 mm a warning appears, see the section on small parts.
- Corner radius rounds the four upright edges, 0–5 mm (default 1.5 mm). At 0 the edges are square.
- Clearance is the play between rail and slot on every side, 0–0.4 mm (default 0.15 mm).
Below the sliders the editor shows the plate size in blocks and millimeters. The default sentence “3+4=7” makes a plate of about 112 × 68 mm and 33.5 mm tall: 32 mm blocks plus a 1.5 mm character.
Getting the clearance right
Honesty matters here: the default clearance of 0.15 mm has not been confirmed by a real test print. It is a sensible starting value, but every printer, nozzle and filament behaves differently. Whether the blocks fit tightly, slide smoothly or sit loose only shows on the printed part.
Here is how to proceed:
- Print only two blocks first, for example with the text “1+”.
- Slide them together. If they jam, raise the clearance by 0.05 mm. If they wobble, lower it by 0.05 mm.
- Repeat until you like the fit, then print the whole sentence.
Elephant foot on the first layer narrows rail and slot. If your printer squashes the first layer, use elephant foot compensation in your slicer or a larger clearance, like the loose fit example with 0.25 mm. For comparing several clearances at once, the tolerance test gives you test pieces.
Colors and multi-color printing
The generator has three color slots, which become parts and extruders of their own:
- Number blocks: blocks with a digit, a letter or no character. This is the main color.
- Sign blocks: blocks with a math sign or another sign such as
+,=or?. If the slot is empty, they take the color of the number blocks. - Characters: the digits and signs themselves. If the slot is empty, they take the color of their block.
When all three colors are equal, you get a single part. The default example, 3 + 4 = 7, has three parts: blue number blocks, orange sign blocks and white characters.
For the download, choose “Multi-color 3MF (PrusaSlicer)” for PrusaSlicer with MMU3, XL or Core One, “3MF (Bambu Studio / OrcaSlicer)” for printers with an AMS, or “STL per color (ZIP)” as a fallback for any other slicer. With a single extruder, print in one color as an STL or use a color change, as long as the color boundary is horizontal: set a color change in your slicer at the height of the block tops, which equals the block size (32 mm for the default blocks). All raised characters then come out in the second color. This does not work for engraved characters in their own color or for separate colors on sign blocks, which need a multi-material setup.
Printing
The blocks are already oriented the way they print: upright, characters up, rail and slot on the bed. You do not need to rotate anything.
- Supports: not needed. Plug and slot end in 45° roofs. In PrusaSlicer’s check, none of the 13 examples asked for automatic supports.
- Layer height: 0.2 mm is a good compromise. Finer layers sharpen the characters but hardly change the fit.
- Material: PLA prints cleanest and stays dimensionally stable. PETG is tougher but strings easily and can clog the slot.
- Walls and infill: at least three walls keep the rail sturdy. The layer lines run across the pull direction on the rail, which is favorable for strength.
- Adhesion: the blocks stand on a large area, so a brim is not needed.
Times and amounts come from real slices in PrusaSlicer (Prusa MINI, 0.20 mm SPEED, Prusament PLA):
| Example | Blocks | Filament | Print time |
|---|---|---|---|
| Number sentence 3 + 4 = 7 | 5 × 32 mm | 62 g | 2 h 26 min |
| Digit set 0 to 9 | 10 × 32 mm | 125 g | 4 h 57 min |
| Math signs | 7 × 32 mm | 87 g | 3 h 21 min |
| Large blocks 1 + 1 = 2 | 5 × 40 mm | 108 g | 3 h 34 min |
| Comparison 7 > 5 | 3 × 32 mm | 37 g | 1 h 27 min |
A 32 mm block therefore takes about 12.5 g of filament and just under half an hour, a 40 mm block about 22 g. Other printers and other infill settings give different values.
Small parts and safety
Number blocks are learning toys, so here is a plain word. The generator suggests blocks of 32 mm and more because they do not fit through a small-parts test cylinder. Smaller blocks trigger the warning “not for children under three” in the editor. That is a size criterion, not a certification. Printed blocks are not tested toys: layers can separate, the rail can break, and filament is not certified for toys or food. Inspect the blocks after printing, throw away damaged ones and do not leave small children alone with them.
Origin and license
The block shape with a T-rail, a matching slot and a character on top comes from the OpenSCAD design numberblocks by davepcollins83 (CC0-1.0). New in this generator are block size, corner radius and clearance as settings, one block per character of a whole sentence, fonts, raised and engraved characters and the color parts for multi-color printing. The roof over the slot’s neck is a 45° roof that prints without supports, which is an adaptation of the original. The rounded upright edges come from the library roundedCube.scad by Sembiance (Unlicense). The fonts are under the SIL Open Font License. You will find all licenses on the license page.
Ready? Open the generator, browse the examples or print matching material for the next math lesson with the fraction circle pieces.
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 |
|---|---|---|---|
| Characters | |||
| Character height | 80 % | 40 – 90 % | Height of a digit in percent of the block edge. Wide characters are made smaller to fit. |
| Relief height | 1.5 mm | 0.4 – 3 mm | How far the characters stand out of the top face or how deep they are cut. |
| Blocks | |||
| Block size | 32 mm | 24 – 50 mm | Edge length of each cube. The plug and slot grow with it. Blocks of 32 mm and more do not fit through a small-parts test cylinder. |
| Corner radius | 1.5 mm | 0 – 5 mm | Rounding of the four upright edges, 0 = square. |
| Clearance | 0.15 mm | 0 – 0.4 mm | Play between plug and slot on every side. Larger values make the blocks slide together more easily but sit looser. |
Frequently asked questions
Will the blocks fit together without any adjustment?
Not guaranteed. The default clearance of 0.15 mm is a starting value that has not been confirmed by a real test print. Print two blocks first, try the fit and change the clearance in steps of 0.05 mm.
Do I need supports?
No. The blocks stand upright on the bed and both plug and slot end in 45° roofs. When sliced in PrusaSlicer, none of the 13 examples needed automatic supports.
Are the blocks suitable for small children?
Blocks of 32 mm and more do not fit through a small-parts test cylinder, and smaller ones trigger a warning in the editor. Printed blocks are still not tested toys: check them for cracks and keep them away from children under three.
Can I print in several colors with one extruder?
Partly. A color change at the height of the block tops colors every raised character in a second color. Separate sign blocks or engraved inlays in their own color need a multi-material setup such as MMU3 or AMS.
How many blocks fit on one plate?
That depends on the block size: 36 blocks at 24 mm, 20 at 32 mm, 12 at 40 mm and 9 at 50 mm. If your sentence is longer, the generator drops the extra characters and tells you how many are missing.
Is my number sentence uploaded anywhere?
No. The generator runs entirely in your browser, and the design lives only in the share link you create with “Share”.
Origin & license
- numberblocks by davepcollins83 · CC0 1.0 · code ported – cube with a T-rail plug on the left, matching slot on the right and raised character on top ported; sizes scale with the block, clearance and colors adjustable
- roundedCube.scad by Sembiance · Unlicense · helper code ported – cube with rounded upright edges