Offset Sketch Entities
sketch_offsetOffset sketch entities by a distance in millimeters, outward or inward, to create walls or clearance in an open sketch. Adds the offset entities and returns their IDs, distance, and direction.
Instructions
Offset sketch entities by a distance in mm, outward or inward, e.g. for a wall or a clearance.
Needs: an open sketch (create_sketch). Changes: adds the offset entities.
Returns: offset with id, entities, distance and direction (outward or
inward).
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": "sketch_offset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | A mapping: `entities` (ids to offset), `offset_distance` (mm, default 5) and `reverse_direction` (inward; default off). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||