draw_iso_box
Draw a solid 2:1 isometric box with colored top, left, and right faces for furniture, crates, walls, and floors in pixel-art scenes.
Instructions
Draw a solid box in 2:1 isometric projection, with clean 2-1 edges.
For furniture, crates, walls and floors in isometric scenes. The three visible faces get their own colours (light from the top: top lightest, one side mid, the other darkest). Small or organic parts on top of a box (handles, cats, hands) are drawn with draw_rows instead.
Coordinates, in sprite pixels: (x, y) back corner of the box's footprint on the floor w length along the right-down axis: each unit is 2 px right, 1 px down d length along the left-down axis: each unit is 2 px left, 1 px down h height in px; z raises the whole box (e.g. a book on a desk) Later boxes draw over earlier ones, so draw back to front.
Args: filename: Aseprite file to modify layer_name: Layer to draw on frame_index: Frame index starting at 1 x: Back corner x y: Back corner y (floor level) z: Elevation above the floor in px (0 = on the floor) w: Units along the right-down axis (>= 1) d: Units along the left-down axis (>= 1) h: Height in px (0 = a flat tile) top: Hex colour of the top face left: Hex colour of the front-left face right: Hex colour of the front-right face outline: Optional hex colour for a 1 px outline around the box, drawn over whatever is there create_if_missing: Create the cel if it does not exist
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": {
"filename": "<filename>",
"layer_name": "<layer_name>",
"frame_index": "<frame_index>",
"x": "<x>",
"y": "<y>",
"z": "<z>",
"w": "<w>",
"d": "<d>",
"h": "<h>",
"top": "<top>",
"left": "<left>",
"right": "<right>"
},
"name": "draw_iso_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | Yes | ||
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| top | Yes | ||
| left | Yes | ||
| right | Yes | ||
| outline | No | ||
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| create_if_missing | No |