cut_edges
Bevel or slope selected edges of a voxel block by carving or painting voxels along paired faces, enabling windshields, hoods, and rounded roofs.
Instructions
Bevel or slope edges of a block of the part (windshields, hoods, rounded roofs).
A voxel is cut when d1 / depths[0] + d2 / depths[1] < 1, d being the distance from its center to each face. Example: windshield slope on a cabin start [-8, 9, -6], end [8, 15, 10]: edges [['top', 'front']], depths [5, 6] (5 voxels down, 6 back).
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": "<project>",
"part": "<part>",
"start": "<start>",
"end": "<end>",
"edges": "<edges>",
"depths": "<depths>"
},
"name": "cut_edges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Cell after the last one [x, y, z] (exclusive): end - start is the size. | |
| mode | No | 'carve' removes the cut voxels; 'paint' recolors them. | carve |
| part | Yes | Part name, for example 'body' or 'wheel_fl'. | |
| color | No | Color name from define_color; required for modes 'add' and 'paint'. | |
| edges | Yes | Edges of the block start..end, each as two faces, e.g. [['top', 'front'], ['top', 'back']]. | |
| start | Yes | First cell [x, y, z] in voxels (inclusive), model frame. | |
| depths | Yes | How far each cut goes into the block from the first and from the second face of each edge, in voxels (equal values: 45 degrees). | |
| project | Yes | Project name, for example 'red_pickup'. |