Trace walls from a scan
trace_wallsTrace walls from a floor plan background image and create them as editable walls in a single undo step, with adjustable height and thickness.
Instructions
Trace walls from the background image, as trace_background does, and create them in one undo step (h: wall height cm, default 250). Check with render_plan bg=0.5.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | Wall height cm when creating (default 250) | |
| t_max | No | Thickest wall kept, cm (default 45) | |
| t_min | No | Thinnest wall kept, cm (default 5) | |
| region | No | Only this part of the plan `[x0, y0, x1, y1]` cm | |
| max_gap | No | Doors and windows up to this wide don't split a wall, cm (default 130) | |
| min_len | No | Shortest wall kept, cm (default 60) | |
| threshold | No | Luminance 0..255 below which a gray pixel is ink (default 128; raise it for light gray walls) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v | No | Plan version written to, when there are several | |
| ok | Yes | Always true | |
| ids | No | Ids created or touched | |
| rev | No | Plan revision | |
| text | Yes | The reply as written |