Skip to main content

Look it up by what you want to write

This is the index for when you already know what you want to write. Find the intent on the left, open the example file on the right, and copy the shape. Every bundled example passes koyu check, so what you copy works.

The rules of the notation itself are in the notation reference. All this page holds is where the real thing is.

Dividing a plan

What you wantHow to write itThe real thing
Place roomsspace <path> <type> X1..X2 Y1..Y2examples/two-rooms.muro
An L-shaped or notched roomJoin regions with +/home/ldk in examples/house.muro
A wall between roomsOne boundary line. Omit it and a wall still stands — but it cannot be passedexamples/two-rooms.muro
Hang a door or a windowdoor / window indented under a boundaryexamples/two-rooms.muro
Position an openingat:0.75 (a ratio) or at:X2+600 (a grid reference)examples/office.muro / examples/house/L1.muro
Pick a side for an opening onto the outsideedge:N / edge:E / edge:S / edge:Wexamples/two-rooms.muro
Divide by dimension and order rather than positionband plus indented space linesexamples/tower/typical.muro / examples/complex/hotel.muro
Cut on a diagonalline indented under a boundaryexamples/complex/L1.muro
Change a floor finish without dividing the roomarea indented under a space/L1/hall in examples/office.muro
Change the material of part of one wallseg indented under a boundaryexamples/office.muro
Keep door and window types in one placeDeclare an asset; openings reference it by nameexamples/house/assets.muro

Stacking storeys

What you wantHow to write itThe real thing
Declare a storeylevel L1 0 h:2400 slab:150examples/two-rooms.muro
Declare an arithmetic run of storeyslevel L3..L9 6700 pitch:2900 h:2400 slab:500examples/mansion.muro
Give the top floor an upper boundA level R that holds no spacesexamples/office.muro
Write the typical floor onceBegin the path /L2..L9/examples/mansion.muro
Write an exception floor as a differencePut only what differs into its own fileexamples/tower/L3.muro
When the storey cannot be read from the pathlevel:L1 on the spaceexamples/house.muro
Raise the ceiling of one roomh:6700 on the space/L1/hall in examples/office.muro
Write a basementlevel B1 -3700 … underground:1examples/basement/main.muro
A plant level absent from the public numberingAn independent level M1 wedged inexamples/twin/main.muro

Connecting vertically

Floors are never written. Spaces that overlap above and below have a floor by default. Only the exceptions get written.

What you wantHow to write itThe real thing
Connect with a stairboundary /L1/stair /L2/stair type:stairexamples/office.muro
A shaft nobody walkstype:shaftexamples/office.muro
Remove the floor (a void)type:void plus a void-typed spaceexamples/office.muro
Many storeys of circulation at oncestack ev L1..L10 type:shaftexamples/mansion.muro
Get riser counts and treads outWrite stair:N form:return on the space, then ask runsexamples/basement/main.muro
A rampramp:E form:return slope:6 on the spaceexamples/basement/main.muro
An escalatorescalator:N on the space; the connection is type:stairexamples/complex/L1.muro
A liftlift:1 on the space; the connection is type:shaftexamples/basement/main.muro
An atrium through several storeysstack atrium L1..L5 type:voidexamples/complex/main.muro
Express a lift passing a floorRun the shaft through; place no lobby spaceexamples/twin/core.muro

Outside, site and landscape

What you wantHow to write itThe real thing
Create the outsidespace /out exterior name:外部 (no region needed)examples/two-rooms.muro
Split the outside by orientationSeveral exterior spaces, /out/n, /out/e, …examples/house.muro
A roadspace /road-s exterior road:22000examples/complex/site.muro
A sitezone /site … site:1, with the survey figure in area:examples/house.muro
A site shapepolygon /site x,y x,y …examples/tower/site-geometry.muro
Make gardens and paths real spacesexterior / yard / garden on L1, tiling around the buildingexamples/house/site.muro
A wall or a fencespec:ブロック塀 air:1 on the boundaryexamples/house.muro
Make a balcony semi-outdoorGive it one air:1 boundary with the outsideexamples/mansion.muro
Get road frontage outLet spaces under the site meet an exterior carrying road:examples/tower/site.muro

Folding size

What you wantHow to write itThe real thing
Many identical storeysBegin the path /L7..L13/examples/complex/office.muro
The same layout on two basement levels/B2..B1/examples/basement/main.muro
A core from the basement to the topNine space lines under /B2..L19/examples/complex/core.muro
A run of guest rooms or tenanciesList widths in a bandexamples/complex/hotel.muro
Have the widths reconciledUse a closed band with no w:restexamples/tower/typical.muro
Stand columnscolumn 900 B2..L6 (no position written)examples/complex/main.muro

Splitting into files

What you wantHow to write itThe real thing
Divide the work into layersimport ./L1.muro from the base layerexamples/house/main.muro
Know what the base layer holdskoyu / name / unit / grid / level, plus boundaries that cross storeysexamples/tower/main.muro
Isolate given geometryGive the site shape a layer of its ownexamples/tower/site-geometry.muro
See how strong each layer iskoyu layers
Override a value from a stronger layerover / dropNot used in the bundled examples
Confirm a single file and a composition agreekoyu diffexamples/house.muro against examples/house/main.muro

Counting and asking

What you want to knowCommandThe real thing
Whether the composition is brokencheckEvery example
Whether anything is architecturally wrongvalidateEvery example
Areas and the split by usestatsoffice / twin
How many doors to get outsidedoorstwo-rooms / mansion
The adjacency as a wholegraphtwo-rooms
The section stack-uplevelsoffice / basement
Riser counts, treads, slopesrunsbasement / complex
Daylightlightmansion / tower
Site, coverage, floor area ratio, frontagesitehouse / twin
A plan drawingplanEvery example
An axonometricaxocomplex / twin
The machine formatjsonexamples/two-rooms.canonical.json

If you would rather pick by difficulty

The scale table is in the bundled buildings. They build up roughly in the order two-rooms → office → house → basement → mansion → tower → complex → twin.