New sketch
create_sketchCreates a sketch and returns its id and its axes in world coordinates: a point [u, v] of it is origin + u * u_axis + v * v_axis. Give one of: plane - an origin plane, XY (top, normal +Z), XZ (front, normal -Y; u = X, v = Z) or YZ (right, normal +X; u = Y, v = Z), optionally offset along its normal; on_face - a planar face of a body (a boss or a hole on it), which the sketch then follows when the model changes, its origin the part origin projected onto the face and u horizontal where it can be; normal - any plane, through origin (default [0, 0, 0]) square to normal, u along u_axis. in_part: the plane given in the coordinates of that part, the sketch made in it (for a library part, in the active part).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| plane | No | ||
| normal | No | Any plane: its normal [x, y, z]. | |
| offset | No | With plane: distance along its normal, mm (default 0). | |
| origin | No | With normal: a point of the plane, mm (default [0, 0, 0]). | |
| u_axis | No | With normal: the sketch's u direction (made square to the normal; default horizontal where it can be). | |
| in_part | No | Points and directions in this part's coordinates, as it stands now; default the world. | |
| on_face | No | A planar face of a body: exactly one face must match. |