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 -- integerSpecify the symmetry axis:
0 - X Axis
1 - Y Axis
2 - Z Axis
<symmetry>.flip Boolean default: false -- booleanWhen set to true, uses the other half of the object as the source for symmetry.
<symmetry>.slice Integer default: 1 -- integerWhen set to 1, slices the source geometry along the mirror plane and deletes the one half.
<symmetry>.weld Integer default: 1 -- integer; Weld_SeamWhen set to 1, welds the vertices of the source and mirrored halves together.
<symmetry>.threshold Float default: 0.1 -- animatable; floatThe welding threshold - vertices closer than the threshold value will be welded.
<symmetry>.SymmetryFormat : integer : default: 0 range: [0, 1] Read|Writevalues:
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.
<symmetry>.PlanarX : boolean : default: TRUE Read|WriteEnables 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|WriteEnables mirroring across the gizmo's local Y-axis plane when SymmetryFormat is Planar.
<symmetry>.PlanarZ : boolean : default: FALSE Read|WriteEnables mirroring across the gizmo's local Z-axis plane when SymmetryFormat is Planar.
<symmetry>.PlanarFlipX : boolean : default: FALSE Read|WriteFlips 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|WriteFlips 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|WriteFlips which side of the Z mirror plane is treated as the source half. Only meaningful while PlanarZ is on.
<symmetry>.RadialAxis : integer : default: 2 range: [0, 2] Read|Writevalues:
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|WriteFlips the source side used for the initial center mirror when RadialMirror is on.
<symmetry>.RadialCount : integer : default: 2 range: [2, 1000] Read|Write -- animatableNumber of copies distributed rotationally around RadialAxis when SymmetryFormat is Radial.
<symmetry>.RadialMirror : boolean : default: FALSE Read|WriteWhen 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.
<symmetry>.ReferenceObject : node : Read|WriteThe 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 -- animatableEnables 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.
<symmetry>.EdgeCollapsePercent : float : default: 0.01 range: [0.0, 1e+038] Read|WritePercentage of the average edge length; seam edges shorter than this percentage (after slicing) are collapsed to clean up degenerate geometry along the cut.
<symmetry>.mirror SubAnim default: SubAnim:Mirror -- transform; SubAnimControls the transformation of the Mirror gizmo
<symmetry.mirror>.position Point3 default: [0,0,0] -- animatableThe position of the Mirror gizmo.
<symmetry.mirror>.rotation Quat default: (quat 0 0 0 1) -- animatableThe rotation of the Mirror gizmo.
<symmetry.mirror>.scale Point3 default: [1,1,1] -- animatableThe scale of the Mirror gizmo.
<symmetry.mirror>.value Matrix3 default: (matrix3 [1,0,0] [0,1,0] [0,0,1] [0,0,0]) -- animatableThe complete matrix3 transformation value of the Mirror gizmo.
symmetryOps is a FP_MIXIN interface exposed directly on the modifier (no separate accessor needed), e.g. $.modifiers[#Symmetry].version().
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.
<symmetryOps>.symmetry_version : integer : Read|WriteGets 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|WriteSpecifies whether using proximity weld.
<symmetryOps>.mirrorWeldThreshold : float : Read|Write -- animatableThe 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.