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.
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 |