Calculate a deep-buttoning layout
calculate_deep_buttoningWork out a deep-buttoned diamond layout: how many buttons, the marking grid on the base, the wider grid on the fabric, and the cut size of the cover. The fabric grid is always larger than the base grid because fabric has to travel down into each button pull — get that wrong and the panel is ruined. Use for buttoned headboards, Chesterfields, ottomans and buttoned chair backs.
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": {
"area_width_cm": "<area_width_cm>",
"area_height_cm": "<area_height_cm>",
"diamond_width_cm": "<diamond_width_cm>",
"diamond_height_cm": "<diamond_height_cm>"
},
"name": "calculate_deep_buttoning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Button depth, which sets the fabric fullness. shallow 13 mm, medium 19 mm, deep 32 mm per diamond each way. Default medium. | |
| turn_cm | No | Turnings to wrap the frame. Default 5 cm. | |
| border_cm | No | Plain unbuttoned border around the diamonds. Default 0. | |
| area_width_cm | Yes | Width of the area to be buttoned, excluding any plain border. | |
| area_height_cm | Yes | Height of the area to be buttoned. | |
| diamond_width_cm | Yes | Roughly how wide you want each diamond. Gets adjusted to fit the area evenly. | |
| diamond_height_cm | Yes | Roughly how tall you want each diamond. | |
| fullness_width_mm | No | Only with depth "custom". | |
| fullness_height_mm | No | Only with depth "custom". |