create_sketch
Draw circles, arcs, and polylines on KOMPAS-3D planes or offset planes to create 2D sketches. Specify coordinates in millimeters for accurate model geometry.
Instructions
Draw circles, arcs and polylines on XY/XZ/YZ or offset planes. Geometry is mm.
Revolutions need one open two-point construction polyline as the rotation axis. Sketch coordinates are local to the selected KOMPAS plane, not world XYZ. support_entity_id can select a native face or construction plane instead of plane/offset.
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": {
"document_id": "<document_id>",
"spec": "<spec>"
},
"name": "create_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| document_id | Yes |