Symmetry : modifier

symmetry - superclass: modifier; super-superclass:MAXWrapper - classID: #(763260971, 199498350)

The Symmetry modifier slices, mirrors, and welds along a symmetry plane, giving a procedural way to do symmetric modeling. Symmetry accepts TriObjects or PolyObjects, and does not respect subobject level or current selection.

Constructor

symmetry...

Properties

<symmetry>.axis Integer default: 0 -- integer

Specify the symmetry axis:

0 - X Axis

1 - Y Axis

2 - Z Axis

<symmetry>.flip Boolean default: false -- boolean

When set to true, uses the other half of the object as the source for symmetry.

<symmetry>.slice Integer default: 1 -- integer

When set to 1, slices the source geometry along the mirror plane and deletes the one half.

<symmetry>.weld Integer default: 1 -- integer; Weld_Seam

When set to 1, welds the vertices of the source and mirrored halves together.

<symmetry>.threshold Float default: 0.1 -- animatable; float

The welding threshold - vertices closer than the threshold value will be welded.

Format

<symmetry>.SymmetryFormat : integer : default: 0 range: [0, 1] Read|Write

values:

0 — Planar: Mirrors across one or more of the gizmo's local axis planes (PlanarX/Y/Z).

1 — Radial: Distributes RadialCount copies rotationally around RadialAxis.

Selects whether the modifier operates in the original Planar mode or the newer Radial mode.

Planar Options

<symmetry>.PlanarX : boolean : default: TRUE Read|Write

Enables mirroring across the gizmo's local X-axis plane when SymmetryFormat is Planar. Multiple planar axes can be enabled at once, applying successive mirror planes.

<symmetry>.PlanarY : boolean : default: FALSE Read|Write

Enables mirroring across the gizmo's local Y-axis plane when SymmetryFormat is Planar.

<symmetry>.PlanarZ : boolean : default: FALSE Read|Write

Enables mirroring across the gizmo's local Z-axis plane when SymmetryFormat is Planar.

<symmetry>.PlanarFlipX : boolean : default: FALSE Read|Write

Flips which side of the X mirror plane is treated as the source half. Only meaningful while PlanarX is on.

<symmetry>.PlanarFlipY : boolean : default: FALSE Read|Write

Flips which side of the Y mirror plane is treated as the source half. Only meaningful while PlanarY is on.

<symmetry>.PlanarFlipZ : boolean : default: FALSE Read|Write

Flips which side of the Z mirror plane is treated as the source half. Only meaningful while PlanarZ is on.

Radial Options

<symmetry>.RadialAxis : integer : default: 2 range: [0, 2] Read|Write

values:

0 — X: Copies are distributed rotationally around the gizmo's local X axis. 1 — Y: Copies are distributed rotationally around the gizmo's local Y axis. 2 — Z: Copies are distributed rotationally around the gizmo's local Z axis.

<symmetry>.RadialFlip : boolean : default: FALSE Read|Write

Flips the source side used for the initial center mirror when RadialMirror is on.

<symmetry>.RadialCount : integer : default: 2 range: [2, 1000] Read|Write -- animatable

Number of copies distributed rotationally around RadialAxis when SymmetryFormat is Radial.

<symmetry>.RadialMirror : boolean : default: FALSE Read|Write

When on, also mirrors the source across a plane containing RadialAxis before distributing it radially, producing a symmetric seam down the center in addition to the radial repeats.

Reference Object

<symmetry>.ReferenceObject : node : Read|Write

The scene node whose transform drives the mirror/radial gizmo, used instead of the modifier's own gizmo sub-object transform. Equivalent to the "Pick Object" button in the Symmetry rollup; clearing it reverts control to the gizmo's own transform.

<symmetry>.UseProximityThreshold : boolean : default: FALSE Read|Write -- animatable

Enables the older, legacy weld behavior that welds any open vertex within threshold distance across the seam, instead of the newer algorithm that only welds matching mirrored vertex pairs.

Cleanup

<symmetry>.EdgeCollapsePercent : float : default: 0.01 range: [0.0, 1e+038] Read|Write

Percentage of the average edge length; seam edges shorter than this percentage (after slicing) are collapsed to clean up degenerate geometry along the cut.

Mirror

<symmetry>.mirror SubAnim default: SubAnim:Mirror -- transform; SubAnim

Controls the transformation of the Mirror gizmo

<symmetry.mirror>.position Point3 default: [0,0,0] -- animatable

The position of the Mirror gizmo.

<symmetry.mirror>.rotation Quat default: (quat 0 0 0 1) -- animatable

The rotation of the Mirror gizmo.

<symmetry.mirror>.scale Point3 default: [1,1,1] -- animatable

The scale of the Mirror gizmo.

<symmetry.mirror>.value Matrix3 default: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0]) -- animatable

The complete matrix3 transformation value of the Mirror gizmo.

Interface: symmetryOps

symmetryOps is a FP_MIXIN interface exposed directly on the modifier (no separate accessor needed), e.g. $.modifiers[#Symmetry].version().

Methods

symmetryOps.resetVersion()

Resets the modifier to the latest internal algorithm version (SYMMETRY_LATEST_VERSION). This is a one-way operation — there is no method to determine the prior version once reset. See symmetry_version to move to a specific older version instead.

symmetryOps.version()

Returns the modifier's current internal algorithm/file version number (iLoadVersion).

symmetryOps.updateWeldThreshold()

Updates the mirror-seam weld threshold to the 2023.2 value (1.1e-10). Older scenes load with the 2023.1-and-earlier threshold (1.1e-20) preserved so their topology doesn't change on load; call this to opt an existing modifier instance into the newer, less strict threshold. See also mirrorWeldThreshold.

Properties

<symmetryOps>.symmetry_version : integer : Read|Write

Gets or sets the modifier's internal algorithm version directly (same value as version()). Valid values range from the legacy version constant OLD_SYMMETRY_VERSION up to SYMMETRY_VERSION_V300; out-of-range values passed to the setter are silently ignored. Lets a script force the modifier back onto an older welding/mirroring algorithm — intended for compatibility troubleshooting only.

<symmetryOps>.legacyWeld : boolean : Read|Write

Specifies whether using proximity weld.

<symmetryOps>.mirrorWeldThreshold : float : Read|Write -- animatable

The distance threshold used by the newer (UseNewWeld) algorithm to decide whether two vertices on opposite sides of the mirror seam are close enough to be treated as a matching pair and welded. Defaults to the 2023.2 value; see updateWeldThreshold.