Add Slot
add_slotDraw straight or arc slots in an open sketch for adjustment slots and keyways, then cut them with create_cut_extrude. Specify width and start/end points to add one closed slot.
Instructions
Draw a slot in the open sketch: straight between two centres, or along an arc.
Use it for adjustment slots and keyways, then cut it (create_cut_extrude).
A straight slot takes its two end centres, start and end. An arc slot
(kind arc) takes the center of the arc it follows and start and end
on that arc, counter-clockwise. Needs: an open sketch (create_sketch).
Changes: adds one closed slot. Returns: slot with its id, the points, the
width and its area (mm²).
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": {
"input_data": "<input_data>"
},
"name": "add_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | `width` (mm), `start` and `end` (`[x, y]` mm) are required; `kind` is `straight`; `center` for an arc slot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||