Tile, square, cell
Three sizes, three names, used everywhere on this site.
| Name | What it is | Size |
|---|---|---|
| tile | The whole printed piece. | cols × rows squares, e.g. 2×2 |
| square | One grid unit of the game board. | 35 × 35 mm (DungeonBlocks); 25.4 × 25.4 mm (OpenLOCK) |
| cell | One step of the internal height grid. | about 0.27 mm (128 per square) |
A 35 mm unit is a square, never a “tile”. A 2×2 tile has four squares. Densities are always per square (“45 pebbles per square”), so they mean the same on a 1×1 and a 3×3 tile.
Two base systems
A system is the underside a tile clips into: DungeonBlocks or OpenLOCK. Any tile can be built for either. The OpenLOCK version is not a shrunk copy: it is a build of the same layout at 25.4 mm per square, so it has the same number of squares and detail suited to the smaller size.
Both bases end at the same plane, the datum (z = 0). The base is below it; the terrain is above it. All heights on this page are measured from the datum.
DungeonBlocks base
DungeonBlocks is a commercial terrain system on a 35 mm grid. Each square gets one peg: a column that drops into the socket of the piece below. The geometry follows the published DungeonBlocks blank floor tile, so dharmatiles tiles mix with commercial pieces.
| Part | mm |
|---|---|
| Square | 35.0 |
| Flare: the full square narrows to the column over this height | 5.2 |
| Column cross-section | 26.0 |
| Chamfer at the peg tip | 1.5 |
| Short peg (below the flare) | 5.7 |
| Tall peg | 11.4 |
| Tall peg is used when anything on the tile is taller than | 15.0 |
The base is 10.9 mm deep with the short peg and 16.6 mm with the tall one, matching the commercial pieces: ground pieces use the short base, wall pieces the tall one. A lotus logo is inset into each peg tip.
OpenLOCK base
OpenLOCK, by Printable Scenery, is a 1-inch (25.4 mm) grid. Tiles join side by side with separate clips that slide into T-shaped slots in the base walls. Clip slots sit on the grid lines between squares: along an edge n squares long, one at each of its n − 1 interior lines, or one at the middle when n is 1 (a 2×2 has one per side). The official templates have a socket every 12.7 mm along a side; these are a subset of them. dharmatiles builds only the 25.4 mm version; the 25.0 mm metric variant does not tessellate with it.
| Part | mm |
|---|---|
| Square | 25.4 |
| Base box height | 7.0 |
| Clip slot: bottom edge above the base bottom | 1.4 |
| Clip slot height | 4.2 |
| Slot mouth width, at the tile face | 14 |
| Slot width after the first 2 mm | 12 |
| Slot inner width, 5–6 mm deep | 10 |
| Pocket behind the slot, centred on it: along the edge | 18 |
| Pocket depth, 6.0 to 10.7 in from the face | 4.7 |
| Pocket: open through the bottom up to (above the base bottom) | 6.1 |
| Strut between two pockets at a corner | 3.0 |
Standard OpenLOCK wall heights are 25.4 mm (half) and 50.8 mm (full). The OpenLOCK base has not yet been test-printed against a real clip.
Standard heights
Each kind of surface sits in a known height band, matched to commercial DungeonBlocks pieces so dharmatiles tiles sit level with them. Heights are above the datum.
| Surface | Commercial band (mm) | dharmatiles (mm) |
|---|---|---|
| Water surface | 1.9–2.4 | 2.6 |
| Ground at the tile edge | — | 3.4 |
| Outdoor dirt | 3.9–4.4 | about 4.5 inside the tile |
| Grass | 4.4–5.9 | 5.0 |
| Outdoor stone path | 5.4–6.4 | about 6.0 |
| Interior stone floor | 6.9–7.9 | 7.4 |
| Themed ground (graveyard, swamp) | 7.4–8.9 | — |
| Rock ground (outcrop) | ≈ 9.4 | — |
| Standard wall top | ≈ 33.1 | 33.1; tall ≈ 72.3 |
In the tile language these are named levels (edge, ground, water, wall), so a tile writes level=ground rather than a number.
File names
A tile's file name says its size and what is on it:
stl/<db|ol>/<group>/<NxM>-<name>-<db|ol>.stl
For example stl/db/ground/1x1-soil+grass-db.stl. NxM is cols × rows; the group is ground, water, walls or floors; db or ol is the base system.
Terrain order
A mixed tile names its terrains from low to high, joined by +:
water < soil < grass < floors < walls / cliffs
1x1-soil+grass is soil and grass on one tile; 1x1-grass is grass alone. Words after a terrain describe content: 1x1-grass-tree, 1x1-wall-brick-corner. Rotations are not separate files: each shape has one standard orientation, and you turn the printed tile by hand.
Shape suffixes
A shape suffix says which terrain has the shape, by where it sits: before the + for the lower terrain (water-corridor+grass, a water corridor through grass), after it for the higher one (soil+grass-corner, a grass corner on soil).
| Suffix | The named terrain… | Edge points | Canonical orientation |
|---|---|---|---|
| (none) | fills one broad side (half the tile) | 0.50 (organic paths use 0.48 / 0.52) | left/right boundary |
corner | occupies one corner | 0.50 on two adjacent sides | bottom-left |
angle | occupies two adjacent sides (an L) | 0.50 on two adjacent sides | L around a bottom-left cut-out |
corridor | connects opposite sides | 0.33 and 0.67 on two opposite sides | left to right |
u | enters and leaves by the same side | 0.33 and 0.67 on one side | right side |
corridor-turn | connects two adjacent sides | 0.33 and 0.67 on both | left to top |
corridor-t | connects three sides | 0.33 and 0.67 on each | left, right and top |
corridor-x | connects all four sides | 0.33 and 0.67 on each | all four |
corridor-open | widens from a corridor to a half-tile opening | 0.33 and 0.67 on one side; 0.50 on the two adjacent sides | enters left, opens right: left 0.33 → bottom 0.50, left 0.67 → top 0.50 |
Edges and orientation
A boundary between two terrains, such as a river bank, leaves the tile only at fixed points on its edges called seams, so it lines up with the next tile. The seams are the same on every square edge: a tile of several squares has them on each of its squares, so a 2×2’s north side is two square edges. Positions are measured from each square’s own corner, from the north-west end of the edge: left to right along the top and bottom, top to bottom along the sides. A line leaves a seam square to the side (and along the bisector at a tile corner), so two tiles that meet at a seam meet in the same direction.
The seam table
Squares are named column then row, counted from 1: C1 R1 is the north-west square. A seam is written as a point, "(1sq/3, 0sq)" (a third is exact; 0.33 is not a seam), and on a 2×2 the second column’s middle is "(1.5sq, 0sq)". A point on a tile side that is not a seam is dt::seam with a fix that snaps it to the nearest one on that square; a tile that must cross an edge elsewhere writes seams=free. The table is seams in library/parts/edges.dtile, and must be the same turned a quarter (t becomes 1 − t), which the program checks when it reads it.
| Along a square’s edge | north | south | west | east | As a point, on a north side |
|---|---|---|---|---|---|
| 1/3 (a third) | nnw | ssw | wnw | ene | "(1/3sq, 0sq)" |
| 1/2 (half) | n | s | w | e | "(1/2sq, 0sq)" |
| 2/3 (two thirds) | nne | sse | wsw | ese | "(2/3sq, 0sq)" |
The tile’s own corners: nw (north-west), ne (north-east), se (south-east), sw (south-west). They are always the tile’s corners and take no number.
Inside the tile a boundary may wander, but it passes exactly through its seams. x runs east (right) along a row and y runs south (down) a column, with the origin at the top-left, north-west corner; z is up from the datum. The tile language names edges by compass (north, south, east, west) and writes positions as "(across, down)" with units, from the north-west corner.
How tiles meet
The edge contract is what every tile does at its border so that two tiles side by side meet with no step:
- Ground reaches no higher than 3.4 mm at the tile edge, measured at a sharp corner; its grain runs on to the rim and is set into that height, so its high points reach it and its low points lie up to the grain's depth under it. The edge-round (0.2 mm) is cut from that corner, so the top of the ground on the edge is at most 3.2 mm and two dirt tiles meet in a faint groove. The four vertical corners are rounded 0.5 mm in plan at the 35 mm square (0.36 mm on OpenLOCK: it scales with the system like every size).
- Water meets the edge at a calm, consistent level, so two water tiles continue each other.
- Boundaries (banks, paths) leave the tile only at the seams above.
- Cliffs end in a standard end section, so cliffs of different seeds join into one run. No stone is cut at the tile edge.
- Walls butt with a clean vertical cut at the tile edge, as DungeonBlocks walls do; courses need not line up.