Markdown-first
A .plank.md file is valid Markdown. The prose between blocks is the instruction booklet, the blocks are the planks.
Describe any build in plain Markdown: every plank, in the order it goes down, with the building steps. One text file that tools can check, show in 3D and print as a booklet. Free and open source.
## Step 1: the first layer
Lay two planks flat and parallel, then two across them, on their ends.
```plank
flat-x 0 0 0
flat-x 0 12 0
flat-y 0 0 1
flat-y 12 0 1
```
## Step 2: build up the walls
```plank
flat-x 0 0 2 repeat=4 offset=0,0,2
flat-x 0 12 2 repeat=4 offset=0,0,2
flat-y 0 0 3 repeat=4 offset=0,0,2
flat-y 12 0 3 repeat=4 offset=0,0,2
```A plank measures 15 × 3 × 1 in plank thicknesses, so most models only use small integers. flat-x lays a plank flat along x; the three numbers are its corner. Open this tower in the player.
.plank.md file, or open one from the web with ?src=<url>.npx plankmd validate model.plank.md.Compatible with KAPLA® planks: the default plank size (plank: [15, 3, 1], unit_mm: 7.8) matches them. Any other planks work too: declare their proportions in the frontmatter.
KAPLA® is a registered trademark of its owner. PlankMD is an independent project; it is not affiliated with, sponsored or endorsed by the trademark owner.
PlankMD follows the design principles of LearnSpec, an open suite of Markdown formats for learning.