convert_point
Converts a point between SolidWorks model coordinates and open sketch coordinates, returning sketch X/Y plus plane distance or the corresponding 3D model point.
Instructions
Converts a point between model coordinates and the coordinates of the open sketch. to="sketch": (x, y, z) is a model point, returns its sketch (x, y) and its distance from the sketch plane. to="model": (x, y) is a sketch point (z ignored), returns the model point.
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": {
"x_mm": "<x_mm>",
"y_mm": "<y_mm>"
},
"name": "convert_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | sketch | |
| x_mm | Yes | ||
| y_mm | Yes | ||
| z_mm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |