refit_slots
Resize closed rectangular slots in an SVG to real sheet thickness and kerf by changing only slot width while preserving centre, angle, and length; edge notches, tabs, and finger joints stay unchanged.
Instructions
Refit the closed rectangular slots of an SVG to a real sheet thickness and kerf (each slot keeps its centre, angle and length; only its width changes). Edge notches, tabs and finger joints are not moved in v0.1.
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": {
"thickness_mm": "<thickness_mm>"
},
"name": "refit_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | SVG text, instead of a path. | |
| path | No | Path to a local .svg or .dxf file. | |
| kerf_mm | No | Kerf. | |
| output_path | No | Where to write the resulting SVG. If omitted, the SVG text is returned in the result. | |
| clearance_mm | No | Play. | |
| thickness_mm | Yes | Real sheet thickness. | |
| design_thickness_mm | No | Thickness the file was drawn for (guessed if omitted). |