align_shapes
Moves an object so a chosen face, edge, or vertex aligns with a target element; supports touch, center, and axis modes with optional offset.
Instructions
Move an object so the chosen element aligns with an element of the target.
Args:
element / element_index: Element on the object to move.
target_element / target_element_index: Element on the target.
mode: touch (face to face, normals opposing), center (centers coincide) or axis (cylindrical axes aligned).
offset: Extra distance along the target normal; positive moves away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | touch | |
| offset | No | ||
| element | Yes | ||
| doc_name | Yes | ||
| obj_name | Yes | ||
| target_obj | Yes | ||
| element_index | Yes | ||
| target_element | Yes | ||
| target_element_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |