Moving mirror in symmetry modifier

Moving mirror in symmetry modifier

Anonymous
Not applicable
516 Views
2 Replies
Message 1 of 3

Moving mirror in symmetry modifier

Anonymous
Not applicable

Hi

 

I want to create a macro that will align a box to a bone, add symmetry modifier to the box and make the mirror set itself to 0 in the X axis to get a referrence point on the other side of the X axis. But i don't understand how to move the mirror on the X axis to set it on 0.

 

Any help is welcome

 

Thanks

0 Likes
517 Views
2 Replies
Replies (2)
Message 2 of 3

denisT.MaxDoctor
Advisor
Advisor

@Anonymous wrote:

... add symmetry modifier to the box and make the mirror set itself to 0 in the X axis to get a referrence point on the other side of the X axis. But i don't understand how to move the mirror on the X axis to set it on 0.


everything sounds very simple and is clearly explained in the MXS help -> Symmetry : modifier

 

<symmetry>.axis Integer default: 0 -- integer, Specify the symmetry axis:
0 - X Axis
1 - Y Axis
2 - Z Axis

 

<symmetry.mirror>.position Point3 default: [0,0,0] -- animatable, The position of the Mirror gizmo.

 

 

But I think you are asking something else ... maybe a simple picture will help

0 Likes
Message 3 of 3

Anonymous
Not applicable
2021-11-15 15_50_50-Untitled - Autodesk 3ds Max 2022.png
And this is what i have that works for now
 
$[1].pos = $[2].pos

SymmetryCube = Symmetry()

select $[1]
modPanel.addModToSelection (symmetry ()) ui:on
$.modifiers[#Symmetry].PlanarZ = off
$.modifiers[#Symmetry].PlanarY = off
$.modifiers[#Symmetry].PlanarX = on
$.modifiers[#Symmetry].slice = 0
$.modifiers[#Symmetry].weld = 0
subobjectLevel = 1
--- Need the mirror to move in X axis here, from any position in the world

 

Sorry for the delay, i was sure i gave you this answer 

0 Likes