add_wall
Add a wall to a Sweet Home 3D .sh3d project by providing start and end coordinates in centimeters. Set height, thickness, and join behavior to control the wall's geometry and connections.
Instructions
Add a wall to a .sh3d project. Lengths are in centimetres and rotations in degrees. The plan coordinate system uses y increasing downward. This tool does not create rooms or resolve unsupported multi-wall junctions beyond the documented pairwise join model. Example: add_wall(project_path='house.sh3d', x1=0, y1=0, x2=500, y2=0)
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": {
"project_path": "<project_path>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "add_wall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| join | No | ||
| height | No | ||
| thickness | No | ||
| project_path | Yes | ||
| height_at_end | No | ||
| allow_crossing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||