add_concentric_mate
Align axes of two cylindrical or conical faces with a concentric mate. Specify components, face IDs, and alignment direction (aligned or anti-aligned).
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | ALIGNED | |
| entity1_id | Yes | ||
| entity2_id | Yes | ||
| component1_name | Yes | ||
| component2_name | Yes |