add_mate
Add geometric mate constraints between two components in an active SolidWorks assembly using points or entity names; supports coincident, concentric, parallel, distance, and angle mates.
Instructions
Adds a geometric mate constraint between two components in the active assembly.
Specify entities either by 3D points [x, y, z] mm in assembly coordinates lying on the faces/edges, or by entity names (e.g. 'Plane1@Part1-1@Assembly1'). Supported mate types: coincident, concentric, parallel, perpendicular, tangent, distance, angle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | ||
| alignment | No | closest | |
| angle_deg | No | Angle in degrees for angle mate | |
| mate_type | Yes | ||
| distance_mm | No | Distance in mm for distance mate | |
| entity1_name | No | ||
| entity2_name | No | ||
| entity1_point | No | ||
| entity2_point | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |