Add Sketch Ellipse
add_ellipseDraw an ellipse in an open sketch from its center and major/minor axis lengths in millimeters. Use it to create oval holes and bosses in SolidWorks parts.
Instructions
Draw an ellipse in the open sketch from its centre and axis lengths, in mm.
Use it for oval holes and bosses. Needs: an open sketch (create_sketch).
Changes: adds an ellipse. Returns: ellipse with id, center, major_axis,
minor_axis and angle.
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": "add_ellipse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | A mapping: `center_x`, `center_y` (mm, default 0), `major_axis` (default 20) and `minor_axis` (default 10), in mm, and `angle`, the major axis's turn from +x in degrees (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||