create_sketch
Create an empty sketch on a PartDesign Body's XY, XZ, or YZ plane to hold constrained 2D geometry for later padding or pocketing.
Instructions
Create an empty sketch attached to one of a PartDesign Body's base planes.
plane is one of "XY", "XZ", "YZ". Populate it with add_rectangle/
add_circle/add_polygon (each one locks its own geometry so the sketch
stays fully constrained), then pad or pocket it.
Args:
doc_name: The name of the document.
body_name: The name of the existing PartDesign::Body to sketch in.
name: The name to give the new sketch.
plane: Which base plane to attach to: "XY", "XZ", or "YZ".
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": {
"doc_name": "<doc_name>",
"body_name": "<body_name>",
"name": "<name>"
},
"name": "create_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| plane | No | XY | |
| doc_name | Yes | ||
| body_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |