add_mate
Adds coincident, concentric, parallel, perpendicular, tangent, distance, or angle mates between two assembly components using points or entity names, then moves components to satisfy the constraint.
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. The components move to satisfy the mate. Replaces the current selection.
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": {
"mate_type": "<mate_type>"
},
"name": "add_mate"
}
}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 |