build_from_grid
Build a 3D Blender level from a text grid plan, generating floor, wall, cover, door, spawn, and objective geometry, then validate routes and passages.
Instructions
Block out a level from a text plan, one string per row, row 0 at the top (+Y), column 0 at the left. Default
characters: '#' wall, '.' floor, ' ' nothing, 'D' doorway (floor, with a wall above door_height), 'C' cover box
(cover_height high, cover_fill of the cell), 'S' spawn marker, 'O' objective marker. legend adds or changes
characters: {"W": {"kind": "wall", "height": 1.2}} makes low walls; kinds are wall, floor, door, cover, marker
(with "name"), void. Makes {name}_floor, {name}_walls, {name}_cover meshes and {name}_spawn_1 style empties. Then prove
it with walkable_map, route, check_passages, sightline_map. One cell is cell metres: use 1 for rooms, 0.5 for detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | ||
| name | No | level | |
| layout | Yes | ||
| legend | No | ||
| origin | No | ||
| cover_fill | No | ||
| door_height | No | ||
| wall_height | No | ||
| cover_height | No | ||
| floor_thickness | No |