draw_wedge
Add, paint, or carve a diagonal ramp by cutting the edge between two faces across a voxel block, removing material from start to end.
Instructions
Add, paint or carve a ramp: the block start..end cut diagonally across its extent.
The edge between faces[0] and faces[1] is removed as deep as the block goes. Example: a hood sloping down to the front, full height at the back: faces ['top', 'front'].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Cell after the last one [x, y, z] (exclusive): end - start is the size. | |
| mode | No | 'add' fills the shape with the color (replacing voxels there, growing the part); 'paint' recolors only the part's existing voxels inside the shape; 'carve' removes the part's voxels inside the shape. | add |
| part | Yes | Part name, for example 'body' or 'wheel_fl'. | |
| color | No | Color name from define_color; required for modes 'add' and 'paint'. | |
| faces | Yes | The block edge that is cut away, as two faces on different axes: left (-X), right (+X), bottom (-Y), top (+Y), front (-Z), back (+Z). | |
| start | Yes | First cell [x, y, z] in voxels (inclusive), model frame. | |
| project | Yes | Project name, for example 'red_pickup'. |