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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| document_id | Yes |