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.
Unreleased
- An edit names the text its ids were read from: a check lists each node with an id (
tile/stack/rock#2) and the revision of the text it read (nodesRev); an edit carries that revision back, and the program refuses it with a 409 when the text it is sent is any other (typing since the check), so an ordinal id never lands on another node. The editor shows the refusal and checks again. - Report this defect stays in view: the preview’s Leave my tile’s source out box and Open GitHub issue button stand above the report, which scrolls in its own box (at most 28% of the window’s height), so a short messages panel no longer hides them.
- Report this defect: a message that means the program went wrong (a failure or bug of its own, a gate failure; never a mistake in your document) has a Report this defect button beside Copy. It shows the report that would be filed (the message’s copied text, the environment and your tile’s source, which a checkbox leaves out) and opens GitHub’s new-issue form filled in, with the labels
defectand the code’s. A report too long for an address goes to the clipboard and the issue says to paste it. After a panic the command line printsreport: <address>. The program makes the report once, from the message’s own text (GET /api/messages/report); see Errors. - The language guide is one page for each idea: the long
language.htmlis now a map of twenty-one short pages underdocs/guide/(the tile document, its syntax, squares and points, lines, seams, regions, the stack, placement, values, weighted ranges, units, kinds, names, heights, defaults, clouds, seeds, parts, the gate, errors, worked tiles), each shaped the same: a live example first, the idea in two paragraphs, the rules as short sections, the errors the page explains and a next page. An oldlanguage.html#anchorlands on its section by a script written from the pages’ own ids. A cheat sheet of every word of the language is written from the program’s word tables, each element page says which guide pages use it, the top bar is written once from one list, and every code sample in the guide is a whole documentcargo xtask docs --checkruns through the program or is marked as a fragment, output or notation (which found two worked examples the program no longer accepted). Samples and help texts across the site end lines on seams only. - Every change to a tile’s source is one edit engine, and names the node it changes: a control set, an entry added, hidden, moved or taken out, a line or region renamed, a clause written and a fix’s Change to… are all
dt_doc::ops(Kind::Tile), beside the print list’s and the inventory’s, with one error type. Every node of a tile has an id made from the text (tile/stack/rock#2,tile/line shore,tile/stack/rock id=old-oak: a node that names itself keeps its id when others move), the check lists them, and an id the text does not have is refused in words instead of changing another node. Each edit works out the byte ranges it changes and writes only those, so comments, blank lines and your own layout stay.dharmatiles fixlays its fixes in the same way. The old byte-offset edit paths are gone. dharmatiles fixmends tiles the language has outgrown:dharmatiles fix tile-or-foldercollects every mistake that carries a fix (dt::seam,dt::near-edge,dt::edge-range, a misspelt word with a near one, an old control spelling, a number on a corner word) and shows the change with the millimetres a point moves on the target’s square;--writewrites it, after which it checks again and repeats until no fix applies. A mistake with no fix is reported and the exit status is 1. A fix is data made once where the mistake is made (Fixindt-doc, withmovedfor a moved point), the help is made from it, the editor’s button and the command line lay it in through the one edit engine (Op::Fixindt_doc::ops). A corner word written with a number (nw(2)) and a one-square side word with a wrong number now carry their fix too.- One set of rules colours the tile language everywhere:
dt_lang::highlight(no dependencies, beside the word tables) turns a document into coloured pieces: nodes, properties, strings with the$names, numbers with their units and function calls inside them, keywords, comments and punctuation; a broken document colours as far as it reads and an unterminated string ends at its line. The terminal draws error snippets with it (miette’s highlighter hook; plain when piped or withNO_COLOR), the editor’s source pane asks the program for the pieces (/api/tokens) and lays them on as marks that move with the text, andcargo xtask docscolours every code block of the site, and reads the terminal’s own message on an error page back into the same classes, so the browser colours nothing and the editor’s and the site’s highlighters are gone. One mapping of classes to theme tokens (.tk-*) is intheme.css. dharmatiles fixmends tiles the language has outgrown:dharmatiles fix tile-or-foldercollects every mistake that carries a fix (dt::seam,dt::near-edge,dt::edge-range, a misspelt word with a near one, an old control spelling, a number on a corner word) and shows the change with the millimetres a point moves on the target’s square;--writewrites it, after which it checks again and repeats until no fix applies. A mistake with no fix is reported and the exit status is 1. A fix is data made once where the mistake is made (Fixindt-doc, withmovedfor a moved point), the help is made from it, the editor’s button and the command line lay it in through the one applier (dt_doc::edit::apply_fixes). A corner word written with a number (nw(2)) and a one-square side word with a wrong number now carry their fix too.- A tile that does not build is the tile’s mistake, wherever a picture of it is wanted: a picture in the Add tiles grid, the seed strip, the plates, the map and the history of a tile with a mistake in its document (
dt::seam, say) no longer logs “something went wrong inside” (kind=bug). The program’s tier event carries the mistake’s code, every picture’s caller gets it as one error (TileMistake), the picture shows the code where it would be, and the document that shows the piece gets the tile’s own messages (code, place, source line, help) instead of a bare “build failed”. - A copied message is enough to diagnose: every message carries the tile file (as the program names it), what was being done (the build or picture, with system, printer and seed) and the source line of its place; the one text that Copy all, the program’s own message route and a row’s Copy share now prints the file, the document it was seen from, the code with
file:line:col, the source line with the span marked, the help, the kind (mistake, note, or the program’s own failure and who found it), and for a failure its causes and backtrace; a row’s Copy is that text plus the environment.GET /api/messagestakesseq=for one message. - Live examples on the element pages: a
<dt-example src="examples/…">card shows a source and the tile it builds, and comes alive when touched: the engine (3.5 MB of WebAssembly, one worker shared by every card on the page, fetched only when wanted) builds the edited source at the browsing tier in a fraction of a second, and Full detail and Download STL build what a printer is given. A card has the controls its page picks (a slider or a seed roll that writes the number into the source), the messages as one strip folded to a status line (it opens by itself only for a new error; warnings are counted apart from notes, in the editor too), and an overlay: the caret or the pointer on a line, point, fill point or region of the source lights it on the tile, and the reverse, with toggles for lines, points, regions and squares. Each example is a.dtileunderdocs/examples/that the page reads and a test builds (anexpect-errorcard must give its code); the playground takes any source. The code is the editor’s own: the map JSON moved intodt_eval::map(one producer for the server and the browser), the messages store and list and a new status line component are shared, the overlay is split into geometry, marks with their states (off, shown, lit) and renderers, and the cards import the editor’s own files from one address,<site>/editor/jsand/editor/vendor, which the deploy job and the program’s docs route each provide fromweb/preview(a page opened as a plain file does not run its cards; there is no second copy of the editor’s code indocs/). Posters are named by the build cache key (cargo xtask examples; the site’s posters job makes them), each with its map beside it so the overlay can be drawn before the engine wakes, andcargo xtask releasewrites the cards again with the new version before it commits.dharmatiles explainprints the local page’s real path, not one with..in it. - Every error has an address: the program’s diagnostic codes (
dt::typeand the other 83) are one registry (dt-lang/src/codes.rs), and a test fails when a code is written as a string anywhere else. Each code has its own page,e/type.html: what happened, what to do, a broken document and its fix (a test proves the broken one gives the code and the fixed one reads clean), and a link on to the rule. Adata-explainsmarker on the section of a docs page that explains a code owns that link;cargo xtask docswrites the#dt-…anchor and the error page from the two, anddocs --checkfails on a code with no section, a marker for no code, or a stale page or anchor. Every error a terminal prints ends withexplain: <address>anddharmatiles explain dt::…, which prints the summary from the local copy of the page. The editor’s messages and error card have an Explain link that opens the copy served by the program from its own docs. The codes with no other home are explained on Error codes. The site’s address is derived from the repository address inCargo.toml, in one place..github/workflows/site.ymlpublishes the site to GitHub Pages on a release tag or a run by hand (module, posters and pages jobs, one deploy, a docs check on pull requests); the pages job publishes the committeddocs/after checking it. - Error pages use the width and show the message: each error page opens with the code, what happened and the message exactly as the program prints it (the program run on the page's broken document when
cargo xtask docswrites it), then what to do beside the rule quoted from its section with a link to it in context, the broken document above its fix with the change marked, and a footer with the codes the same section explains, the list of every code and the offlineexplainline. The examples write the full header,dharmatiles version="1.0.0", as every library tile does. The change is marked by whole words, in plain ink on a red or green tint with a solid underline, and the examples keep their colours around it. Every code named on a docs page (the changelog aside) links to its error page, written bycargo xtask docs, anddocs --checkfails on a mention of a code that does not exist; on Error codes each definition is the section that explains its code. - Bambu printers as their own slicer has them: the X1 Carbon, P1S and P1P print to 250 mm and keep the cutter’s front-left corner (18 × 28 mm) clear, so a plate never puts a piece there; the H2C is 330 × 320 × 325 mm and the X2D 261 mm tall, each with two nozzles (2 filaments without an AMS). Their verify marks are gone.
- The repair budget counts the worst of four seeds: the number of vertices the gate pushes apart (and the voids it fills) changes two or three times over with the seed, because the grass blades of a tile overlap in another arrangement, so a budget set from one seed tripped whenever a layout moved. Each tile’s count in the baseline is now the worst over the seed it writes and three fixed ones (
EXTRA_SEEDSin the baseline test), and itsmax_*budget is held to that. The hash, triangles and overhang columns stay on the written seed. The first rewrite under this measure set the budgets afresh, so for most tiles they rose once; from there a rewrite only lowers them again. The full baseline builds each tile four times and takes about four times as long. - The editor’s title bar fits a phone: below 560 px wide the bar wraps into two rows (Tile/Map/Plates and Undo/Redo, then the target and the buttons) instead of running off the screen with the mode buttons stacked over the view.
- “Control names are camelCase” has a fix button: a control written with its old spelling (
per-square,bounded-by) is mended by one edit, made with the help in one place (DocError::advise_old,error::mend_camel). The count andperSquareadvice stays text: how many is a choice, so no single edit mends it. - A region’s
withinline says the printed size from the program: the clause heading shows the distance as written (7dmm) and, only where it prints differently on the target, (prints 5.08 mm), from the samedt_doc::printedanswer the sheet uses; the page no longer writesmmitself, shows7dmm (7 mm)on DungeonBlocks or adds a unit to a bare number. - The page no longer guesses the square size: every place that fell back to 35 mm (the map overlay, the ground grid, the map plan, the scene grid, framing, the place tool) reads the size the program sends with the target (25.4 mm on OpenLOCK); where the program has not said it, nothing is drawn. A page test fails on any
?? 35,|| 35or25.4fallback. - Square at the seam: a line is one smooth curve through its points (cubic Bézier, handles 0.4 of the chord, Catmull-Rom directions inside), and an end exactly on a tile side leaves along the side’s normal, on a tile corner along its bisector, so two tiles that meet at a seam meet in the same direction (
dt_kit::curve, run inDrawnLine::laybefore the wobble, so walls, strips, regions, scatters and cliffs read one curve).curve=straightandends=freeon a line, andcorner=#true,heading=andpull=on athroughof one point, give the old or a hand-made look. The edge contract lists the seams, the places a line may cross a square’s edge (0, a third, a half, two thirds and 1, exact fractions:1sq/3), the same on every square edge, closed under a quarter turn; a point on a side that is not one isdt::seamnaming its column and row (counted from 1, column then row, C1 R1 the north-west square) and side, with a fix that snaps it to the nearest seam on that square, andseams=freeon a tile opts out. A seam is named by a compass word from the table (nnw,n,nnealong the north side,ssw s sse,wnw w wsw,ene e ese;nw ne se swthe tile’s corners), with the square in quotes on a longer side,"nnw(2)"; thedt::seamfix writes the word and an unknown word gets a did-you-mean fix. A point within 1 mm of a side but not on it isdt::near-edge, and a range on a side isdt::edge-range. Library tiles’ edge points moved onto seams (the 0.43/0.57 water channels are now a third wide, 1/3 to 2/3), so their shores, channels and walls change look; the tile-system page’s seam table is generated from the contract. - A tile that fails to read says so in the left panel, not “No tile”: the panel shows could not be read, the first mistake with its code and Go to line, from the same record the view’s card and the messages read (
firstError), and the plates panel of a list that does not plan shows its mistakes where it showed only “does not plan”. “No tile” is decided in one place (tileLevelState) and a page test fails if a read error turns into it. Two flaky tests are deterministic: the folder-told-as-the-places test waits for the server to be idle and ends on a second folder instead of racing the start-up inventory, and the seed strip test waits for the five builds and cards it asked for instead of a fixed time. - Ink 5, second pictures: the map level opens with the map as a plan (its squares, each piece as a top-down picture in its place and turn, marked have, to print, other colour or left off, the selection outlined, press to select); the plates are small pictures of their beds at one scale, each piece a top-down picture where the packer put it; the inventory is a shelf of cards, one picture per print with its count; and each stack row has a thickness bar and its height span, which the program now measures in the mesh it builds (
zon each entry of the mesh header's stack). The pictures are the page's one picture service, which gained a top-down view. - The editor pages show the editor: Preview, Maps, Plates and Inventory open with a screenshot of the editor, in light and dark, with numbered callouts and a key beside it, and Preview has one for each level it describes.
cargo xtask shotsredraws every picture from the running editor (a scratch home, a free port, headless Chrome) and records where each callout points, so the callouts follow a redrawn picture;cargo xtask docs --checkfails when a page names a picture or callout that is not there. - The history menu shows what each step does: with the Undo or Redo menu open on a tile’s own text, each row has the tile as it is now and as the row would leave it. A wanted tier can be of a source text in place of the file’s (
textandfileon a want,POST /api/tiers/want), built on the tier lane (never behind an edit), kept by the text and cancelled when the page withdraws it (releaseon a begun picture now drops its want); a tier that fails says on the stream whether the cause is a mistake in the text (mistake) or the program’s own, so a history step with a mistake is a quiet row and anything else is loud. - The gate’s verdict is also a picture: beside the two bars the record shows the tile’s underside, seen from below, with the faces the gate painted in
--over(past 65°) and--band(55 to 65°); it is drawn from the program’s own flags in the mesh the view holds (undersidePlan, from the one reading of them the worst-face button uses), not a second classification. - A map piece’s Seed level has the seed strip: the die beside its seed field lays the same five pictures the tile level’s seed row does (the piece’s seed first, a square on a seed you own); choosing one sets the piece’s seed. The strip, the die and the model that feeds them are one component (
js/view/seed-strip.js,seedStripOf), used by both. - The parked weighting gallery is deleted:
js/gallery.js,GET /api/weightingsand its Rust (weightings.rs), their tests, the gallery’s styles and the slider they used are gone; the language’s weighted ranges (dt-value,dt_doc::lower) are unchanged. - Ink 4, messages act on their own advice: every “did you mean” carries a structured fix, the replacement for a span (
Diag::fix,DocError::fix;fixon a message and on a check’s mistake in the contract), made in one place with the words of the help (dt_doc::error::suggest), and a test over the source fails for a suggestion written any other way. The messages panel, the view’s error card and the tooltip of the gutter mark show a button (Change to dirt) that applies it through the document’s one edit path, as one step of the history, only to the text it was found in. - The gate's repairs have a budget that cannot rise: the gate moves pinch vertices, fills sealed voids, removes slivers, collapses edges and drops loose bodies before it judges a mesh (about 74,000 pinch vertices and 3,666 voids across the library).
tests/baseline/library-db.tsvnow holds a budget for each of the five counts of each tile (max_voids,max_pinches,max_slivers,max_collapsed,max_dropped), and the baseline check fails when a tile repairs more than its budget, whatever else was rewritten. A rewrite can only lower a budget; to raise one, edit the file by hand where the diff shows it. - A print list and an inventory are edited by one set of operations:
dt_doc::opshas one call,apply, and one list of operations (Op: add or bump a piece, append lines, set a count, remove, set a piece’s words, duplicate, pin, unpin) addressed by piece id, never by position, with the oneEditErrorthe.dtileedits already report. The twelve separate edit functions ofdt_doc::mapandinventory::append, which took ids or lines and answered with a string or a list of mistakes, are gone; every operation that names a piece writes ids on all of them first, in the same write. The editor's print-list and map calls make their edits through it. A file that does not read is refused with its own mistakes, as before. - A build is a product and a report:
dt_eval::Builtheld 24 fields, the mesh and the gate's verdict beside the editor's data. It is now aProduct(the export, materials, audit, record, output path, footprint and whether the gate checked it: everything a printer's file needs) and aReportbeside it (stage hashes and timings, the surface and clouds the editor paints from, which entry made which triangle, what the caches did). A build reads as its product,built.reportis the rest. The brick look is no longer a flag the evaluator works out from wall styles:dt_doc::schema::masonry_is_brickreads the words, a build carriesdt_kit::Look. The cache stores the same bytes. - Printing is its own crate:
dt-printholds the print list’s plan, the packer, the inventory on disk, binary STL, 3MF and Bambu Studio projects and the PNG renderer, moved out ofdt-evalanddt-kit.dt-kitkeeps the scene, the operations, the gate, the build record and the painter (the editor and the browser build show the same colours and neither prints). Builds are unchanged. - The disk cache is its own crate:
dt-storeholds the store (its SHA-256 keys, entries, eviction and codec) and the stored build callsbuild_storedandbuild_tier;dt-evalno longer knows a disk cache exists, only what a build reports of it (Built::cache). Builds and keys are unchanged. - The engine builds a tile in a browser:
cargo xtask wasm <folder>now compiles the whole engine (dt-eval,dt-elements,dt-kit,dt-geom, and Manifold throughwasm-cxx-shim) forwasm32-unknown-unknown, single-threaded, and writes a page that builds a tile in a Web Worker and shows it in three.js, painted as the editor paints it, with the gate’s verdict. Rayon is reached through one crate,dt-par(rayon everywhere but wasm32, where the same calls run in order), and a build’s stage clock through one function (dt_eval::clock); the engine’s code is unchanged. The page reads the library through the engine’s ownSourcetrait, so the stage 1 copy of the file-loading loop is gone.Options::in_sourcereads the default printer through anySource. The vendored Manifold build for wasm applies the level-set patch the host build carries. Compiling Manifold for wasm needsbrew install llvm lld cmake;cargo xtask wasm --checkand the ignored testthe_engine_compiles_for_the_browsercheck that the engine still compiles for the browser. - The language crates run in a browser, and a test keeps them able to:
cargo xtask wasm <folder>buildsdt-web(a new crate, left out of a plaincargo build) forwasm32-unknown-unknownand writes the bundle: the.wasm, its JS glue, the library as one JSON file and a page that checks a.dtileas you type, lists its stack with each length as written and as printed on both systems, and draws from a weighted range. It calls the same code the program does (dt_doc,dt_value); the range lowering (dt_doc::lower) and theusepaths (dt_doc::paths) moved down fromdt-evalto be shared.cargo xtask wasm --check, and the testdt-web/tests/wasm_core.rs, fail ifdt-lang,dt-value,dt-docordt-webstop compiling for the browser. - Wilderness has mountains, not endless ridges: each of the two ranges has single peaks, rounded and organic in outline, rising out of its long run, with some stretches of the horizon left as saddles. Each range stays one flat blue-grey fading upward: no light and no depth inside it.
- An editor page and a program from different builds refuse each other: the page imports a stamp of the contract (js/contract.js, written with api.d.ts) and the program compiles the same file in, and when the first snapshot's stamp differs the page shows only “This page and the program are different builds” and what to do, instead of the false errors a mismatched page showed.
- Wilderness's grass meets its mountains without a pale line: the ground's distant haze is the colour of the mountains' foot, defined once for both.
- Ink and Order, phase 4: say it, show it. A document that does not build leaves a card on the view in the plate’s own light colours with the first error in its words (Nothing built, the hint, Go to line, All messages), not an empty field. A message in the panel leads with its sentence (the word it is about in mono, never in backticks), then where it is and its code, quiet; pressing the row goes to its line, which replaces the Go to line button. The gate’s verdict is two bars (past 65°, the 55 to 65° band) full at the budget and red past it with the multiple written in the bar, the other numbers under Details. The inventory says On the shelf: 1 · printed today · single colour · seed 9486 with a picture of that seed, dates as a person says them (today, 13 Nov, 13 Nov 2025), the tile’s id in a tooltip and the log sentence only on the Inventory page. Printers are listed by the squares that fit (6 × 6 squares), each bed drawn at one scale, and the slicer imports are one menu.
- A drystone wall never makes a stone that touches nothing: the fieldstone corner at seed 2 on OpenLOCK failed the gate (
1 loose bodies dropped
). Its top stone was a cell only 1.3 mm wide between two head joints, and the slant and bow each joint draws (up to 1.6 mm) leaned the two toward each other until the stone was a wedge 0.15 mm wide at its foot, floating clear of the course below. A head joint now moves from its cut by at most 0.3 of the narrowest stone beside it (the same number for both stones flanking it, so they still share one curve), which leaves every stone at least 0.4 of its width at every height. A unit test checks the reach for widths from 0.5 mm up and that both sides agree; a corner test tile (library/tests/walls/1x1-wall-fieldstone-corner) is built for OpenLOCK in the OpenLOCK test. - The sheet shows every control’s real default where it is not written, not “not set”: a wall entry showed
stones,joints,edgesandruinasnot set
and a select offered a disablednot set
, though the element picks a value in its own code. Now every control shows the value a build uses, faint, with where it comes from beside it (default
,from style brick
,from crown branching normal
,from parts/edges
, or the part an entry’s value is written in); where leaving a control out has no number, the words say what it means (a plain line, no strip
,a mix of all three
). There is one source for each: what an element works out for itself is read off the fields it is built with (Element::shown: a wall’s stone size, joints and bond from its style, a scatter’sperSquare,gapandreachby what it scatters, a tree’s branch numbers frombranching, a cliff’s stone weights fromrock), else the schema’sdefault, else its newabsentwords; a body’stopis the band the solver used, with the library file it is the default of. The program sends it with each entry (defaultsin the stack items;dt_eval::unwritten) and the page only shows it; a control with none of the three is an error, and a test runs every element through it. A group’s controls are rows of their own, named by their path (stones height), and writing one of them writes the group’s line (stones height=…). A wall’s sheet no longer lists a secondheight.heightrow: the number a written word stands for was listed as if the document had written it. Builds are unchanged. - Library walls and floors follow the tile seed, and the seed row says what does not: every library wall (brick, fieldstone and cut stone, straight and corner, and the curve), the stone and plank floors and the floor with a wall pinned their entries with a
seed=of their own, so rolling the tile seed (the dice, its five pictures,--seed) never changed the wall or the slabs:brick walls seem to be identical regardless of the seed chosen
. The pins are taken out of the library tiles. On the tile level’sseedrow a quiet line names the entries that keep a seed of their own (wall keeps its own seed (15)
,wall and flagstones keep their own seeds
), read from the stack the program describes, and pressing a name selects that entry. The map piece’s Seed level does not show it yet. - The sheet shows lengths as written and as printed: a length reads as you wrote it with its unit (
7 dmm, a range3.5–6.5 dmm, a count of nothing none, a map piece’s place column 1, row 1), the unit’s tooltip is the program’s own sentence (unitAboutin/api/language, fromdt_lang::unit_about), and beside it, quieter, is what it prints on the build target (7 dmm · prints 5.08 mmon OpenLOCK), worked out by the program (dt_doc::printed,POST /api/tiles/ID/printed) with the same reader and evaluator as a build, shown only where it differs from the written number. Typing is literal and never converts a unit; a printed number is typed too and written back in the value’s own unit (5 against7dmmon OpenLOCK is6.89dmm,POST /api/printed-set), to 0.01 mm with the fewest decimals. The page’s second copies of the square are gone (a dropped tile snapped tosystem === 'ol' ? 25.4 : 35, a line’s wobble was scaled bysq / 35); a test fails if the page multiplies or divides by 35, 25.4 or a dmm scale. The schema’s length axis isAxis::Dmmand reads dmm on the wire (it said mm), and the unit-free reader’s message says sizes are dmm. - The folders of Add are steps of the one trail, not a second navigation: the Add pane drew its own crumb bar, its own ‹ and its own slide over the folders it browsed, inside the panel. Now each folder is a level of the one shell: Places › My tiles › first-plate.dmap › Add › Places › My tiles › dungeon, every crumb pressable, opened by pressing a folder, left by ‹, Esc, ⌘[ or a crumb, moving with the one slide (deeper from the right), the keyboard and arrow keys handled by the shell. Add tiles opens at the folder you last browsed in Add this session, else the folder the map is in. The address names the folder (
add=<place>&adir=<folder>, in place ofadd=1) and each folder is a step of the browser’s history, so a reload and Back and Forward land on it. The pane’s bar, button, slide and folder-walking state are deleted (levelDepthinnav.jsis the one depth of a level, the Add step’s folders included); a test fails if the pane draws a crumb bar, an up button or a sliding list of its own. - Ink and Order, phase 2: one system for the editor. Four type sizes (12, 14, 17 and the display 24, as
--fs-sto--fs-xlwith their line heights; 12 px is the floor, where the editor had thirteen sizes down to 10) and a test that fails on a raw size. No caps labels: one.cap(sentence case, 12 px, 600, the ink) replaces the twelve uppercase rules, with a test. Plex for sentences and words, mono only for what you would type (a word value, a stack row’s sub-line and a plate’s families were mono). Two control heights (--h-sm24,--h-md30; a segmented control is 30 around 24), one corner set (--r,--r-lg, and 2 px for marks: no pill is left, the target chip and every count are square-cornered) and one 8 px square status mark for a tile, a build, a message, a stack row and the status line; tests fail on a stray height, a stray radius and a second mark. One header band per level: the name large in Big Shoulders over one quiet line (what it is, where it stands in the stack, Help), with the Outline | Source switch at its right, replaces the three bands that said the same name; the sheet has one left edge for labels, one for values and one right edge for × and ›. One icon set: the arrows, check, cross, ellipsis, turn arrows, sun and moon, panel toggles, copy, undo and redo are Lucide (one licence note) with the folder glyphs and the dice, drawn by one helper (js/view/icons.js), and a test fails on a character standing in for an icon. The panel switch reads Outline | Source in every document and the title bar’s mode switch lights no mode in a folder or the inventory. The display menu is a grid (label, switch and key on one baseline; the backdrops two by two with a swatch; all nine cameras with their icons), and is never taller than the part of the view you can see, scrolling inside itself, from the same box the canvas resizes to (also while the messages panel is dragged or animating). - The view bar is four pinned cameras that show where the camera is: Iso, Top, Front and Close-up in fixed places, drawn as cubes after the standard views of CAD programs (a see-through cube with the face you look at filled for the six sides; the cube solid for Iso, Low and Close-up; all nine differ), the word as the tooltip. The pressed one follows the camera: lit within 2 degrees of a preset, on opening (Iso was never lit until you pressed one: the bar read the derived state before it existed), after Top, and after an orbit that comes back to a preset or leaves it. The display menu shows all nine with the same icons. Under now fades the backdrop out so the tile is seen from below instead of hidden behind earth.
- The panel toggles move to the right of the title bar and both panels animate: the left panel’s button was left of the logo, reserving a place for a rare action; the logo starts the bar now, and the left-panel and messages buttons sit beside the theme button, each pressed while its panel is open (\ and ⌃J in the tooltips; the status line opens the messages too, the same state). Showing and hiding either panel is one function (
revealinjs/slide.js, the level slide’s duration and easing, an instant swap under reduced motion): the left panel’s column shrinks to its edge and the messages panel grows from the bottom edge, and the 3D view resizes with them frame by frame. - Wilderness has a clear sky: the pale far range of mountains and the snow on the middle one read as a band of cloud; both are gone, and two ranges of blue-grey mountains stand under a plain blue sky.
- The dice shows five seeds, and one thumbnail service draws every small picture of a tile: pressing the die on the tile level’s
seedrow lays five small pictures of the tile under the row, the seed it has now first and four new ones, each built low at its seed by the program on demand (never on idle); a square marks a seed you have printed; choosing one writes the seed, one step of history. The pictures come fromjs/thumbs.js, which the Add tiles grid uses too: the program’s super-low tier (with the seed override the map’s variants use) drawn once on one small renderer, at most five at a time, kept for the session by tile, seed, revision, system, printer, size and plate. The map piece’s Seed level and other elements’ seeds are not on it yet. - The site’s frame, one rule: the nav fits one row at laptop width (gap 16 px, theme toggle at the right; it scrolls as a second row below 1160 px); headings climb at every width (64, 36, 24 px; 40, 28, 22 on a phone); text has one measure of 33em (about 66 characters,
--measure) where it was 83; the contents list sits beside the title in a margin column that also carries a page’s picture, and folds above the content on a phone; inline code is a background, not a bordered box. - Ink and Order, phase 1: the editor’s one-rule fixes. Every text-like input and select takes the theme’s control style from one rule in
theme.cssthat names the types it leaves out (the map piece’s Seed field, a number input, was the browser’s own: Arial, an inset border, square corners; a test fails on a bare input). A segmented control’s buttons share a track wider than they are (one rule,.seg > button), so Sort and Show no longer leave 114 and 71 px of empty track. Labels, values, stack numbers, swatches, names and chevrons sit on one baseline (the label was 2 px low, the stack number 7 px low, the About version 8 px high). Each fact is printed once: the title bar no longer repeats the tile’s size or a map’s totals, the context band no longer repeats the target, the name, the size or the totals, the status line no longer repeats the target or says not yet checked twice (draft · not yet checked · 1 full · 20 drafts). The floating more below pill and the Rename strip at the foot of the tile level are gone: the scroll shadow stays, and a double press on the document’s name in the crumb (or F2) renames it. A low-detail mesh is a draft wherever it is read (status line, messages, docs) and the Close camera is Close-up. - One slide for every step of the trail, folders and documents too: opening a map’s piece slid, a folder’s subfolder slid, and opening a tile or a map from its folder slid, but each by its own code (the shell’s, the folder list’s ghost, a CSS transition on the strip holding the two sidebar pages) with its own timing, so the step from a map to a piece of it did not look like the step from a folder to a tile. Now one function (
js/slide.js) takes a level off and the next one on, and every step is a call to it: a tile’s levels and a map’s (the shell), the folder levels, the Add tiles pane’s own folders (inside its box), and the step between a folder and a document, which is one level deeper in the trail (trailDepthinnav.js: the folder’s depth, one for the document, then its own level), so opening a tile or a map slides in from the right and Up from it, or a crumb to a folder, slides back from the left. One rule gives the direction (slideDir), one place the timing (200 ms), the easing, the reduced-motion swap, the scroll kept per level and the wait before the keyboard follows (it follows a step only when it was in the panel, into the row it came from); the browser’s ghost-slide and the pages’ transition are deleted, and a test fails on any other code that animates a level. - The catalog moves into the left panel: Add tiles is a level of the map’s trail (Places › My tiles › first-plate.dmap › Add tiles,
…&add=1in the address), slid to by the one level shell. Below, the panel’s own folder browser in an add mode (the folder rows are the browser’s, the tiles are pictures in a two-column grid, the pictures loaded as the drawer’s were); pressing a tile puts it on the nearest free square through the same intent (addTile, settled by the program under the file’s lock), dragging drops it where it is let go. The folder it browses is in the pane’s own header, not the trail, and is kept for the session. Above, the piece list, compact: the row of the tile just added lights up, a row leaves Add for that piece, and a panel under about 540 px high folds the list to one line. The bottom rail is deleted with its own folder walking (the drawer, its model and its style); the settling of a level that is gone is one pure function (settledLevel) for the browser and the pane, and what a folder level draws is one function of the model for both. - A single-colour Bambu project is grey: its one filament took the earth’s brown; it is the palette’s single-colour grey now (the connector’s, which has no filament of its own), from one place.
- The map crossfades a change of resolution: when a piece's mesh changes (a box becomes a tile, super-low becomes low, low becomes full, or back) the old mesh stays drawn under the new for about 0.3 s and each pixel goes to one of them by an 8 × 8 Bayer pattern in screen space (the new one keeps the pixels under a threshold that rises from 0 to 1, the old one the rest), so the two share every pixel exactly: no holes, no transparency to sort, depth right, and the paint and overhang red and orange are each mesh's own throughout. A swap that comes while one runs goes on from the blend it has, a piece that leaves the map mid-fade goes at once, an old mesh is freed once nothing draws it, nothing draws while no fade runs, and with reduce motion the swap is at once. The rules for the layers are pure (
web/preview/js/viewer/crossfade.js) and tested. - One level shell for every document: a map’s levels slid by no animation while a tile’s did, because the map panel switched its own levels and the tile’s shell never saw them. Now one shell (
editor/levels.js) shows the level you are at for every kind of document, from one table of levels (LEVELSinnav.js: the tile, an entry and a control; the map, a piece and a property) and slides by depth (slideBetween: deeper from the right, shallower from the left, none between documents). The map’s levels are views drawn into sections of the shell, like the tile’s, and keep their scroll, put the keyboard in the new level after a slide, take the arrow keys between rows, return the keyboard to the row you came from, and honour reduced motion by the same code; ⌘] goes back down a map’s levels as it does a tile’s. The map panel’s own level switching is deleted, and a test fails if a view shows, hides, animates or names the level on screen. - The map’s detail by distance holds still, and the near tiles are full: a piece goes up a tier at one size on screen and down only at a smaller one (low to full at 120 px and back under 90; super-low to low at 40 and back under 30), so a small camera move can never change a tier; the tier a piece wants is a function of its size and the tier it wanted before. The triangle budget is a total order that does not depend on the order of the list: by size on screen, a piece that holds full counting one and a quarter times its size so another takes its room only by being clearly bigger, then the nearer, then the id; fulls are lowered before lows. The budget is 5.5 million triangles (it was 900 000, with a full guessed at 350 000 against 330 000 measured on average, so that only two or three fit), so a 4 × 4 map close up is all full; the page asks for every full the budget holds together instead of one at a time, and withdraws a build the camera has moved away from.
- One trail, one address: a map’s levels continue the page’s own crumbs, Places › My tiles › first-plate.dmap › 8 pieces › Seed, built by the same function as a tile’s (
crumbsFor, given the depth), and the map panel’s own heading and crumbs are gone. The address in the URL is one derivation of that path, written by one effect (editor/address.js) with one rule for when it takes a step of history (stepsHistory): the three writers (the folder level’s, the tile’s and the one that reset it when a tile opened) and the gate each carried are deleted, and a map’s pieces and property are in it (&pieces=p2,p3&prop=seed), so a reload and Back and Forward keep the level. The ‹ button climbs the trail one level before it leaves for the folder, as Esc and ⌘[ do, for a map and for a tile. - A map no longer stalls on “loading”: when a map’s meshes were already built, the program said so while it was still answering the page’s request for them, and when that word came first the page dropped it and the piece waited for ever (the program idle, the status line saying “loading”). The page now holds what comes before the answer and matches it when the answer names it, so which arrives first no longer matters.
- A reload keeps your place again: the folder level’s address was written over the tile in the address before the page had read it (with no tile open yet, the page counted as the browser), so a reload went back to Places. Nothing writes the address now until the page has read where to go from it.
- The stream and the messages are typed: every event of the event stream is one type in the program (
StreamEvent) and every message another (MessageJson, with the gate’s, a build’s, a server failure’s and a mistake’s numbers as types of their own), generated intoapi.d.tsand checked bytscagainst the page’s stream reader, the live updates, the messages store and the messages panel: a renamed or mis-cased field, or a resource the page has no case for, failsnpm test(it showed NaN mm² in the record). One convention, said inapi.rs:camelCase, except a message, which is its own document shared with the command line and an assistant and keepssnake_caseeverywhere. What stays untyped: the numbers of a check, an export, the plates and the inventory (no part of the page reads them by name) and a tile’splan(one shape for a tile, another for a print list or a map, read by name in many places: its own piece of work). - A map says it is loading, the way a tile says it builds: the pieces of a map being built are one job of its document, told as the document’s progress and as a running message (Loading the pieces of first-plate), with the pieces done of the pieces asked for, the piece being built and an estimate once one is done. The status line (loading 30% · 3 of 10 pieces · 1x1-grass), its bar and the messages panel’s running row all read that one record, the same one a tile’s build is, and the map’s own count of N loading is gone. A job ends cleanly when its last piece is done, withdrawn or superseded, and a piece that cannot be built is an error in the panel.
- A selected piece looks selected on the map: the rest of the map fades behind the selection, the way the rest of a tile does, with the one machinery: the map’s pieces take the tile’s fade state (
applyFade), so the amount (FADE, with the hover’sHOVER_RESTandHOVER_LIFT) and the tween (FADE_IN,FADE_OUT,HOVER_S) are the same code, not a copy; each piece is told its part in it (selected, under the pointer, the rest) and is drawn through the same two passes. Clearing the selection brings everything back with the same tween; the outline stays. Pointing at a row of the piece list lifts all its pieces. - The map's piece list carries the shelf: the pills no longer float over every piece (a switch in the … menu, off until turned on, still shows them); the panel lists the pieces instead, in Placed, Not placed and Left off, a row per tile with its count, have, to print and other colour, with a sort (Name, Count, To print first), a filter (All, To print, Have, Other colour) and a search over the names, kept for each map. Pointing at a row outlines its pieces in the view, pressing it selects them, and a selected piece's row is marked and scrolled to.
- The 3D view owns its camera: the page tells the view what it shows (the tile, map or plates, in which view, which preset was asked for, the map’s box and the piece Close frames) and the view decides where its camera goes from that alone, with one memory of the last view you left each document in each of its views. The five places that used to move the camera (the build’s following, the opening of a tile, the map’s mount and unmount, the preset buttons and the reframing on a resize) are gone; a test fails if a part of the page outside the view moves it. A map opens framed on its pieces, a preset frames again when pieces arrive, a tile being built widens to take in each part and settles on the finished one, a view you moved stays where you put it, and going back to a document restores its view, as before; a map now opens on the preset you last chose (it always opened on Iso).
- The page is drawn by Preact, one panel at a time: Preact, htm and @preact/signals are vendored beside three.js (no build step, nothing fetched at run time). The page’s facts are signals (every document’s state, each key of what the program says and of the view), the panels read them, and a panel is drawn again by itself when one it read changes, so the hand-written redraw and its signature string are gone. Every panel is drawn this way now: the map, the plates, the printer chooser, the places and folders, the inventory and the tile’s property sheet with its levels, crumbs and strip. They look the same and keep their slides and scrubbing; a seed or length you are half way through typing, the printer search, a spacing field, a reprint form or the sheet after a print are no longer lost when the file changes under them, and after a scrub and an Undo the sheet no longer fails to come back. The mode of a map (Map or Plates) is worked out from the document and your choice, not stored. Every call of the page goes through one request layer: of the checks, names, offers and drafts asked in a row only the newest one’s answer is taken, whatever order they come back in, and a write is never dropped. Which file the Source shows is the id of the document it holds, not a second variable.
- A change is told as what changed: the places, the build target, the printers, the inventory and the list of tiles are each a resource with a revision of its own, and the program sends one on the event stream only when it changed (a new folder no longer resends the inventory or the tiles, and the page takes each into its own part of what it holds); the whole is sent once, when the page connects. The answer of a call that changes the places or a folder (adding or removing a place, making, renaming or trashing a folder, moving, copying or restoring a tile) no longer carries the list: it says the revision of the stream its change was told at, and the page waits for its stream to reach it (and says so, loudly, if it does not within five seconds), so a change has one way into the page and a new folder leaves the tiles and the inventory the very same objects. A map’s scene and its plates always name the same revision of the document. Reading a map remembers each tile’s size while its file is as it was, so an edit of a map answers in about a tenth of the time it did.
- The program decides where a piece goes and which seed it gets, in the same write: turning, moving, copying and placing pieces, adding a tile and making variants say what they want (“the nearest free square to here”, “a fresh seed”) and the program settles it under the file’s lock, with every piece placed so far, so two edits asking for the same square end on two squares and a seed is never handed out twice; the answer says which piece moved. Which pieces your inventory leaves off, and how many print, are the program’s too. The page’s own working-out of all three is gone. The page asks the program for a map’s tiers by sending the set it wants (a new set replaces the last, so a piece it lets go of is withdrawn and its build cancelled) and fetches each result when the program says it is ready, so a map of many pieces no longer holds up an edit; a mesh is fetched by the revision of the document it is of and one of another revision is refused.
- A tile’s source is a document like a map’s: what is on disk, and the revision of that text, is held in one place on the page (the documents module) and is taken only from the program’s answers; a save goes through it, in turn after any other change to the same document, against the revision of the text you read (never a later one the stream only announced), and a file that moved on is refused with the disk’s text for you to choose. Putting a tile on a print list you have open names that list’s revision.
- The editor and its page speak one contract: every call the page makes has one request type and one answer type in the program (
crates/dharmatiles/src/preview/api.rsandcalls.rs); a request with a field it does not take, or without one it needs (every edit names thedocRevit was made against), is refused with a 400 that names the field, and no route builds its answer by hand.web/preview/js/api.d.tsis generated from those types and a test fails when it is stale; the page’s one request layer and the files that build requests are checked against it bytscinnpm test, so a field renamed in the program fails in the page’s own code. Every failure has one shape with an honest status: a document that does not read is a 422 with its mistakes (it was a 200 withok: false), a refusal is JSON with its status (never plain text), and the page reads them one way (whyOfinproblems.js). One field-name convention,camelCase, on the wire. Putting a tile on a list from a list you have open names that list’s revision. - The ground is solid: seen from below, the backdrop's ground is earth (soil under the Wilderness meadow, rock under the cavern, the table's underside), and it hides what stands on it, on the map and in the tile editor alike (choose Plain to see a tile's underside through nothing); below the horizon the world is dark, because it is underground; the Wilderness sky is a clear gradient down to the mountains, with no clouds.
- Every map and print list has one owner: the program numbers each document’s states (
docRev, a number that only rises, bumped by every write it makes and by a change it finds on disk), writes each document under a lock of its own, and says the number in every answer and every event; the page takes a state only if its number is newer, every edit says the number it was made against and a file that moved on is refused with a 409 and its current state (nothing is overwritten), and the four-second hold of a map’s scene is gone. Pieces are named by id, never by position (the first edit of a file whose pieces have no ids writes one on every piece in the same write and says so once), the selection is a set of ids, and the panels’ buttons hold ids and look the piece up when they run, so two quick turns are two turns. Undo and Redo are one history for the page (text steps, the map’s changes, print-list counts, pins, the printer, the Source’s saves), driven by the title bar and ⌘Z / ⌘⇧Z, each step made against the revision the history left; the title bar’s chip and the status line read the document’s own state. A test runs hundreds of random sessions of actions with answers and events arriving in any order and checks that every view equals a fresh working-out from the newest state. - The editor no longer loses your work to itself: every document the editor writes (a tile, a map, a print list, a printer, the folder list) is written whole or not at all, through one function the code must use (a test fails the build if the server writes a document any other way); Undo of a map or print-list edit is refused, with the file’s current text, when the file changed since the edit (in another tab or your text editor), instead of writing the old text over it; the build call takes the session token like every other call, so a page of another site cannot make the editor build;
dharmatiles mcp --httprefuses a Host or Origin that is not the loopback, a request that is notapplication/jsonand a body over 4 MiB; a print list’s revision and its plan now come from one read of the file; the page lets go of the meshes of pieces it no longer shows; and the viewer’s render and view-change hooks are lists each part adds to, no longer one slot the last part overwrote. - Map fixes: a tray line with several copies is placed: Place puts one on the map and Place all every copy, each copy a piece of its own with a seed you do not own; turning a piece from its panel twice no longer moves it to another square (the panel's buttons held the piece from before the first turn, and it stood in its own way); choosing a printer for a map or a print list shows at once in the title bar's chip and the status line (they waited for the whole new plan, and a plan due again still said ready), and the chip's own card, on a map or a list, now changes that document's printer, the one the chip names; a map opens framed on its pieces, not on its printer's bed, and a named view re-frames when the map's pieces arrive even while the camera is still flying to it.
- Printers at scale: one printer chooser everywhere a printer is chosen, the title bar’s target card as well as the plates panel: a search, brand then model, your own profiles in a group of their own, a profile whose numbers carry
verifymarked unchecked, and an AMS-style variant (x1candx1c-ams) shown as a switch under its model instead of as two models.dharmatiles printers import(and Import from Bambu Studio… in the chooser) reads the machine profiles of Bambu Studio, OrcaSlicer, PrusaSlicer and Cura installed on the computer, follows theirinheritschains, and writes profiles of your own inprinters/with only the bed, height, nozzle, zones kept clear and filaments, marked with a newfrom-slicerword; nothing is written to a slicer’s folders or to the library (their licences are on the Printers page). The library gains Bambu Lab X1, X1E and P1P (each with an AMS profile) and the Creality Ender-3 V3 and S1, hand-written and marked verify. - The title bar says which printer: on a print list or a map the printer chip says the printer the document uses (“Bambu Lab X1 Carbon · this print list”), as does the status line, instead of the target tiles build for; the first half of the Tile | Source switch is named for the document (Tile, Map or Plates).
- A piece no longer stands off its square in the plates view: the view’s thinned mesh was centred by its own smaller box, not the box the packer measured, so a piece with thin ends could be drawn past the bed’s edge. The exported files were always right. One function now places a piece for the 3MF, the STL and the view, and a test keeps every piece within its footprint in each.
- A piece’s
bottomon the map: the word isbottom(it washeight, which now says so at its text): where the tile’s zero, its ground level, stands above the map’s ground, 0 by default, so the connector is buried under the ground and a tile stands on it;bottom="50mm"stands the zero 50 mm up with the connector hanging in the air. The map’s ground sits at zero and hides what is below it, from above, from the side and from underneath; the tile editor still shows the tile’s connector. - Maps: a
.dmappiece withat="(2sq, 1sq)",rot(0, 90, 180, 270 clockwise),bottom(a$name or a length: the height of the tile’s zero above the map’s ground, 0 by default),seedand an id (piece p3 "lib:tiles/walls/1x1-wall-stone" …) is placed on a grid of squares of its own system; the map may saygrid cols=8 rows=5andlet $plinth "20dmm", and a print list is a map whose pieces have noat. The title bar has a Map beside Tile and Plates: a document with placed pieces opens as a map, the program reads its scene at once (each piece’s tile, seed, place, turn and bottom), and the 3D view draws every piece’s mesh placed, turned and raised with Iso, Top, Low and Close as presets. The panel’s levels are the map, one piece and a property; Open tile goes to the tile with the map one click back. See Maps. - Placing and moving: a catalog drawer along the bottom of the map (the folder level with each tile’s real picture, its size and have or need; press a card to put the tile down, drag it to choose where), dragging a piece or the selection in a view looking down (snapping to the squares of its own system, a place that is taken becoming the nearest free one), R to turn, D to duplicate, ⌫ to remove, New map in a folder you own; every change is an edit of the map’s text with Undo (the toast, or ⌘Z) and the view shows it at once.
- The backdrop: Wilderness (the default: a mottled green ground with a faint grid under a horizon of distant blue-grey mountains, sky and cloud; evening in the dark theme), Cavern, Table and Plain (today’s look), chosen in the ⋯ menu, remembered in the browser, used for the map and the tile editor and never written into a document; the plates keep the printer’s bed; every piece casts a soft shadow on a ground at the lowest underside.
- Detail by distance on the map: each piece is drawn at super-low, low or full by its size on screen under a budget of about 900 000 triangles (the smallest on screen are lowered first); full is asked for only when close, one at a time, and never blocks; a new variant keeps the old mesh until its own swaps in; the status line says low · not yet checked and how many pieces are at each tier.
/api/tiles/ID/tiertakesseed,systemandprinterand afulltier. - Variants, seeds and the inventory on the map: New variant, All of this tile, Whole board and New seed for every piece I don’t have give pieces seeds you do not own (what you have stays as it is); new pieces get a seed you do not own too, and Same as one I have is a choice, the seeds you own listed as chips on the piece’s Seed level. Have and to-print pills sit over each piece (caution yellow where only the other colour mode is on the shelf), N in inventory · M to print is in the title bar chip and the status line, and Print what’s missing goes to the plates for the map.
- A crown over a taller neighbour is a note in the stream, found from the pieces’ real shapes (their low builds) and never a refusal.
- Pins on the plates: looking down on a plate, drag a piece and it is pinned where you drop it: a
pin p4 plate=1 at="(0mm, 120mm)" turn=90line inside the map’splatesblock, read with its mistakes at their text. The packer puts pinned pieces down first and packs the rest around them (a plate with a pin is not centred), says which pin could not hold, and the panel lists the pins with Unpin. - The stack is drawn as the tile stands: the tile level lists the stack top of the tile first and the base last (each row keeps its number in the written order), Add to the stack is its first row (what stands on top), dragging, ⌥↑ / ⌥↓, Move up / Move down and Add above… / Add below… follow the rows as drawn, and the order checker says before and after (“list a
dirtbefore it”) so its words read the same in the stack and the source. - One panel button: the panel is shown or hidden by one button at the left of the title bar (or \); the Layout menu and the view’s Panel button are gone, and Panel on the right is in the ⋯ menu.
- The messages take room from the view: the messages panel sits under the 3D view instead of over it, the view shrinks to what is left, and Iso, Top, Low and Close frame the tile in the visible area (by its narrower side), framing it again when the view is resized, until you move the camera yourself.
- Plates are centred: a plate’s pieces are moved together to the middle of the bed, both ways, instead of gathering at the front-left corner (an excluded zone in the way shortens the move).
- The messages panel resizes: drag its top edge up or down; double-click the edge for its usual height. The height is remembered in this browser.
- Print lists from the editor: New print list in a folder you own writes an empty
.dmapfor the printer last chosen; Add to print list on a tile's level (and in a tile row's menu) adds one more copy to a list or a new one, raising thecountof a piece already there at the same seed and system; the plates' panel lists the pieces with −, + and ✕; every change is an edit of the list's text with Undo, shared with the inventory's Reprint. A print list has the Tile and Source switch: Source edits and saves the KDL, mistakes shown at their text by the print-list reader, and a save lays the plates out again. - The plate filament check respects
leaves=bare: a winter tree has no leaf material, so a list with one is no longer refused as needing five filaments where four are held (the estimate stays an upper bound for the other words:clumps-onlyandonare still leaf). - The inventory:
inventory.dinvin My tiles is a log of what you have printed, a KDL v2 document with a line for each print (print "lib:tiles/ground/1x1-grass" seed=97 system=db colour=multi result=ok on="2026-11-09" hash="3c1f9a4e" from="crossing/plate-1"), loss (gone) and rename (renamed), read with spans and mistakes at their text; counts are worked out from it and never stored. A piece is the same piece when its tile, seed, system and colour mode are the same (DungeonBlocks and OpenLOCK never count for each other; two prints are two; a failed print is kept and does not count; edited since printing is information only).dharmatiles inventory [list | have | gone | relink]reads and adds to it; nothing is made until the first line is written. A print list's piece takesprint=missing(the default),alwaysorskip, theplatesline takesinventory=check|ignore, anddharmatiles platesprints only what the inventory lacks (--allprints every count, and a list that is all on your shelf says so). See Inventory. - The inventory in the editor:
inventory.dinvis listed in My tiles and opens as a view (the pieces grouped by tile, filters for system, colour and have, Gone and Reprint on each piece, a one-click Re-link for a tile that moved, and Source for the KDL); tile rows in a folder carry have and need pills for the target system; a tile's level says 3 printed · seeds 7, 12, 97 and has I have this; the plates' panel says N in inventory · M to print with a switch for Only what I don't have, shows have, single colour in caution yellow where only the other colour mode is owned, and, after Export or from any plate, a sheet listing the plate's pieces all ticked good, where unticking the failures and one press adds the rest to the inventory. Renaming or moving a tile (or a folder) in My tiles adds arenamedline so the counts follow. - Print lists and plates: a
.dmapdocument lists tiles to print (piece "lib:tiles/ground/1x1-grass" count=8 seed=12 system="ol") and, on aplatesline, the printer, the print mode (single colour or multicolour), the grouping, the gap, the margin and turns; it is read with spans and mistakes at their text, and listed in folders.dharmatiles plates my-list.dmapbuilds every distinct piece in full (from the cache when there is one), packs them onto the printer's bed large to small by each piece's real footprint (a tree's crown over the edge included; a 256 mm bed holds 6 × 6 squares, a 220 mm bed 5 × 5) keeping clear of the printer's excluded zones and never needing more filaments on a plate than the printer has, and writes one Bambu Studio project with every plate (objects and instances placed on their plates, paint per triangle in multicolour, none in single colour, the settings of your template; round-tripped through Bambu Studio: plates, instances, positions and paint survive), or one STL (or plain 3MF) per plate for another printer. The printer's filament slots are checked before anything builds, and a multicolour grouping that costs a plate says so and offers packing by size only. Only a full, gate-checked build is exported; a low or super-low build never is. See Plates. - Plates in the editor: a print list opens with the printer's bed drawn in the 3D view as a translucent slab the pieces stand on (its excluded zones shaded) and the plate in view on it, built from low meshes marked not yet checked while the full builds of that plate run, then laid out again by what they cover; the panel holds the plates with what is on each, the printer by brand and model (with an AMS switch), the mode, the spacing and an Export button, each setting rewriting the list's
platesline; the title bar has a Tile and Plates switch. - Printer profiles by brand and model: a printer profile is also a machine. Beside its floors (
line,layer,overhang,steepest,gap, which keep working as they were and which a machine may leave to the default profile) it can holdbrand,model,bed,height,excludedzones,nozzle,slots(filaments), a slicertemplate, averifymark and afromprofile to start from. The library has 41 of them underlibrary/printers/<brand>/(Bambu Lab, Prusa, Creality, Elegoo, Anycubic, Snapmaker, Sovol and Voron, withbambu/x1candbambu/x1c-amsandsovol/sv06among them), the rows whose sources disagree marked verify in the file;--printer bambu/x1cbuilds for one (the output folder isout/db-bambu-x1c/, and a build is byte for byte what the default makes), your own go inprinters/beside your tiles, and Printers lists them. A mistake in a machine is shown at its text. - Three resolutions: full is the finished build; low (about 15 000 to 35 000 triangles, 0.1 to 1.6 s, against 0.2 to 1.7 million and 1 to 5 s) is built on purpose with the same places drawn with less detail: rocks as hulls, grass as a carpet, trees as smooth branches and rounded clumps, walls as sharp blocks, cliffs carved coarse, the ground meshed within a third of a millimetre, no union and no gate (faces flagged by angle, overhang still painted); super-low (at most 12 000) is cut from it. A low build says not yet checked, is never printed or exported (
build --tier low --pngwrites views only and refuses--3mf), anddt_eval::build_tierandGET /api/tiles/ID/tierserve a tier by name. The tile editor keeps full builds and the draft while dragging; a stored low preview shows only while a tile builds and nothing earlier of it is kept, marked low · not yet checked. - The library’s previews are super-low:
cache previewskeeps about 0.7 MB a tile, 41 MB for the library, instead of the draft thinned to 400 000 triangles (374 MB). - Where things stand is recorded, and the tiers agree on it: every build carries where its rocks, trees, flowers and grass clearings were placed (
Built::placed, before any detail is drawn), kept in the disk cache with the build, and the cache has three tiers of its own, full, low and super-low (the editor’s draft is a fourth, never kept by the program), so the three of one tile are three entries. A build option,cells, sets the lattice by hand. Measured on the library: rocks and flowers stand at the same coordinates at 32, 48 and 128 cells, but a tree’s site is picked from a list of lattice nodes and moves 3 to 10 mm with the lattice, and a cliff’s scree changes its count; making those lattice-free would move the full builds’ trees and so their hashes, so the lattice is not what tiers vary: a low build keeps the full build’s lattice and a test checks that it places everything where the full build does. - A big tile opens from the cache in a third of a second: the page's view of a finished build was painted twice (once with the overhang paint, once without) and the ground surface under the paint was worked out twice, a pass that took 3.5 s on the 1.67 million triangle cliff. The two sets of colours now come from one painting (the overhang paint is laid over the clean one, as the painter always laid it), the surface's relief pass and the painter's per-face passes and the page's buffer are filled by all the threads, and the view encoding of the cliff drops from 7.4 s to 0.33 s (the grass tile from 0.15 s to 0.05 s). The bytes the page receives are identical, and a test checks them against the one-by-one encoder.
- A cache of builds on disk: a finished build is kept in one cache folder (
$DT_CACHE, else~/Library/Caches/dharmatileson macOS or$XDG_CACHE_HOME/dharmatiles; at most 4 GB,$DT_CACHE_LIMIT, least recently used out first) under a SHA-256 of everything the build read: the tile and every part it used (their text), the system, the printer profile’s numbers, the seed, the resolution (full or draft) and the engine, which is the version and a hash of the source that decides what a build makes, so a code change in a checkout can never serve old geometry.dharmatiles buildandbuild --allread a build whose key is kept (the STL is still written, byte for byte the same; a second sweep of the library takes seconds) and--no-cacheskips it; the preview opens a kept tile with no build, says passes · cached and From the cache in the status line and the messages, and Export reuses it. A damaged entry is reported (a warning in the messages and on the terminal), removed, and the build that replaces it is real.dharmatiles cacheshows the folder, entries, size and limit;cache listlists them;cache clearempties it. Output and every hash are unchanged. - An earlier build shows while a changed tile builds: change a tile (or a part it uses) and open it in a fresh run, and the cache’s older build of it for the same target shows at once, the status line says rebuilding, and a message names the build it is; the new build replaces it, and a failed one takes it off.
dharmatiles cache previewsbuilds the draft of every library tile, thinned to what the view shows, into the cache (or, with--into, into a folder an install copies into it), so the library has something to show the first time; a tile with only a preview shows it the same way. - Places and folders: the top of the panel is Places (My tiles, the folders you added, the Library, the Tests) and the levels under it are folders: a place opens to its subfolders and then its tiles (name, size, a picture of the footprint, a dot for the build), a subfolder is another level, and the crumbs run
Places › My tiles › dungeon › combo › tree › trunk height
with the same slide and a strip that says how many tiles the folder holds and where it is on disk. The old tile browser and its root tabs are gone: the crumb, ‹, ⌘[ and the start with no argument all land on these levels (the start with a file named still opens it). A folder level is in the address (#place=…&dir=…), a filter searches the whole place, and the folder level lists documents by kind from one table. - Folder actions: in My tiles and the folders you added a folder level has New tile and New folder, and each row a ⋯ menu: Rename… (F2), Duplicate, Move to…, Move to the Trash (⌫) with an Undo that puts it back. A tile is moved by dragging its row onto a folder row, or onto a folder in the crumbs. Delete is the Mac’s Trash, never a hard delete. Every call refuses a place you do not own,
.., a link that leaves the place, anything that is not a tile document or a folder, and a name that is taken, and answers with the new list. - Add a folder with the Mac’s chooser: Add a folder… at Places shows the system folder chooser (the program shows it; the page never sends or types a path), keeps the folder in
places.jsonin~/Library/Application Support/dharmatiles/($DT_SETTINGSfor another folder), and lists it at once and after a restart. A cancel does nothing; a folder inside a place, one that holds one, or the library’s is refused. Take off the list leaves the folder and its tiles on disk. - Editing from the structure: a stack row has a ⋯ menu (Rename…, Hide, Delete, Move up, Move down, Add above…, Add below…; also F2, Delete, ⌥↑, ⌥↓ and the menu key on a row), the stack ends in Add to the stack and the Shape in Add line and Add region. Delete and Hide give an Undo line, not a question. Add lists every element, those the plan lets stand at that place first and the others with the plan's reason (
POST /api/tiles/ID/offers: a default instance of each element planned at the place), writes the entry on a line of its own and opens its level. A stack row can be dragged by the mouse (a line shows where it will stand; Esc cancels): the newmoveedit (POST /api/edit {op: move, at, before},dt_doc::edit::move_node) carries the node whole with the comment lines above it and its children, never doubles a blank line, and leaves a hidden entry where it is. A refused order is let through and the check says why in its own words, with an Undo. A move never writes anid=; the line over the view says when it swapped the looks of two same-named entries, and Rename… writes theid=that pins one (it draws that entry's look once, then keeps it). Ascatterwritten inside adirtmoves with it, and an entry a definition call makes (callin the stack's items) is moved, hidden and deleted as the call.inserttakesplace: beforewithat. - Pictures in the Shape: a region row wears its mask as the build paints it (the map's own cells), a line row its points.
- A node a gesture wrote is selected once it checks: the editor read the byte it was waiting for after clearing it, so a stack entry written from a gesture was never selected; it is now.
- One panel, many levels: the sidebar's source and property sheet are one panel that shows one level of the tile at a time, full height: the tile (its own controls, the stack in build order with a dot on a row that has messages, then its lines and regions), one thing of it (its sheet), one control of that (a range's odds, a height's names, the value in a wide field the program checks as you type). Choosing a row slides to its level (about 200 ms, an instant swap for reduced motion); ‹, a crumb, Esc or ⌘[ slides back to where you left it, ⌘] goes down again, ↑ ↓ Enter move through the rows. One set of crumbs over it (‹ home › meadow › grass in bank › length) and a line or two of context under it (3rd of 5 in the stack · at=bank).
- Tile | Source in one column: a switch beside the crumbs turns the panel into the source and back, keeping the selection: the cursor goes to the level's line, and an entry the cursor is on is the level when you flip back. Clicking a thing in the view slides the panel to it; the level in the panel is what the view lights.
- The level is in the address:
#tile=…&at=tile/rock/2&control=size(andface=source), so a reload lands on the same level and the browser's Back and Forward step through the levels. The Layout menu is Panel and Look (the source-over-properties and three-pane layouts are gone with the panes); \ hides the panel, and [ and ] no longer hide panes. - One stream of what happened: every check, build (with its timing), gate verdict (with its numbers), export and failure of the program's own is one typed message (kind, severity, time, tile, stack entry and span, code, text, help, data, open or cleared) with one text form and one JSON form, kept per tile: a new check or build of the same kind clears what it no longer reports. It travels as
messageevents onGET /api/eventsand is read atGET /api/messages?tile=&since=&state=&format=text|json, so the notes the checker makes (dt::steep,dt::edge), which never reached the editor, are shown, and an assistant reads what the page reads. Failures the page meets (showError) join it (POST /api/messages). - A status line and a messages panel: a 26 px status line under the view says the verdict, the counts (1 error · 1 note), what the save is doing and the build target, with a thin progress bar on its top edge; pressing it, or ⌃J, opens a panel with the build (running, then its record with the gate's numbers), and a row for every open message with Go to line, Show on tile and a copy icon, filters and Copy all. While a build runs the last build's rows stay dimmed, then what it fixed goes (1 cleared by this build). The floating error card, the gate record card, the progress strip and the title bar's verdict chip are gone; notes have their own yellow (
--caution) and their own mark in the source's gutter. - The top camera is called Top: the view button that looked straight down was labelled Map in the shortcut row and Top in the Display menu; it is Top in both, and the word Map is kept for a map document.
- The first change to a library tile copies it, and keeps the change: there is no question, no strip over the source and no banner in the sheet. The key you typed, the value you changed or the gesture you made is made in the copy in My tiles (typing 7 after
seed=1givesseed=17, not a lost key), and one line over the view says so, with Undo, which returns to the library tile and deletes the copy (POST /api/tiles/ID/delete, only for a tile in a folder the preview lists, never the library). A small library chip beside the name says what the tile is. - The source pane is all source: the 39 px source bar and the 32 px instruction line are gone (the bar remains only while a part of the tile is shown, with Back to the tile); saved, saving and not saved are in the title bar. At 1147 by 650 the source gets 72 px back.
- The ⋯ menu is Display, and Layout has its own: paint, overhang, wireframe, grid, projection and the views are in Display; where the panel is (The panel on the right) and Look are in Layout, beside it.
- A build's mistake is marked at its line:
dt::lookanddt::buildget the gutter mark and the wavy underline the check's mistakes always had. - The property sheet reads right: a range written with its unit (
3.5dmm..6.5dmm) is not given a second one, a region's boundedBy group is headed paint bucket instead of repeating its own row's name, and a sheet that goes on below the pane says more below. - A tree with nothing written builds: a bare
tree(notop=, no trunk) was refused every time, its 30dmm default trunk leaving a 40dmm tree's crown 0.2 mm under its clumps. The default trunk is now18dmm, the library oak's. - An element's refusal is a mistake in the tile, not a bug: when an element can only tell at build time that a control cannot be built (a top too low for the crown, a trunk too tall), it is
dt::look, shown at the entry with its help like any mistake.dt::build(“a bug, not a mistake in your tile”) is kept for failures inside the program. - Every entry in the error panel copies its details: a tile's mistakes and the bugs met building it now have a copy icon, as the program's own failures have Copy details. It copies the code, the file, line and column, the words and help, the source lines round it and the environment (version, target, printer, tile, browser, time).
- A format 0 document is refused: the program reads format 1 only. A document with no header, or
version=0, stops withdt::format-0(its help names release 1.0.0, which carried a file over) wherever it is read:check,build,watch, the preview and the editor. It used to load migrated in memory with adt::migratedwarning; that warning, the editor’s Update this file and theread_from_formatfield of the build’s JSON record are gone.dharmatiles --versionnow says(tile format 1.x). dharmatiles migrateand thedt-migratecrate are gone: nothing reads format 0 any more, so the command, its crate (the format 0 decoder, the older-language step and the move to format 1), the format 0 branches left in the decoder and the tests that wrote their documents in format 0 are removed; the tests hold format 1 text. Release 1.0.0 (tagv1.0.0) and the repository history keep it, and thedt::format-0help says so.- Cache keys are made of values, not of printed text: the in-memory step cache and the disk cache both key on one canonical form of what a build reads (every float by its bits, every text and list with its length, nothing of where a value was written), and the disk cache digests it with the
sha2crate in place of its own SHA-256. The disk cache’s format number is 2, so entries kept by an older program are ignored (they are cleared as they age out) and nothing is misread; builds and hashes are unchanged. Weighted ranges and seeds live in a small crate of their own,dt-value, which the geometry kernel no longer holds. - Small debts paid:
smoothis one function (indt-lang) where it was defined four times; the twohullfunctions are different (Manifold in f64, parry3d in f32) and each says so; dead parameters andlet _ =lines that hid them are gone (a fieldstone no longer takes a height field it never read); a cliff stone whose top the band jumps across and is cut flat at the band’s lowest high is now counted in the build’s left out report (cliff stone tops cut flat at a band’s step) instead of changing silently; and comments say what the code does, not who asked for it or what it used to be. - Two ranges are two rolls in a
top=too:top="$groundHeight + [1dmm .. 2dmm] - [1dmm .. 2dmm]"is a band from -1dmm to 1dmm whose heights come up as two dice do, most often near the middle, as the same text in a control value always did (it was one uniform roll over the whole band). A sum or difference of two ranges, with odds or without, no longer has to be one range written round the result:low(0dmm .. 2dmm) + [0dmm .. 2dmm]builds (it wasdt::cloud). Still refused: a cloud multiplied or divided by a range, a range divided by a range, dividing by a cloud,sin,cosorabsof a cloud. A tile whose top adds or subtracts two ranges builds differently; every other tile is unchanged. - One evaluation of every value: a control's value, a body's top, a pin, a tree's crown and the checks of a number all walk an expression the same way, in one place, with one table of functions; the rule for ranges is stated once in the language guide.
- A body's
topis a control of its element:dirt,water,flagstones,planksandclifflisttopamong their controls, and so dorock,stone,boulder,pebbleandtree(a height worked out where the thing stands). It shows on the element's page, indharmatiles elementsand as a faint row in the property sheet with its help before it is written. - The tile, lines and regions are described by the program: the property sheet of the tile, a line, a region and a region's
withinandexceptclauses is drawn from the same description of controls the elements use (name, unit, default, help, link to its page), served by the program, and the editor's own copies of those words, of the unit names and of the elements' colours are gone. - Names typed a moment ago complete: the editor asks the program to read the text for its definitions, regions, lines and points a moment after each change, so a
definetyped seconds ago is offered at once and one inside a comment or a string is not. - A selected cloud is easier to read: the span drawn at each tree tip or stone, and a sheet's contour, are lines a few pixels wide instead of one, and are drawn in a colour of their own (
--cloud, a blue) instead of the teal of the selection's outline, which a rock's cloud used to share. - The debug layer no longer rebuilds the tile, and clouds do not need it: the clouds a selected
top=or pin is drawn from now travel in a section of their own, collected for every editor build and every draft, and the debug layer's own marks (the grass starts and spines) are collected only while the layer is on, asked for by the page with the build or draft. Turning the layer off rebuilds nothing, and a scene kept by the build cache is no longer keyed on it: one kept without the marks is not given to a build that asks for them, one kept with them serves any build. - Clouds are found by the program, not by looking at the text: the program tells the editor where each entry's
top=and eachpinis written, so one inside a//or/* */comment, a hidden/-node or a raw string is no cloud, and thetop=on a call of a definition is the cloud of the tree inside it. A body'stopis now a row in the property sheet, so focusing it selects its cloud as a tree's already did. - A body in a definition builds: a
dirt,water,cliff,flagstonesorplankswritten inside adefineused to passcheckand then failbuildwith “this dirt has no solved top”; its top, pins and slope are now read where the definition is called, like those of the tile's own entries, and it builds. Two calls of one definition are two bodies. Atop=on a thing that does not take one, inside a definition, is now refused as not built yet (it was ignored there). - The editor follows an entry by its identity, not its place in the list: every stack entry has a key (its seed path,
tile/grass/0, or itsid=) and the mesh the program sends carries the stack it was built from, so the view decodes hover, click, the tint and the pieces against the mesh on screen and the sheet and the text against the text now. Writing a line above an entry, or moving one, no longer points the selection, the hover or the tint at another entry while the previous mesh is still shown. - One error panel, from the server to the screen: every failure in the editor, whether it began in the page or in the program's Rust, now shows the same way: a headline (the program's own words, or Something went wrong inside dharmatiles for a bug), a Details disclosure into the page's error and the server's causes and backtrace, and a Copy details button that copies a report with the version, build target, tile, browser and time. The server answers every failure with one error shape, and a panic carries its own stack.
- Smoother orbiting with the map shown: the editor no longer re-reads its colours for every region on every frame; they are read once per theme.
- A rebuild no longer wipes a field you are typing in: while a value in the property sheet is open for typing, the sheet is held as it is and redrawn when you close the field.
- The drawn cloud follows the caret: typing inside a
top=or moving the caret there by any means now moves the highlighted cloud at once, and a cloud no longer stays drawn from the previous tile after you open another. - No stale draft after a drag: a quick preview that came back late, for a value you had already moved past or after the real build had landed, no longer replaces the newer mesh; the last step of a drag now asks for a preview too.
- Page errors are shown, not swallowed: a bug in one part of the editor page used to be taken for a lost connection, or stopped the other parts from following a change, with nothing on screen; it now lands in the error panel and the rest of the page carries on.
- The sheet and the map wait for a clean check: a change made from the property sheet (a control, Hide, Delete), a handle dragged on the map or a node placed from the view is refused, with a note saying why, while the source has an edit not yet checked or a mistake in it; before, it could write at the wrong place in the source.
- Clouds on every top: a body's
top=and a pin's top may be a weighted range, a low surface, a high surface and one weighting (dirt top="$groundHeight + low(0dmm .. 3dmm)"), instead ofdt::weighting. Dirt and water roll one smooth surface whose heights come up as often as the weighting says (the roll is read by rank); flagstones, planks and cliffs take their heaved target from it. A pin replaces the cloud where it holds and the body eases back as it does today. Arithmetic:+ - * /by numbers,min max clamp smoothkeep the weighting; a negative factor swaps low and high with the odds turned round; two clouds, dividing by one andsin,cos,absof one aredt::clouderrors with the rewrite in the help. A plain range builds as before: no existing hash moves. Trees and rocks follow in later steps. - Tree crowns roll inside their cloud: a tree's
top=is a cloud like every top, worked out at each branch tip instead of once per tree. A tree reads$x $y $d $a $bottom $region: its own region is a disc round the trunk ($d0% at the trunk, 100% at the crown's rim,$around it) andparent($region)the region it stands in, so a grove taller in the middle istop="$bottom + 36dmm + 20dmm * (1 - d(parent($region), %))"(new test tile2x2-grove). The tips roll smoothly inside the cloud (neighbouring tips alike, ranked through the weighting) and the crown is stretched or squeezed to meet them. The crown overshoot goes: the clumps and leaves stood about 9 mm above the height asked for; the tips now stand a clump's depth under the cloud, so the whole tree stays at or under its high, and a top that leaves no room above the bare trunk is refused where it is low. Your own trees come out about 9 mm shorter for the sametop=, since it is now the height of the whole tree; add about9dmmto keep one as it was. Tree tiles change and are re-baselined (every other tile's hash is unchanged): the library and test trees' tops are raised by the overshoot they used to have (35dmmto44dmm,40dmmto49dmm, the tree row[35dmm .. 41dmm], the glade[39dmm .. 45dmm], the oak59dmm) so they keep their look. - Rocks take a cloud top:
rock,stone,boulderandpebbleaccepttop=(alone, in a scatter or in a part), a cloud worked out at each stone's middle with$x $y $d $a $bottom $region($regionthe stone's own disc,parent($region)the region it stands in). Each stone rolls one number in it, from one smooth field over the tile ranked through the weighting (a lone stone draws its own), and its peak stands there: the stone keeps its width and facets and is stretched or squeezed upward. A peak under 1 mm or over 120 mm above the foot is refused. Rocks without atop=build exactly as before. Two test tiles (2x2-rock-clouds,1x1-rock-tops). - A cloud is drawn as part of the selection: put the caret in a
top=value or apin, or use thetopfield in the property sheet, and that entry's cloud is drawn in the accent, as a selected region is: a surface's low and high sheets shaded node by node by how often each height comes up (the weighting's density at that end; a plain range is an even half), and a tree's branch tips and a rock's stones as short spans from low to high with a marker at the height the roll gave, shaded the same way. Pointing at a top's line, or the sheet's top row, draws it quietly. It is marks only: nothing reaches an STL or the gate and no hash moves. The debug layer keeps grass starts and spines. - A calm level that cannot be read is an error: a tile with water whose calm level (
$waterSurfaceHeight) fails to evaluate is now adt::calmerror at the water, with help, instead of water that quietly behaves as if uncalmed. A tile with no water is unaffected, and no library hash moves. - A region that cannot be made is an error: regions that name each other round a loop (or name a place that does not exist) are now a
dt::regionerror at the region, whether or not an element uses it, instead of an empty region. - Fallbacks are counted: when the kernel refuses a finishing step on a cliff stone (a chip cut, relief, a top crack, grain, or an outline for the stone's prism) the stone goes on without it as before, and the build now says so:
cliff finishing steps skippedin the summary's left-out line, andtree.leaves_lying_undrapedin a tree's stats. Nothing built changes, and no hash moves. checktakes the build target:dharmatiles checkaccepts--system,--printerand--seedasbuilddoes, so a tile that fails only on OpenLOCK (its units and sizes follow the system) is caught without building.- A broken library printer is an error, not a panic: the command line (
build,check,audit) reads the default printer withOptions::new(), which reports why it cannot (a broken$DT_LIBRARY) instead of panicking.
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--no-tests, 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.