create_plane
Creates a reference plane by offset, angle, or three points and returns its name so you can select it in SolidWorks.
Instructions
Creates a reference plane and returns its name, to use with select_plane. Three modes:
offset (default): parallel to 'reference' ("front", "top", "right" or a plane name) or to the planar face through face_point ([x, y, z] mm), offset_mm away; flip=True for the other side. angle: angle_deg > 0 turns the plane by that angle from 'reference' (or the face) about an axis lying in it or parallel to it: axis = "x", "y", "z" (model axes) or the name of a reference axis, or axis_edge_point = a point on a straight edge. flip reverses the angle. through_points: three vertices [[x, y, z], ...] of the part (corners), in mm. Using a model axis the first time adds a hidden reference axis to the tree.
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_plane"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | ||
| flip | No | ||
| angle_deg | No | Angle in degrees (angle mode) | |
| offset_mm | No | Offset distance in mm (offset mode) | |
| reference | No | front | |
| face_point | No | ||
| through_points | No | ||
| axis_edge_point | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |