Versions before 0.1.0 were never published; their numbers and dates are given after the fact, from the project's history, and are approximate.
1.0.0 11 November 2026
Format 1: units with dmm, points from the north-west, $ names and the context, regions with parents, dharmatiles migrate and migrate-on-load
- Format 0 leftovers:
dharmatiles elementsshows units asdmmanddegwith format 1 defaults and a weighting example with units; the help in error messages (a missingtop=, a tree's top, a line with too few points, afill, apoint,within, a^in a range) writes$names, units and points from the north-west corner; the hints for words from before format 0 give their examples in format 1; a control's limits are given indmm. The editor's place tool writes one point for a thing'sat=whatever the drag (a thing'sat=takes one point, never a range), and the library's comments are in format 1. - Tiles are format 1: every library tile, test tile, part, printer and palette, and the element pages' demo tiles, are now written in format 1 (a
dharmatiles version="…"header,$names, units on lengths and angles, points counted from the north-west corner; see the language guide and the element pages), and the builds are bit for bit what they were (the baseline hashes did not move). The program writes format 1:dharmatiles migrate FILE|FOLDER…carries your own documents over in place (each tile built before and after, and a mesh that moves stops it), and a document in format 0 is migrated in memory as it loads, with adt::migratedwarning, the file left as it is (the editor's Update this file writes the new text). The development switchDT_FORMAT_PREVIEWis gone;dharmatiles --versionand the About box say0.x, 1.x, and the editor's New tile writes the header. The editor's weighting gallery is not yet available for a format 1 value (type the weighting). The site is written in format 1 to match: the language guide and every element page state the format 1 rules and show format 1 source (each example is checked withdharmatiles check), the generated controls tables show defaults as format 1 values (5dmm,34deg, ranges with a unit at both ends), and the code colouring marks the header line,$names and units. - Format 1 in development:
$names read from the context (the hidden first argument of every formula and definition call; the library's heights are$groundHeight,$waterSurfaceHeight, … installed at the root, and an element sets$x,$yand$bottomwhere it works a height out at each point),letandoverridein any block (a tile, astack, ascatter, a definition), aletread where it is used so it follows anoverridemade below it, and reserved words that a plainletorparammay not take.checkrefuses a read nothing installed, or a position where a size is drawn, at the spot. Read a format 1 document withDT_FORMAT_PREVIEW=1; without it thedt::format-newerrefusal stands. Format 0 tiles read and build as before; no hash moved. The language guide moves with the release. - Format 1 in development, step 2, regions and their parents: every thing makes its region and regions nest.
$tileis the root (its parent is none); a named region's parent is the smallest region holding its fill point, else the tile, and regions that only share a line (a pool and its bank) are siblings; a tree makes a disc of its crown width, a rock or flower a disc of its size, a wall a strip of its thickness along its line; a body or a scatter acts in itsat=region, else the tile; each thing a scatter lists has its own region under the scatter's.$region,$tileandparent(…)are a new kind of value, a region: used as a number it is adt::typeerror, andparent($tile)says the tile has no parent.checkworks out how many parents each placement has and refuses aparent(…)that reaches past the tile at its spot, before any build;check --explainlists the region tree. Regions are rasters on the build's lattice, held with their bounding boxes. Format 0 is untouched; no hash moved. - Format 1 in development, step 3a, coordinates and units: a scatter is a region of its own (its
at=region, the strip of its line, else the whole tile) under the region it is written in, and each thing it places sits in it: a tree in a tile-level scatter has the scatter for its parent and the tile for its grandparent. Rows and columns:xandystart at a frame's north-west corner,xeast along a row andysouth down a column; geometry keeps its own frame and the reader converts at the language's edge (ybecomes rows −y), so a tile written as the mirror of a format 0 one builds the same mesh;north,south-westand the other named edges and corners keep their places. Points are written in parentheses inside quotes,"(0.65sq, 1sq)", each half a length, a%in one a share of the frame's box;point($tile, 50%, 0)andpolar($tile, 40%, 90deg)name the frame; a point without parentheses is an error whose help shows the tuple; a point takes plain names (aletof the tile), never$x $y $d $a $bottom; one off the tile is refused atcheck. Coordinates:x(region, unit),y(…),d(region, %)(0% deepest, 100% at the edge, scaled by the deepest part of each connected piece, a region thinner than a cell one cell deep),d(region, mm)(millimetres in from the edge),a(region, %|deg|rad)(round the deepest point or ridge middle, along a line's strip from its first through point to its last) and the shorthands$x $y(x($tile, sq),y($tile, sq), plain numbers) and$d $a(the thing's own region, fractions);checkrefuses$ain a region with a hole. Each element names what it sets: a body (dirt, water, floors, a cliff) sets all of them at each node, a tree only$bottomand$region. Units:sq,mmandin(printed lengths that do not scale with the system),dmm(a design millimetre, 1/35 of a square, which scales: what every size written today is),layer(the printer's),deg,rad, andpia plain number; a unit follows its number (8dmm,4.5 mm,2 pi rad,(2 * pi) rad) and binds tighter than*and/; a value with a unit is a quoted string;%is a plain fraction. No unit is implied: a bare non-zero number where a length or an angle goes is an error (“write 8dmm or 8mm”), and lengths, angles, plain numbers and regions are checked apart before any build ($bottom + 20%,2mm * 3mm,cos(720)and1/2radare refused). Angle controls, a slope and the printer's overhang takedeg; counts stay plain. Read withDT_FORMAT_PREVIEW=1; format 0 reads and builds as before and no hash moved. - Format 1 in development, step 3a continued, points in a region's frame and the editor: a point written inside a body that acts in a named region (a pin) is read in that region's frame, a
%a share of its bounding box and the origin its north-west corner;point(parent($region), 25%, 75%)andpolar(parent($region), 40%, 90deg)(out from the deepest point of the region's largest piece, a share of its depth) name another frame, and a part's points are worked out at each call site. The decoder runs before the region tree exists, so it records such a point as written andcheckworks it out once the tree is built. A pin's point outside the region its body acts in is adt::pointerror atcheck, pointing at it. The editor and preview read and edit format 1 underDT_FORMAT_PREVIEW=1: a tile opens, builds, shows its errors, and what the sheet and the place tools write carries units ("8dmm","(0.5sq, 1.75sq)"counted from the north-west corner); the typed-value check, the completion of$names, functions and units, the map's markers and a placed thing's handle read the format of the document being edited. The weighting gallery is withheld in format 1 (type the value). Format 0 reads and builds as before; no hash moved. - Format 1 in development, step 3b,
migrate0 to 1 (nothing in the library is converted yet):DT_FORMAT_PREVIEW=1 dharmatiles migrate FILE|FOLDER…carries documents to format 1 in place: the header line first (dharmatiles version="1.0.0+5.gabc1234": the program's build details under the format's own major, until 1.0.0 ships), names gain their$(x,y,bottomand the library's heights;override groundHeight 6isoverride $groundHeight "6dmm"), points become"(Xsq, Ysq)"counted down from the north-west corner (a decimal comes back as itself: the reader works the flip to twelve decimals), a point in a pin of a body at a region or a line becomespoint($tile, …)so its frame cannot move, every length getsdmm(a size, a top, a pin, alet, both ends of a range,(mm)4.5as4.5dmm), angles getdeg(split="34deg", the argument ofsinandcos), weightings keep their extra plain numbers, and counts, shares and densities stay plain; the tide iscos(720deg * ($x - $y))and a tile's own read ofyis(rows - $y). Aparamorlettakes its unit from where it is used (through nested definitions and the parts a tile uses); one used both as a length and as a count, or never used, stops that file, naming the line. Aletnamed for a word of the language is renamed; anoverrideof a plainlet, a point in a part, and ayin a part outside the tide are for a hand. An unstamped tile with format 1 forms is refused where they are (dt::migrate-headerif it only forgot its line,dt::migrate-mixedif it has both); a stamped one at format 1 is left alone, whatever its minor or build part. Migrating a tile takes the parts it uses along (a library part is checked in memory and says so). The hash guard: each tile is built before and after, the library's heights and parts migrated with it, and the meshes' hashes compared; a mesh that moves names its file and writes nothing (--no-guardskips the builds,--checksays what would change and exits 1 if anything would). Migrated as it loads: a program whose current format is 1 (Options::current_format; today 0) migrates an older document in memory as it reads it, builds the result with adt::migratedwarning (the CLI,check, the preview's problems list), writes read from format 0 in the build record (its document hash is the file as written), and leaves the file as it is untilmigrate, or the editor's Update this file; what migrate refuses, loading refuses with the same error. Every library file migrates (109 tiles and test tiles, the heights, the edge defaults, the grass and tree parts, the two printers and the palette), and all 109 tiles build the same mesh, hash for hash, on DungeonBlocks (cargo test --release -p dt-eval --test migrate -- --ignoredbuilds each before and after); the library's heights and edge defaults are read in either format. - Versions: a document of any kind (tile, parts, printer, palette) may start with a header line,
dharmatiles version=0(orversion="0.9.0+120.gf9481c8"); only the major part is the format, none is format 0, and a format newer than the program reads is refused (dt::format-newer). A header out of place, twice or malformed is adt::header…error with help; editing leaves it as written. Nothing writes it yet and no tile changed. The program's version is drawn from git:0.9.0at the tag,0.9.0+120.gf9481c8on main N commits past it,0.9.0+branch.120.gf9481c8on a branch, and.dirty(it was-dirty, after the hash) added for uncommitted changes to the engine's files.dharmatiles --versionadds the tile formats it reads, and the editor has an About box in the view's ⋯ menu.cargo xtask releaserefuses a dirty tree and, unless--skip tests "reason", rebuilds the baseline and the element pictures from the committed tree and refuses if any differs. - Water after the rocks, before the grass: the ten library tiles with water and grass, the shore and stream test tiles and the stack and reeds demos list rocks (and reeds) before the water and grass after it, so the water rings each rock with chop again and the grass still stops at the waterline. The water fills over a rock listed before it to its level, so a low rock may only just show. The water, stack and composing pages and the language guide say so.
- A tree's height is its
top=: written like every top, in mm above zero, withbottomthe ground at the tree's foot.top="bottom + 40"is a 40 mm tree wherever it stands;top="groundHeight + 40"reaches 40 mm above zero, so the tree is shorter on a mound. Each tree draws its own top, so it takes a weighting (bottom + low(30..40, 4)). A tree is 20 to 120 mm over its foot, or the build stops at the top. A tree'ssize=is gone: it is an error whose help gives thetop=, anddharmatiles migraterewritessize=40totop="bottom + 40". A call'stop=is the tree's inside it:oak top="bottom + 40"(the oak'ssizeparameter is gone). Rocks and flowers keepsize=, their width. The eight library and test tiles with trees migrated; no hash moved. - The debug layer: ⌃⌥D (or Debug layer in the view's ⋯ menu) draws how the build made the tile over the editor's view: every grass blade start coloured by its fate (grew, cut short, outside, too short at a line or the tile edge, crowded, under a stone, bare soil, cover), each blade's spine, the grass flow, and the low and high of every band a tile writes as translucent sheets. Off by default; a legend names the marks. It changes nothing built: the same tile with and without it writes the same STL.
- Test tiles of their own: the tiles the tests build live in
library/tests/<group>/(lib:tests/…), apart from the library, and show in the tile browser's third source, Tests; the library's folded Test tiles group is gone. The tests no longer build library tiles (the release sweeps still build every one), so library tiles can be added or changed without touching a test. Ten library tiles the tests leaned on are kept as test copies, and a newshapesgroup holds edge cases no library would ship: an island inside a closed line, a sawtooth shore on a 3×1, a 1×2 split corner to corner, a sliver of water in one corner. The full test run is back under five minutes: weighted ranges and the build cache are tested on drafts, three old cliff forms are built where nine were, and two walls with grass where eight were. - Denser grass: strands start 1.9 mm apart (they were 2.65 mm), so less soil shows through: on
1x1-grassthe grass covers about 93% of the tile seen from above (it was about 84%), at about 20% more triangles. 32 library tiles move. - Dirt beds no stones: the
stonescontrol is gone fromdirt; rocks come only from arockor ascatterof them (scatter perSquare=1 { rock size="4..8" }). Default dirt keeps its clods and pebbles, andclods=nonealone is plain dirt. A tile that still writesstones=is told what to write instead, anddharmatiles migratedropsstones=none. The test tile2x2-dirt-stonesis gone. 42 library tiles move. - Grass reaches a region's edge: wherever ground within 4 mm of a grass region's edge (a line, another region, the waterline) has no blade over it, a blade is started there, upstream so its full part covers the ground, or grown back against the edge. A meadow beside a path no longer leaves a bare strip where the grass runs away from the line. Tiles where grass meets a line or water move.
- Grass sits on the soil: blades seat 0.25 mm into the dirt's texture (it was 1.5 mm), so clods no longer rise through the grass and an edge of single blades reads as grass. The mean grass top rises about 0.4 mm and stays in the grass band. 32 library tiles move.
- Hover a place in the source: pointing at the source lines of a
line,regionorpointdeclaration draws it in the view in the accent (a ribbon, a flat fill, a dot), as pointing at a stack entry lights that entry; the selection does not change, and moving off clears it. The map now carries the tile's points. - The size picker in New tile: the New tile dialog's Size field is the property sheet's size picker (type a size or point at the grid), one shared component, where it was a four-item dropdown; any size the grid offers can be made.
- A place the tile names wins over an edge word:
at=westwhere the tile declares a regionwestis that region, not the west edge (it was refused as an edge with no width since the line width landed). The define demo and its picture build again. - No clearings by default:
grassand the library'slawndraw no bare clearings unlessclearings(1.5 per square is a natural meadow) orbareasks for them, so a grass region is grassed over to its lines. Every library tile with default grass moves. - Finer regions on the map: the editor draws a region on the draft build's lattice (48 nodes a square, where it was 16), so its edge steps under a millimetre and meets its lines instead of stopping a cell or two short of them.
- A point drawn from a range: a line's
throughpoint and a region'sfillpoint may hold ranges, weighted or not (through "0..0.1, 0.3..0.5"); each is drawn once from the tile seed, keyed by the line or region and its place in the list, and a new--seeddraws it again. No library tile moves. New demoline-drawn. - A scatter of a definition:
scatter count=3 { oak size=30 }builds whenoakis a definition whose stack is one rock, flower or tree (or another such definition); the child's properties set its params andweight=its share. The nesting leftovers (at=,side=on a scattered thing, a thing inside a thing) the decoder already refuses are now errors (dt::place,dt::nesting) where they weredt::not-yet. No library tile moves. - A line's width:
line trail width=10 { … }makes a strip (half the width either side, wobble included).dirt,grassandcliffat=the line fill the strip; a scatter at the line reaches half the width unless it writesreach; a surface along a line with no width, or along a tile edge, isdt::type. No library tile moves. - A wall at a drawn line:
wall at=lane side=left|right|centrefollows the line, wobble included, in straight runs with right-angle corners as on an edge path and overlapped bends at any other turn (up to 150 degrees); the free ends are textured, a closed line makes a ring, and a line that meets a tile edge slantwise is cut at the edge. New library tilewalls/2x2-wall-curve. - Water is built where it is listed:
dt::fluid-order(nothing written after water) is gone. Water fills over the ground listed above it; what is listed after it stands in it or on its shore (grass keeps off the wet ground, rocks stand in the pool) and reads it, and adirtorgroundlisted after it lies over it. A rock or reed listed above the water still sends chop; listed after, it stands in the water without rings. The ten water+grass library tiles,test/2x2-shore,test/1x1-bands-streamand the stack, reeds and region pictures list water right after the ground. - Stack order is build order: every entry is built in the order the stack lists it, standing on the terrain laid so far (surfaces and the lift are no longer built first). A
dirtlisted after rocks, trees, flowers or a mixed scatter lies on the rocks' tops, banks against trunks and covers flowers; grass and water grow round or over what is listed above them. An order that cannot be built (a tree above its ground, water above a dirt) is refused withdt::orderinstead of reordered. A scatter written inside a dirt is listed right after it.ground/2x2-grass-treelists its grass after the tree; the thirteen cliffs and ten water-and-grass tiles move. - Dirt banks against a rise: the edge rule keeps dirt back only from a drop (the high side of a step deeper than 1 mm, and 1.5 mm in from it), not from a rise, so dirt runs up to the foot of a stone, a cliff block or a loose rock instead of leaving a moat round it; it cannot overhang there. One rule for every dirt. The ten library cliffs move (their baseline rows); no other tile does.
- Dirt follows a loose rock: a rock, or a scatter of rocks, lays its top into the surface under whatever is laid after it, so a
dirtlisted after the rocks lies on their tops where they are flatter than itsmaxSlope(35°), under the same edge rules as on a cliff's stones; a dirt listed before the rocks is laid first and the rocks bed into it, as before. A scatter that also holds trees or flowers stands on the lifted ground, so dirt does not lie on its rocks; trees and flowers never lay a top. No library tile moves. - One scatter, mixed things:
scatter perSquare=3 { rock size="4..8" weight=3; flower; tree size="18..24" weight=1 }builds. Each item picks its child byweight=; trees are placed first, then rocks, then flowers, onegapbetween every two things; a scatter of one kind builds as before. New library tile ground/2x2-glade. - Trees in a scatter, and a scatter at a line:
scatter count=3 { tree size=… }builds (crowns kept clear of one another by their size andgap, each tree from its own seed; an error says how many fit when they do not all fit), and a scatterat=a drawn line, an edge or an edge path spreads rocks, flowers or trees withinreachmm either side of it (default 5;perSquarecounts the line's length). A single thing at a line is refused withdt::type: a line has no one place on it. New library tileground/2x1-tree-row. - The weighting gallery: editing a range in the editor (a rock's
size, a scatter'scount) shows the weighting functions as curve thumbnails (flat, low, high, bell, peak, ends, steps, list, mix); picking one rewrites the source (1..6becomeslow(1..6, 4)) and a slider for each number it takes changes the source, the curve and the 3D draft live. The curves come from the program (GET /api/weightings), and the value check now names a weighting's number past its limits (dt::range) as it is typed. - Dirt behaves like dirt: every dirt lies in its region on whatever surface is under it (ground, a floor, a cliff's stones), measures its band from that uneven surface, and stays only where the surface is flatter than the new
maxSlopecontrol (5 to 85 degrees, 35 by default; out of range isdt::range), sliding off anything steeper; it is not laid within 1.5 mm of a lip or slit in the surface under it, so it never hangs over an edge or bridges a gap between stones, and takes no bedded stone where it is under 2 mm thick. The hidden cliff-film mode is gone (the switch on finding stones, the core-edge and face rules, the printer-skin floor, the faded outline); the nine library cliffs that writedirt top="bottom + [0.6 .. 1.2]" at=cragmove, every other tile is unchanged. - One vocabulary for things: a rock, tree or flower is placed with
at=(a point, or a region it stands in) and sized bysize=, which takes a number, a range or any weighting; a tree'sheightis now itssize(same draw, every tree hash unchanged), and theflowerscovering is aflowerthing with its own controls (size, the width across the petals, twice the oldradius;petals,centre,stem,dome,petal) sown byscatter perSquare=4 { flower }, a scatter that holds flowers or rocks.flowersisdt::unknown-elementandtree height=isdt::unknown-control, each naming the new form, anddharmatiles migraterewrites both. The flower tile's hash moved (ground/1x1-grass-flowers: the same plants, scattered by the scatter's own seed keys); no other tile moved. - No crash switch in the program: the
DT_TEST_PANICvariable that madedharmatilespanic for the exit-code tests is compiled only into test builds (thetest-panicfeature ofdt-eval, enabled by the dharmatiles crate's dev-dependencies); a released or ordinary build ignores it. - The editor marks every control point: a selected line or region shows each
throughpoint,fillpoint andwithin … of=centre as a dot labelled with its source as written (the coordinates of a literal, the name of a named point), where only named points showed before; a selected line is a labelled ribbon, as a region is; and a region's property sheet has an add clause menu (within,except,boundedBy) and a × on each clause, through new edit calls (place: inandremove-children). New token--point. - A cliff's
rockword means its own weights:rock columns,blocksandslabsused to be 100% of one kind and ignored the weights the schema gives them (70, 15, 5, 4, 6 for columns; 15, 70, 7, 6, 2 for blocks; 5, 20, 70, 5, 0 for slabs); now the word sets those weights, and a number after it (rock mixed slabs=30) replaces one of them (it was never read before). Numbers with no word adjustmixed.rock mixedis unchanged; the cliff tiles that write another word build differently. - The OpenLOCK socket is settled against Printable Scenery's official templates (8.6, clip 5.4): the base is 7.0 mm under the tile (it was 8), the pocket's roof is 6.1 mm over its whole 18 mm instead of 5.6 with a 14 mm part at 5.9, the T runs to 6 mm where the pocket begins (the same cut as before), and a pocket near a corner has 45° ends that leave a 3 mm strut to the next side's pocket, so a 1×1's pockets no longer run together. The T profile, the slot's 1.4 to 5.6 mm height and the pocket's 6.0 to 10.7 mm depth were already right, and the official clip fits with 0.01 mm² of its snap bulge in the wall. Credit: OpenLOCK is by Printable Scenery, CC BY-NC 4.0, with a free commercial licence on request; the dimensions were measured from the templates, nothing is copied. Every OpenLOCK tile's hash changes; DungeonBlocks is unchanged.
- Licence: everything in the repository, the code and the tile library, is under the Peer Production License (
LICENSE), in place of MIT OR Apache-2.0: non-commercial use with credit and the same licence, and commercial use only by worker-owned co-operatives. Manifold keeps its own Apache-2.0 and MIT licences. buriedis a percent and nothing else: the build no longer reads a bare number as a percent (buried=1was 100%,buried=40was 40%). The schema limits it to 0% to 100%; a bare number isdt::percentwith help to write one, and a value outside the range is refused where it is read. Every library tile writes percents, so no build hash moves.- One place word,
at=: it takes any place, a point, a line (a name, an edge or an edge path) or a region, andat="foot(cliff)", the band at that kind's foot (reach=still sets how far out).in=,along=andagainst=are gone: each is adt::unknown-controlnamingat=, anddharmatiles migraterewrites old tiles (an entry that wrote two places keeps them for you to choose). Each element takes the kinds that mean something to it and refuses the others withdt::typeand a help line: a scatter given a point asks for a region round it, a wall given a point asks for a line.side=stays, for a line. Every build hash is unchanged. - All nine weighting functions, on every control that draws:
ends(a valley),steps(a histogram drawn by hand), lists (size="[2, 5:3, 8.5]") andmixjoinflat,low,high,bellandpeak, with caps of 32 bins, 64 list values and 16 mix parts; a value listed twice isdt::weightingand a number outside its limitsdt::range. A wall's course heights and bay lengths, a blade's length and height, how deep a rock is buried, a shattered patch's width, a tree's heights and a point's range inat=take a weighting now, so nothing says "does not take a weighting yet" any more; a flat range draws the same bits as before and every build hash is unchanged.dharmatiles elementsand its JSON list every function with its default and limits. - A control value reads like a height:
[1 .. 6]goes anywhere a number does, andsize="[1 .. 2] + [3 .. 4]"or"1..2 + 3..4"rolls each range on its own (it neededflat(1..2) + flat(3..4)). - Every whole number is as likely as any other in a count: a range on
count,perSquare(as the number it makes), reeds'clumpsandstemsis cut into one equal bin per whole number,lo + floor((hi - lo + 1) t), one rule for flat and weighted ranges. A scatter's count wasround(uniform(lo, hi)), which gave the two end values half the weight of the middle ones. Tiles with a scatter count change their hashes. - Two ranges in one control are two rolls:
size="flat(1..2) + flat(3..4)"adds two dice and lands anywhere in 4..6, most often near 5;s - swithlet s "[1 .. 2]"is two independent rolls. Each range draws from its value's key and its place in it, a number or name shifts and scales, a negative factor mirrors, and the draw moves the random stream by one, as a lone range does. It was adt::valuerefusal (a control draws one range). A band (top=, a pin) still reads a range as its interval; a weighted range there is stilldt::weighting. Every build hash is unchanged. - Ranges can be weighted:
low,high,bellandpeakon sizes, counts, densities, reed heights and stem counts, tree widths and a wall's edge rounding (size="low(1..6, 11)"); aletmay hold one, and every range is its own draw.mostly=is gone (mostly=smallislow(…, 11);dharmatiles migraterewrites it), and a plain range is now flat on rocks, stones, boulders and pebbles too (it was skewed by u1.4;low(…, 3)is close to the old look). Tiles that usedmostly=or a rock-family size change; every other library tile builds identically. - Control names are camelCase (
perSquare,bumpSize,clumpSize,minRadius,stoneSize), like constants, so an expression can name one. An old hyphenated name is anunknown-controlerror that gives the new one;dharmatiles migraterewrites old tiles. - A region's
boundedByclause is camelCase too (it wasbounded-by). The old spelling is adt::unknown-nodeerror naming the new one, anddharmatiles migraterewrites old tiles. - A selected region shows what it is made from, and a sheet that matches its source. The places a region refers to (the
of=targets of itswithinclauses, the regions itexcepts, the lines it isbounded-by) are drawn at level zero with it, in periwinkle (--ref) and each labelled with its name: an edge or line as a depth-tested ribbon (readable from above and from the side), a point as a dot, another region as an outline with a faint fill. The map payload carries each region's clauses with their spans, its references with their geometry, and the tile's places. The sheet of a region made ofwithinandexceptclauses (such ascrag { within "[8 .. 14]" of=westEdge }) no longer showsbounded-byandfill: each clause is a group (within 8–14 mm of westEdge) whose distance or range you type and whose place you choose among the tile's edges, lines, regions and points, with a line saying how the clauses combine; anexcepttoggles regions. A newargedit changes a node's positional argument through the edit route, so undo works as for other sheet edits. A region withbounded-byandfillkeeps its sheet. Also fixed: typing a value in the property sheet threw Illegal invocation (the debounce calledsetTimeoutas a method). - A selected region is the selected item. It is drawn opaque, in the accent, flat at level zero (where the base meets the tile body) as a mesh in the 3D scene, and the rest of the tile fades deeply (the same fade as a selection, stronger) so the region reads through it from every angle; its name and fill points sit at zero with it. It no longer drapes over the ground as tilted sheets slicing through cliff faces. With the fade off, or while a build runs, it is drawn over the tile instead. While a tool is held every region is drawn faint at zero, the tile as it was. A selected line is drawn as before.
- Errors standard, the follow-ups: a piece an element could not make (a chip, a corner cutter, a support cone, a tree plug, a dirt film or a body's band that came out degenerate) is counted by element:
build.jsongets aleft_outobject (only when something was left out), and the build's summary line says left out: cliff 2 only when non-zero. Exit codes follow Rust: 101 for a bug (a panic, including one caught inbuild --all), 1 refused or failed, 3 failed the gate, worst wins; a panic prints this is a bug in dharmatiles with its message and place. No longer quiet: a palette the preview cannot read (shown in the error panel as a bug, and the export refuses), a Bambu template with no printable area (the 3MF export is refused naming the template, not placed on a 256 mm bed), noHOMEorDT_HOME(an error, not a folder nameddharmatilesin the current one), a library folder that cannot be resolved when choosing where to export (an error, not another folder), and a paint with fewer materials than faces (a stated bug, not earth). Output and every hash are unchanged. - The editor calls what a tile designer writes its source: the Source panel, Show and Hide source, Find in source, Delete from the source. Saved layouts from before keep their sizes and hidden panes.
- Errors standard carried through the code: the preview server catches a panic in a route and answers a 500 naming it, logs every 5xx to stderr, and answers an unreadable request with a 400; a panic in a build reports its own message to the page (a bug flag, not a mistake in the tile), including one outside the build itself, and the worker goes on.
build --allreports every failing tile by name, survives a panic in one, and refuses an empty or unreadable library instead of building nothing. Said, not defaulted: a file the editor cannot read (a save used to see an empty file and call it a conflict), an unreadabletarget.jsonor project file, a remembered target that cannot be written, a library folder that cannot be listed, the MCP server's missing preview image and bad requests. In the page one helper (js/problems.js,showError) puts every unexpected failure in the error panel with what was being done, its words and details to copy; script errors and unhandled rejections land there too, and a lost connection stays the chip's. New tests cover the server's data-versus-status split, a panic in a build and in a route, the sweep and the page helper. Output and every hash are unchanged. - The base line is selectable in the preview: putting the cursor in a stack's
baseline, or picking the connector in the view, now selects it: the property sheet names it (DungeonBlocks or OpenLOCK base), says the build target chooses which, and offers Hide and Delete. It used to say "Nothing selected". A tile with nobaseline no longer lists a base. - Scroll shadows in the editor: every scrolling panel around the 3D view (the tile list, the history menu, the record, export and target cards, the code text, the property sheet, the completion and value lists, the errors and the place list) shows a soft shadow at an edge that has more content beyond it, and loses it when scrolled to that edge. One helper (
js/scroll-shadows.js) sets the edge classes andtheme.cssdraws them with the--scroll-shadowtoken, light and dark. - The film's outline is rounded over four nodes, not two: single-cell teeth in the outline of the plateau's film fall from 7 to none and its length by a tenth, for 3 per cent less film (small patches under a millimetre across go). The fine striping on a film's outer edge is not the outline's jaggedness but the lattice: an edge that runs at an angle to the lattice is a staircase of 0.15 mm steps on a 0.6 mm wall (skin), and the same share of its outline cells (0.56 corners a cell) is a step however far it is rounded; it is below the printer's line and shows in the preview as stripes. The nine library cliffs with a film move in the baseline.
- Guards: the build stops, instead of printing "skipped", if the carried Manifold patch neither applies nor is already in the source (a drifted patch would bring the level-set fault back); an ignored stress test runs many thin level sets. The value helper in the preview refuses a syntax error (
4 +does not read as a number) and an annotation that is not a unit, as the reader does, and asks the program once typing pauses (200 ms) instead of on every key. The cliff's plan memo keys on the frame itself (Frameis hashable) and a test pins that the same inputs give the kept plan and that the seed, the frame, its resolution and the band each give a new one. - Settings are typed to the end: a tree holds its sizes as
Spans (a word where a number belongs is refused when the tile is read, and cannot reach the build as NaN); a range is drawn and a number never draws, as before. The tree's branch knobs are named constants the schema test checks;leavesis a plain word (on,clumps-only,bare) and no longer sets two numbers read as on and off; the wall'sheightwords and the cliff'sstone-sizewords stand for the number they carry in the schema (fullnow carries the 33.1 mm wall top), read throughSettings::pick. The by-hand reads of a control's value,Settings::value,lengthandrange_of, are gone. Documents and every hash are unchanged. - The film's grain stands over its skin, and its edge meets the stone at the skin: holding the grain a skin over the stone's top flattened the film (the pits had no room, so it read as a smooth slab with a wall round it). The film's face now stands the grain's depth (0.6 mm at the 35 mm square) over its band, so the pits reach down to the skin and no further, and both that lift and the band's width fade in over 2.5 mm from the film's outline: the edge is a step of the skin (0.6 mm) and the face climbs from it. Measured over the flat-facing film at every vertex the thinnest is still 0.6 mm; the middle eight tenths spread 0.4 to 0.55 mm. A film of the library's cliffs changes; nothing else does.
- The film keeps its skin over the stone: the grain was held off the core under the stones, half a millimetre below their tops, so its pits could take a film of 0.6 mm down to 0.2 mm or less over the stone (median 0.5 mm, under the band's low). The grain of a film is now held a skin (3 layers, 0.6 mm) over the stone's top: measured over the flat-facing film at every vertex, the thinnest is 0.6 mm and the median 0.8 to 1.05 mm, with the grain still there. A film of the library's cliffs changes; nothing else does.
- The cliff's pile engine is its own module: planning the pile and dressing its stones (
cliff/pile.rs) reads a band, a seed and a foot and knows no scene or stack entry; the body adapter (cliff/mod.rs) lays the core, the film's tops and the stones. Its grids are the kit'sFielddirectly (the cliff's own alias is gone). Nothing a cliff builds changes: every cliff tile's triangles are identical. - Floors are laid before the lift: flagstones and planks stand on the land the surfaces laid and need no lifted ground, so the plan puts them after the surfaces and before the lift (a new
Write::Laid), where the cliff's stones already are, and the lift sees them. Every floor tile's geometry is unchanged (the union and export hashes are identical); only the build order, and so the plan hash and the order of the stages, moved. - The preview's value helper asks the program: the check under a typed value (limits, percent, a range where one number is taken, a whole count) is the reader's own, answered by the server from
dt_doc::decode::check_text, so the page re-implements nothing and its messages are the program's (tree heightis 20 mm to 120 mm, not 150 mm). The page keeps only what it needs to draw: the words to offer and the one-number or range buttons. The dead level completion (no control takes a named level any more) is gone from the page. - Settings are typed once: an element reads its controls by name through one reader (
Settings: a number, aSpanfor a number or a range, counts, a word, a length kept as written) instead of looping over the controls matching names and value shapes; ranges and the tree's branching angle are typed values (Span,Degrees). Documents and every hash are unchanged.Axis::Levelis gone from the schema (no control used it; a line'swobblestill names alet, now by an explicit flag, and its error says "a length"). - The rare crash in the wall and floor builds is fixed: Manifold's level set read one element before a buffer when its hash table filled before any vertex had moved, and sized the table from what it found there; the table could come out empty and the next insert faulted (an intermittent SIGSEGV, about one build in thirteen of the eight wall and floor tiles at once). Found with a sanitised build; the build now carries a one-guard patch to Manifold (
third_party/manifold-csg-sys), and the golden hashes are unchanged. - The cliff's film has a smoother outline: a gap too narrow for the lattice between two places a film may not lie is closed, and the outline of every patch is rounded over a few cells, so it no longer follows the lattice as a staircase or a one-cell comb (measured on the library's cliffs: single-cell teeth in the outline fall by about three quarters, its length by about an eighth). The film's insets (1.5 mm from a lip, 1.0 mm lip depth) are sizes at the 35 mm square and scale with the system; the 35° is an angle and does not. Cliff tiles on DungeonBlocks change only in the film's outline.
- The OpenLOCK lotus keeps clear of the pockets: the logo is as large as fits at the middle without touching a pocket (22 mm at most) and is left out where that is under 6 mm: a 1×1 and a 2×1 have none now (the pockets leave only a few millimetres at the middle, and the logo used to run across them); 2×2, 3×3 and 4×2 keep their 22 mm lotus where it was.
- Small tidy-ups: the cliff's pile is planned once per build (it was planned for the foot and again for the build); the pile's ghost
FOOTconstant and itsf64::MAXdistance are gone; the cliff no longer silences the lints that hid loop and name smells; onestamp_heightstakes how the ground under it is painted (Under::BeddingorUnder::Earth); the element table's entries take..Element::BASEinstead of repeating eight default fields; a wall'sMason::thicknessisacross(the same number is a wall's thickness standing and a slab's depth laid);Frame::node_rangeserves the film and the fitter; a draft's cliff stones may stand a draft's carving grid (0.3 mm) over the band, as a draft carves coarser (a migrated escarpment failed to draft). - New guards: goldens for the stone floor beside a wall and for the cove's water; tests for the minimum wall between an OpenLOCK pocket and the tile's faces, the logo clear of every pocket on a 1×1, 2×1, 2×2, 3×3 and 4×2, the core inside its rims, film outlines and insets, a side's grain by the spread of its depths, a film's thickness against its band, no repeated stones on the spire, and that each migrated cliff form builds (on the quick setting) as well as checks.
- The grain's set-in reach scales with the system: the reach (6 mm) and smoothing (3 mm) it looks for the grain's highest point over are sizes at the 35 mm square like the rest, so an OpenLOCK tile is its DungeonBlocks tile scaled (they were true mm, a workaround from before the cliff was rebuilt). DungeonBlocks is unchanged; every OpenLOCK library tile still passes the gate (tree tiles aside).
cargo xtask sheettakes--system ol. - OpenLOCK sockets sit on the grid lines: along a side n squares long a socket stands at each of the n − 1 interior grid lines, or at the middle when n is 1, instead of at the centre of every perimeter square. This is where OpenSCAD-OpenLock's parts E, R, S, SA and SB put them (checked in its code and by slicing its STLs): a 2×2 has one per side, a 2×1 one on each long side and one on each short, a 4×2 three along the long sides. Clip pockets no longer crowd each other at the corners of larger tiles. OpenLOCK tiles of 2 squares or more change; DungeonBlocks and 1×1 tiles do not.
- The OpenLOCK socket is corrected: the two retention slots beside the T (4.7 mm wide, at 8.35 mm either side, 9 mm deep, closed below) were a misreading of the reference and are gone. Behind each T slot is now one pocket centred on it, 18 mm along the edge and 4.7 mm deep (6.0 to 10.7 mm in from the face), open through the bottom of the base up to the slot’s top (5.6 mm), with its middle 14 mm reaching 0.3 mm higher, so its roof bridges. The T profile and its 7 mm depth are unchanged; no printed support is needed (the overhang gate reads 0.00 mm²). A cut may not reach a pocket.
- The cliff's film is read from the finished stones: rays are dropped on the stones as they stand, not on the plan they were made from, so the film lies only where a stone's top is, under 35°, 1.5 mm or more from any lip, face or slit. The core stands under the stones as they are, and its edge is drawn back from a face in one place. The preview paints earth under a cliff as earth, not as the flat bedding brown of a floor, so the foot of a cliff and its film read as grained dirt.
- Every shipped cliff checks clean: the library's cliffs hold the dirt at the standard edge height where they meet the tile's edge (
pin top=dirtEdgeHeight at=edges), so the tile's side under the stones carries the dirt's grain.dt::edgeno longer fires for a tile pin that holds the library's height, and a default pin the tile covers with its own is not reported as shadowed. The mound, spire, massif and needles are drawn by hand in the library as lumps with wide, overlapping bands (rough masses again, not concentric terraces), so a stone over two of them has room; a few seeds are chosen so each tile passes the gate (the mesh kernel's occasional hairline pinch fails a tile at some seeds, as before). migratecarries an old cliff form over as one region and one pin, no longer owning a catalogue of rings.- A pieces body is a flag in the element schema (
pieces), not a list of names in the solver, and takes aslopeto ease between its pins. The rock weights (rock columns=…) are no longer marked planned: they are live. - A stone the band holds down no longer repeats: it adds no height at its site, so the stack could draw the same one there again and again (dozens of coincident solids that a union never finished; reproduced on the previous commit, a spire at one seed). The cliff keeps only the first of stones that coincide, and a rock thinner than the seat's bevel is no longer seated (it panicked).
- Cliff internals and tests: one fitter for cliff stones and floors (
Pieces::plane_or_flat), the core's constants and phases incore.rs, shared constants (Z_UP, crack sizes), and new tests (tests/cliffs.rs) for stone tops inside the band, film only on standing stones, grain on the tile's outer sides and the migration of every old cliff form. - The cliff is a pieces body:
cliff top=… at=REGIONwith pins, like a floor. Its region is where the stones stand and its band, solved with its pins (cliffs step, nothing eases), is how high their tops are: one height is a plane every stone top touches, a wide band a jagged crest, nested pinned discs a mound or a spire. A stone is made to fit the band as it is stacked (the nearest top plane inside the band over every node it stands on; a stone stays where the band holds its height), never trimmed after, so there is no hollow behind or under one; a stone over the band is a bug (dt::band), and the grain is held under the band's high.form=,height,depth,along=,top dirt|bare, the old plannedbank-*,scree,bouldersandgritcontrols and the dirt'sbankare gone:dharmatiles migratewrites the region (awithin "[10 .. 20]"strip whose depth is drawn along the edge, or nested discs; needles are three sets of nested discs, the rings of every needle laid outer first), the band, the pins, the bank as pins on the dirt and the film.ledges(default 1) steps the outer strip of most masses down in shelves, below the band. - Dirt on stone is a film: a dirt laid on a cliff's tops (
dirt top="bottom + [0.6 .. 1.2]" at=crag) follows the stones' own tops, on rock under 35° and clear of every lip, face and of the core's edge. The cliff's core is no longer a carved, grained mesh of millions of triangles but a rock layer of the terrain, set in from the faces and kept inside and clear of the finished stones; with the stones' fits this takes a cliff tile from 9-59 s to 4-26 s (the library's total from 324 s to 202 s, its repairs a fifth fewer). A range inwithin(within "[10 .. 20]" of=northEdge) draws a depth that wanders along the place in masses of 6 to 15 mm, the standard end section at both ends. - Floors are two pieces bodies,
flagstonesandplanks:flooris gone, anddharmatiles migratewrites it asflagstones(itslevelgoes; a level other thanfloorHeightbecomestop=andpin top=… at=edges). Both take a band like dirt and a pin at the edges, and step instead of easing. Each slab or board is made to fit the band as it is made: its height and tilt come from a heaved surface inside the band (one height is a flat floor, a wide band a heaved one), then are reduced until its top plane is inside the band over every node it stands on, and the finished piece is checked against the band, a miss being a bug the build refuses (dt::band). The slabs' own random settle and tilt are gone (a single height is flat); the grain is set in so its highest points reach the band's top and no higher. A floor takes its own defaults wherever it is laid, stands on the land under it (or on the base with no dirt: a floor no longer needs a dirt written before it), and meets the tile edge flush atfloorEdgeHeightwith no edge-round (except weathered flagstones,texture=worn, which keep a worn round), its faces at the plane keeping the material's grain: slabs and boards stand 0.05 to 0.1 mm past the plane and are cut there, so the top edge is square and the chipped relief lies at or just behind the plane; a drystone flag's upper flank is drawn to the plane; a board's end grain carries the wood's pattern set back from it.planksis new: boards across the tile in mixed lengths or half-square lengths, with grain and checks, in the wood material. Dirt laid on a floor does not follow it as a film yet. The library gainsfloors/1x1-floor-planksand the tests a heaved-flagstones and a planks tile. - The base is its own line, and has the terrain's corners: the connector is built only when the stack has a
baseline (first, ordt::base-order); a tile with no base line has no base, no connector on either system, and is printed flat on the bed from zero up (the library'stest/1x1-no-basetile shows it). The base's four vertical corners take the same round as the terrain's (0.5 mm at the 35 mm square, 0.36 mm on OpenLOCK), so the terrain sits flush on the base where it had a small upward ledge; both connectors are built from the tile's footprint at zero, and the build keeps, as data, the parts of each connector a cut may not touch. The gate's see-through-hole count treats the rounded corners as outside the tile, as it must now that the base is round there too. - Terrain clean-up before pieces: the tile's corner round scales with the system like every size (0.5 mm at the 35 mm square, 0.36 mm on OpenLOCK; DungeonBlocks is unchanged), and so does the coarse lattice the dirt's hills are smoothed on. The terrain's lift takes its layers (each with where it exists, its relief and the land as it stood) instead of recomputing them, the stack mesher takes a layer's presence as a flag instead of reading it from a gap, the flat-faced path is gone (flat faces are a flat
Sides), and the edge-round and the plan's corner round are one profile. A dirt whose smoothing does not settle notesrelax_unconvergedin the build record. New tests cover the smoother, the grain never rising above the shape, the edge height as a ceiling, the set-in's reach and the corner as one watertight surface. - Rocks and reeds on the land: the kit has a
Landview over the laid terrain (grain included):top,seatandthings_at. Rocks are seated byLand::seat, and each build notes how far any foot hovers over the land (seat_gap_max,seat_gap_stones). Reeds root by a height window on the land (1.1 mm under to 0.2 mm over the calm level) and no longer read the water; they are built before it. The water's ripples come fromthings_atits calm level, the real sections of the rocks and reeds that reach its surface, so reeds now ring the water like rocks and a thing under the surface makes no ring. - The heights language, read and solved by
check: a tile can write how high each body is.dirt,water,cliffandfloortaketop=(a height or a range such as"[groundHeight .. groundHeight + 1]", orbottom + …for the surface under it), andpin top=… at=…lines in their block hold the top to a height at a place;slope 30sets how steeply dirt lies.checkworks the bands out (no meshes) and refuses what cannot be solved (dt::empty,dt::thin) and notes what looks wrong (dt::steep,dt::shadowed, anddt::edgewhere a tile's own pin moves a body off the standard edge height).buildbuilds a dirt's and a water's bands and says which lines it does not build yet (a cliff's or a thing's top, a thing at a line or region). - Named heights,
letandoverride: the library's heights (groundHeight,dirtEdgeHeight,waterBedHeight,waterSurfaceHeight,waterEdgeHeight,floorHeight,wallHeightand the rest) areletconstants inlibrary/parts/heights.dtile; a tile adds its own and replaces a library one withoverride. Names are camelCase and declared once, of any kind (dt::name); heights are checked for measure (dt::type, sogroundHeight + xis refused). Expressions take ranges in brackets[a .. b]andsin cos abs min max clamp smooth, computed in the program so every platform gives the same bits. - Defaults with provenance: the tops and pins every body starts with are a
defaultsblock inlibrary/parts/edges.dtile;check --explainlists the ones applied and where they came from, each override, and each pin's share of its place. - Places by name: nine built-in points (
northWestCorner…center…southEastCorner), the four edge lines andedges, andtile;point NAME "(x, y)"; closed lines (closed=#true); regions withwithin MM of=PLACEandexcept; and one place property,at=, that takes a name or"(x, y)"(a body, grass or scatter takes a region, a pin or a thing any place). Points may be written"(x, y)";"x,y"still reads. - Stack order checked: in a tile that uses the new words,
basemust be the first line (dt::base-order) and nothing may be written afterwater(dt::fluid-order). - The selection is outlined: what you select in the editor's 3D view has an accent-coloured outline round its whole shape, drawn through whatever stands in front of it, so a rock behind a tree still shows where it is. It follows the view as you orbit.
- The build target: one build is one target, the base system and a printer profile.
--printer NAMEsits beside--systemonbuild,watchandpreview; a profile is a file inlibrary/printers/(the library now hasdefaultandfine) or in aprinters/folder beside your tiles. Output goes toout/<system>/, orout/<system>-<printer>/for a printer that is not the default, and the build record, the STL header and the 3MF name the target. The default target builds byte for byte what it did. - A chip for the build target in the editor: the title bar shows the base system and the printer; click it to change either. Every built tile builds again for the new target, the gate uses the chosen printer's angles, and the choice is remembered in your home folder. The Export card's system switch is gone: Export builds for the chip's target.
- No
--system both: it is removed. Build once for each system. - Water is a layer of the terrain: the water and the ground are one closed surface, cut exactly where the water's top meets the ground, so a shore is a clean line instead of a stepped one and the water skin is gone. Where water meets a tile's side, the side shows the water's whole depth in water colour (before, a line of water 0.3 mm deep showed over the earth). Water tiles have fewer triangles and build faster, with fewer repairs; the terrain's corners are rounded to float32 once, so the ground alone survives the STL reload as it was built.
- Dirt and water are built from their bands: a tile's
top=andpinlines now build.dirtdraws broad hills in its band (the smoothest surface the band allows, with hills spread over as much of the band as there is room for),waterdraws its waves inside its band, scaled to fit it, and both are laid on the terrain as layers. A bank is a wide band you draw between the bed and the land, no longer inferred. The grain of a dirt (clods, grit, pebbles) fades out where water covers it. A cliff's or a thing'stop=, and a thing at a line or region, are still checked but not built. groundand the old surface forms are gone: thegroundelement,level=andbumpson dirt and water, the bank rule between areas painted at different levels, and theedgesblock oflibrary/parts/edges.dtile(itsdefaultsare the edge contract now).dharmatiles migrate FILE…carries a tile written in them to the new words in place: levels and bumps become atop, the bed under water becomes pins, and the stack gainsbase.- The whole library is written in the heights language: every tile starts with
base; pools, channels and coves are dirt pinned down to the bed, with a strip a bank's width (7 mm) round the shore as the bank's wide band, and water written last. Looks stay close to before; water is drawn inside its band, so the shore moves with the waves. - The
levelsblock is gone: named heights are onlyletandoverride. a line'swobblereads a tile'slets (level=groundHeight,level="groundHeight - 1"),library/parts/levels.dtileand its compiled-in copy are deleted, and the editor offers the library's and the tile's heights as completions. - One edge height, and one solve: the height a tile meets its edge at is read from the solved pins, with no setter and no fallback, and water's calm level is the library's
waterSurfaceHeight. A body is matched to its stack entry by index, with its role (land or fluid) from what its element writes, not by name.checkandbuildshare one solve on the build's own lattice, so they cannot disagree. - Clean-up of the terrain code: the stack mesher refuses more than 255 layers instead of saturating; the cliff's relief cutters and seats use the stack lift with one layer (the same mesh, byte for byte) and the separate adaptive lift is gone; the ground's words become terrain and land in the code (
Kind::Terrain,Scene::land,KitError::Lift); one FNV helper serves the evaluator. - Pins reach out from where they win: a pin covered all over by a later pin no longer pulls the surface beside it toward its height.
- Banks and water look as before again: the library's water band is
[waterSurfaceHeight - 1.9 .. waterSurfaceHeight + 3], wide enough that waves, rock ripples and the splash round a rock keep their old height instead of being scaled down or going flat. A dirt's smoothest surface in its band is now the one of least bending (a thin plate, not a membrane), so a bank leaves the land and the bed with no crease; the hills grow away from a pin over a smoothed distance, so there is no crease half way across a bank either. Pebbles are left off ground steeper than about 22 to 34 degrees and a pebble's mound no longer reaches a pinned rim, so a rim is exact (a test checks it) with no special case. - Plain dirt:
clods=noneis dirt with no texture at all, its hills alone (flat ground is about 660 triangles again). The tiles that were plain ground before (a pond's bed, the ground under a tree) are written so, andmigratewrites it for aground. - Editing the water refreshes the dirt under it: the cache key of a dirt step includes the water laid over it.
- The library's heights are read from disk:
library/parts/heights.dtileis no longer compiled into the program. - Grain is set into the surface, rim included: a dirt's clods, grit and pebbles no longer rise above the surface its band holds. The kit moves the surface down by the greatest height the grain stands to nearby (within 6 mm, smoothed) and adds the grain back, capped at half the thickness and by the printer's skin and kept off water. The grain runs right to the rim and over the edge-round, with no fade, frame or bare strip: the edge height (3.4 mm) is the most a rim reaches, its high points touching it and its low points up to the grain's depth under it. Bedded stones sit as far lower; a floor over dirt reaches down to the earth's lowest point.
- Dirt has an edge-round: a 0.2 mm drop of the top along the rim, cut from the sharp corner at the edge height (so the ground on the edge is at most 3.2 mm, and two dirt tiles meet in a faint groove), mitred at the corners and tapering to none on dirt thinner than the printer's skin. The tile's four vertical corners are rounded 0.5 mm in plan on the terrain. The tile's sides are built as panels on columns shared with the top's rim, still flat. Water and floors have no round.
- Textured sides: dirt's four sides are height fields over their planes carrying the top's grain as low relief, up to 0.6 mm deep (never under the printer's one line), continuous with the top over the edge-round and round the tile's rounded vertical corners (a face there is set back behind both planes, a little less deeply), fading over two layers at the base, under the edge-round and at layer boundaries, and held under the overhang by construction (the one pass down each column). At least 15% of a face stays within 0.1 mm of the plane. No grass blade crosses a plane.
- A library wall seed changed:
1x1-wall-fieldstone-cornerusesseed=15; the lower land left a 0.008 mm³ void between two stones of its old draw.
0.9.0 7 November 2026
The property sheet edits values properly: a helper that says what each control takes, checks as you type and completes level names. Each control's limits are said once and checked when a tile is read. Underneath, the program is rebuilt round a few plain parts, and the editor keeps up with the program across restarts.
- Drafts keep coming: a fault while showing a draft no longer stops drafts for the rest of the session; it is reported in the terminal.
- Clearer messages: a line's wobble written with an unknown level says so; a feature not built yet says only that, without the old development phase numbers (a scatter of something it cannot scatter now says what a scatter takes). Every element now words a value it refuses the same way: the control, what it may be, what was written, and what to write instead.
- What a control takes, said once: each control's numbers, and whether it takes a range, are in the element schema and nowhere else. They are checked when the tile is read, so a value that only comes to a number through level names (
level="ground - 50") is refused bycheckand the editor, not halfway through a build, and a range written for a control that takes one number (cliff height="30..40") is refused the same way.dharmatiles elements, the element pages and the editor's hints show what each control takes: "mm, 20 to 120, or a range". - A value editor in the property sheet: clicking a value opens a helper under it that says what the control takes, checks what you type as you type it, switches between one number and a range, and completes at the caret: a level's named levels (with their heights, anywhere in an expression such as
ground - 1) and the control's words. A number that also has words, such as a wall'sheight(full,lowor mm), can now be typed as a number in the sheet. Values are typed without quotes; the sheet adds them when the text needs them. - A faster gate: the printability check takes about half as long on big tiles (3.5 s to 1.7 s on the 2×2 grass and tree), with the same verdicts.
- Under the hood: two reviews simplified the program throughout: one set of vector helpers, one request router, fewer copies of the same logic, kinds of solid and materials as types rather than words and numbers, the wall, tree and editor page split into parts that each do one job, and the editor page talking to the program through named calls; one grid type for every lattice of values (heights, fields, flags; the cliff's own copy is gone); and the scene split into the ground surface and the list of parts standing on it, with one question, "what stands here", that rocks and grass ask; the build order worked out as one graph, with the lift a step like any other and every library tile's order pinned by a test; and the overhang test available while an element builds, so a part can be checked in its final pose and shrunk or dropped there. Tiles build exactly as before, except for the two changes below.
- Grass, re-seeded: each stage of the grass (the flow, the swaths, the clearings, the fronds) draws from its own seeded stream, so a change to one stage no longer reshuffles the others. Every grass tile is laid out afresh at the same seed; it looks as it did.
- Water as its own part: the water's surface is a thin layer of its own over the ground, not faces of the ground marked as water, so every triangle's material comes from the part that made it. Water tiles print and paint as before; where water meets a tile's side, a line of water 0.3 mm deep shows above the earth.
- Under the hood, the editor and the program: a tile is named by an id (not its place in the list), so a tile that is deleted leaves no empty slot and a page that reconnects finds its tile again by name; a draft is one request answered with its mesh, with no event, second route or waiting handshake; one build queue holds drafts, tiles asked for and tiles that changed, and a newer draft of a tile cancels the older; the event stream numbers its changes and resumes after a drop instead of starting over; and request reading is separate from routing, so routes are tested without a socket. In the page, three small stores (the server's word, the view, the text) replace one shared bag of state, each part draws by subscribing to them, and the selection is one shape.
0.8.0 7 November 2026
The editor feels alive: selection and hover fade and ease, work in progress breathes, the page rides out the program stopping, and the colours and the grass look truer.
- The fade eases: selecting something fades the rest in about a tenth of a second; clicking from one thing to another cross-fades them, the new selection rising to solid as the old one sinks into the rest; deselecting brings the rest back, the old selection staying solid until it has caught up. Reduced motion keeps it instant.
- Work in progress breathes: while a tile builds, a cliff's rough blocks, and the old tile until the first new part arrives, pulse gently in transparency.
- Opening a tile mid-build now shows the parts it has already made; before, nothing showed until the next stage finished.
- Pick a tile's size from a grid: click the size in the tile's sheet and a grid of squares opens by the field; point at a size and the field shows it, click to take it, or type as before.
- The view is in place before the first build: it frames a 1×1 tile at once, then the tile's own footprint, follows the parts as they stream in, and flies to the finished tile.
- No tint on a faded selection: the fade marks it; the tint comes back with the fade off, or while a rebuild runs.
- Hover shows through the fade too: with nothing selected, the rest dims a little round what is under the pointer; with a selection, what is under the pointer lifts part way out of the fade, and clicking it rises the rest of the way. Moving between parts cross-fades them.
- The page waits for the program and reconnects: when
dharmatiles previewstops, the gate chip pulses reconnecting… and the tile fades and breathes, as for a build; when it starts again, however long after, the page carries on with the same tile, rebuilding it if needed and saving an edit typed meanwhile. Before, the page could stay stuck: waiting to build forever, showing an old mesh, or ignoring drafts after a restart. - New colours: rock and cliffs are a bluer slate grey, dirt a redder brown, bark a greyer brown, grass a yellower green, leaves a purer green and water a greener blue, each still within its real range. They are the default palette's, so they reach the preview, the PNG renders and the 3MF alike.
- The sidebar no longer sticks half-slid, with the tile list and the tile's page both cut off.
- Grass stays thick among stones: a blade rooted under a stone, boulder, trunk or flower now grows from its edge instead of not at all, and stones narrower than a blade no longer turn the grass into eddies that stall it. A cliff tile scattered with stones went from about 490 blades a square to about 600; the grass's own bare earth is unchanged.
0.7.0 7 November 2026
A rebuild starts from what your edit changed.
- Builds keep what they made: the preview and
watchkeep the tile as it stood after each step of the last build, and a rebuild starts from the first step the edit changes. Changing the boulders by a 1×1 cliff rebuilds in about 2 seconds instead of 9; as a draft, at once. The result is the same, hash for hash, as a build from nothing. See Live updates. - A build cut short by a newer edit still keeps the steps it finished, for the build that replaces it.
0.6.0 7 November 2026
Faster cliffs, and the tile shows while it builds.
- Cliffs build faster: the cracks are carved on a 0.1 mm grid instead of 0.05 mm, which no print can tell apart. A 1×1 cliff takes about a quarter less time; cliff geometry, and every cliff's hashes, change slightly.
- The tile shows while it builds: the last build fades as soon as a rebuild starts; each stage's parts then appear, faded, as it finishes; a cliff shows its rough blocks within a second. The finished tile replaces them. See Live updates.
- Cliff drafts in about two seconds, not ten: a draft carves on a coarser grid and leaves the grain off. Large drafts are thinned for the view.
- The fade behind a selection is lighter: the rest of the tile is easier to see.
0.5.0 6 November 2026
Lines and regions in the property sheet, and the rest of the tile fades behind a selection.
- A line's sheet: its name,
wobble,widthand the points it runsthrough(drag a number, or type). A region's sheet: its name, the lines it isbounded-byas toggles, and itsfillpoint. Either can be deleted from its sheet. - Rename a line or region in its sheet and every
bounded-by,along=andin=that names it follows. - The rest fades: with something selected, everything else turns translucent. x, or Fade the rest in the ⋯ menu, turns it off.
0.4.0 6 November 2026
A tile browser in the sidebar, and every property of the tile in the sheet.
- The tile browser is the sidebar's first page: My tiles and the Library at the top, a filter, New tile and the list. Choose a tile and the editor slides in beside it; ‹ My tiles in its header slides back. The menu in the title bar is gone. See Run it.
- All of the tile's properties in the sheet: size, seed, its description and its levels, each written into the text as you change it.
- A die beside every seed rolls another arrangement.
- The map draws only what you are working on: the selected line or region, or every one while a tool is held. Nothing selected, the tile is shown bare: no dashed lines, no wobble bands past the tile's edge, no region tints or names.
- Fixes: build errors are edged in the error colour, not overhang red.
0.3.0 6 November 2026
An editor you can arrange, a real text editor, and export without a terminal.
- Panes you size, hide and keep. The text sits over the properties in one sidebar (Edit); Inspect puts the three side by side, Look shows only the view. Drag any edge, double-click it to reset; [, ] and \ hide panes; the sidebar goes left or right. Remembered in the browser. See Panes.
- The document is a proper editor (CodeMirror): long lines wrap under their own indentation, ⌘F finds and replaces, blocks fold, brackets match and close, mistakes are marked in the gutter, several cursors.
- Export beside the verdict writes the STL, and a painted 3MF if you like, for DungeonBlocks or OpenLOCK, to
out/beside your tiles (a library tile's toout/in My tiles, never the library), with Reveal in Finder. Refused, with the reason, while the tile fails the gate. - The tile's own properties fill the sheet when nothing is selected: size, seed, New seed and Rename.
- Keys: ? lists them all; ⌘1, ⌘2 and ⌘3 move between the text, the view and the properties.
- Fixes: Esc in the Not saved dialog no longer discards your text after an earlier Discard; the history menu no longer calls an indent a removal; Discard is no longer drawn in overhang red; the property sheet shows quoted values without their quotes and names the element it edits; the gate's record opens over the view, not a pane.
0.2.1 6 November 2026
Fuller tree crowns.
- Tree clumps keep their rounded undersides. The clumps are no longer cut flat underneath, and every leaf rooted on the top of the crown curls up proud, so the crown reads fuller from above and from the side.
- Known: the rounded undersides hang, and tiles with a tree fail the printability gate. A 1×1 tree has about 142 mm² past 65° against a budget of 7.8 mm² (under 1 mm² in 0.2.0); both library tree tiles fail. The STL is still written; the underside of the crown needs supports, or wait for a fix.
0.2.0 6 November 2026
The editor, and tiles named by their files.
- An editor in the preview. Click anything on the tile to select it and see the text that made it; change it in the property sheet or the text. Place and draw rocks, trees, scatters, surfaces, lines and regions straight onto the tile. Drafts show while you drag; the full build follows.
- Your work is kept. Changes save as you go once they read cleanly; a change that can't be saved is never thrown away without asking. New tile starts a printable flat tile; Make it mine copies a library tile into My tiles.
- One undo history for typing and property changes, with a menu to jump several steps.
- The printability gate is actionable: the verdict says why a tile fails and flies to the worst face.
- Two themes: Lichen & Linen by day, Moonpool by night, shared by the editor and this site.
- A tile is named by its file. The
tilenode no longer takes a name: writetile size="2x2" seed=1 { … }. Renaming a tile never changes how it comes out. Rename in the editor with F2 or a double-click on the title. Breaking: remove the name from your tiles'tileline; every tile's random layout changes once. - Cliffs in all nine forms (corner, mound, spire, canyon, escarpment, needles, plateau, massif and the run), with thirteen cliff tiles in the library.
- The library is read from disk: new and edited library tiles show at once.
dharmatileswith no command opens the preview on your tiles (~/dharmatiles) and the library. - Overhang in two steps: 55° is the target; 55–65° is allowed in small budgeted patches, painted orange; past 65° red.
- 3MF as a Bambu Studio project, one coloured slot per material.
- This site, rewritten for tile makers: a page and a picture for every element, and the same look as the editor.
- The language server is gone; the test suite runs in under three minutes.
- Known: nine library tiles, mostly cliffs, fail the printability gate at their new layouts.
0.1.0 4 November 2026
The first published version: dharmatiles as a single Rust program.
- The tile language. Tiles are short
.dtiledocuments (KDL v2): lines and regions, and a stack of elements. Errors point at their line, with a suggestion. - Elements: ground, dirt, rock, stone, boulder, pebble, scatter, water, grass, reeds, flowers, wall, floor and tree, and a first cliff (the cliff run).
- The printability gate on every build: watertight, nothing lost, overhang held to 55°.
- DungeonBlocks and OpenLOCK bases from one document.
- The preview: a live, painted 3D view in the browser that rebuilds on save, with the overhang painted.
- 3MF painted by material, and an MCP server for agents.
- The library: ground, water, wall and floor tiles, ready to build.
- macOS on Apple silicon, through Homebrew.
0.0.9 1–3 November 2026
The move to Rust: the program rebuilt in phases, each element checked against the Python one it replaced, and the tile language settled on KDL v2. Builds became identical at any number of threads, and much faster.
0.0.8 late October 2026
A round of experiments that set the look of today's elements: sculpted grass, faceted rocks, meadows of rocks, grass and bare earth, water with waves from its shores, bare earth with clods and pebbles, reeds on the shore, and cliffs of stacked, cracked blocks in eight forms. Every output reloads watertight.
0.0.7 July 2026
Walls and floors: coursed brick, cut stone, and drystone fieldstone walls with a crack-network of stones; the finished wall top at the standard height; a floor as a wall laid on its side.
0.0.6 June 2026
Trees: grown branches with bark, clumped crowns, and printable leaves placed over the whole crown. Rocks reworked as faceted stones.
0.0.5 early June 2026
Composed tiles: rocks and grass placed together, grass and water on one tile, sampled parameters for variety, and a build record in every file. (Tagged v0.1.0 in the repository at the time, 11 June.)
0.0.4 30 May – 4 June 2026
A Python library in place of single scripts; grass grown blade by blade; the OpenLOCK base; per-face colours in the STL.
0.0.3 29 May 2026
3D grass blades that stack and arch over the ground, printable without supports.
0.0.1 26 May 2026
The first tile: a blank DungeonBlocks square, and grass pressed into it from a heightmap.