build_from_grid
Build a 3D level in Blender from an ASCII grid layout, generating floor, walls, cover, spawn, and objective meshes for game prototyping.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"layout": "<layout>"
},
"name": "build_from_grid"
}
}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 |