Canonical room input

Define the walls. Validate the loop. Save the geometry.

Select a room model and enter every boundary edge in order. A valid room must close exactly, remain orthogonal, and never cross or touch itself. Canonical edge names are derived from the finished geometry.

Notional compass N = positive Y E = positive X SVG orientation is handled by the renderer.

Step 1

Room boundary

Horizontal closure E 0 mm = W 0 mm
Vertical closure N 0 mm = S 0 mm
Boundary edges in anticlockwise walking order
Segment Walk Canonical edge Length

All dimensions are positive whole millimetres. Canonical names appear only when the boundary is valid.

Select a model or edit an edge to begin.

Step 2

Canonical SVG

Draft
Overall width
Overall height
Area
Perimeter
Nothing has been saved to R2 in this browser session.

Canonical data

Room JSON

This object is the source for tests and, later, the board-layout engine. The SVG is only a renderer.

{}

Edge naming rule used here

Edges are classified by outward face. Within each face they are ordered by inward depth, then by clockwise lateral priority: north east-to-west, east south-to-north, south west-to-east, and west north-to-south. This produces identifiers such as N1, N2, E1 and W1.