symmetrize_mesh
Mirror one half of a mesh onto the other to restore symmetry or complete a half-modelled object. Copies the chosen side along a local axis and merges centre-line vertices within a threshold.
Instructions
Make a mesh symmetrical by copying one half onto the other.
Fixes a model that drifted out of symmetry, or builds the second half of a half-modelled object. Works in the object's local axes.
Args: object_name: Mesh object. direction: Which half is copied where. NEGATIVE_X copies the -X side onto +X; POSITIVE_X the reverse; likewise for Y and Z. threshold: Distance within which vertices on the centre line merge, 0.0 to 1.0. selection: "ALL" for the whole mesh, or "CURRENT" for the part already selected with the select_* tools.
Returns: Dict with the direction and the vertex count afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | No | NEGATIVE_X | |
| selection | No | ALL | |
| threshold | No | ||
| object_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||