add_concentric_mate
Aligns axes of two cylindrical or conical entities by adding a concentric mate in SOLIDWORKS assemblies. Use for typical autoparts tasks like aligning bolt and sleeve.
Instructions
Mate concéntrico — alinea ejes de dos entidades cilíndricas/cónicas.
Uso típico autopartes: alineación de ejes de barrenos (perno + bocina, bocina + flecha, dos cojinetes en una caja). [en: Add a concentric mate between two cylindrical / conical entities — typical autoparts use is aligning bolt+sleeve, sleeve+shaft, or two bearings in a housing.]
Args: component1_name, component2_name: SW component instance names from get_active_assembly_info (e.g. "bracket_L-1"). entity1_id, entity2_id: SW entity name strings, e.g. "Face@bracket_L-1@assy" (locale-sensitive — copy verbatim from the assembly info response). align: "ALIGNED" or "ANTIALIGNED".
Returns the created mate's metadata.
Related: add_mate_by_face_position (no-entity-name convenience for box-style components), stack_components (3 mates in one call for a fully-constrained stacked pair).
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": {
"component1_name": "<component1_name>",
"entity1_id": "<entity1_id>",
"component2_name": "<component2_name>",
"entity2_id": "<entity2_id>"
},
"name": "add_concentric_mate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | ALIGNED | |
| entity1_id | Yes | ||
| entity2_id | Yes | ||
| component1_name | Yes | ||
| component2_name | Yes |