Check the layout
layoutDetect collisions, blocked doors and windows, and other floor plan issues on a storey; compare room areas to a reference drawing.
Instructions
Layout problems on a storey — pieces colliding or clashing, blocked doors and windows: overlap, blocked, in_wall, blocks_door, blocks_window, no_door, backwards, turned, unrated_light, unclear_front, loose_opening, outgrew_niche, outside_rooms, loose and above_ceiling, as {kind: [rows]}; {} means none. Every row is an object with the key it is accepted by and the elements involved (name, bounds, z). Overlaps are classified collision (a real clash, first), nesting, served or cross_level, with extent [x,y,z] cm, counted in overlap_kinds. accepted {key, kind, why, extent} lists findings accept marked right as drawn; orphaned [[key, reason]] acceptances whose finding is gone. What each problem means and how to fix it: rules topic=layout. level: a storey id or all (default the one shown); areas {name|id: m²} compares room areas with a reference drawing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| areas | No | Expected room areas in m² by room name or id, e.g. {"Sala": 10.91}; adds rows [room, expected, actual, diff %] | |
| level | No | Storey to check: an id like `lv3`, or `all` for every storey that is not a reference layer. Default: the storey being shown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| areas | No | ||
| loose | No | ||
| turned | No | ||
| blocked | No | ||
| in_wall | No | ||
| no_door | No | ||
| overlap | No | ||
| accepted | No | ||
| orphaned | No | ||
| warnings | No | ||
| backwards | No | ||
| blocks_door | No | ||
| above_ceiling | No | ||
| blocks_window | No | ||
| loose_opening | No | ||
| outgrew_niche | No | ||
| outside_rooms | No | ||
| overlap_kinds | No | ||
| unclear_front | No | ||
| unrated_light | No |