chinnei opened this issue on May 30, 2008 · 4 posts
chinnei posted Fri, 30 May 2008 at 4:50 AM
I know there's a script for mirroring magnets for a figure, but is there one for a prop (Poser 7)? I tried ockham's script on an object, but it's giving me an error looking for a opposite actor. I just need Xtran to be mirrored for the magnets and magzones, nothing fancy really. Thanks for any help.
lesbentley posted Tue, 24 June 2008 at 5:34 PM
Is this just temporary for the purpose of spawning a morph, or do the magnets need to stay on the prop permanently? How many pairs of magnets do need to have on the prop?
lesbentley posted Tue, 24 June 2008 at 8:42 PM
This had some very minimal testing in P6, it will probably work the same in P7 and P7P, it may also work in earlier versions.
"MM-Props-Lite" is meant to be used when only one element in the scene has magnets attached to it, there may be problems if other magnets are in the scene.
This is a cm2 (camera) file, it was necessary to give it a cm2 file extension so it would work on props when no figures are in the scene. It will NOT create any magnets, you have to do that part yourself. What it will do is to slave even numbered magnets to odd numbered magnets, so that magnet 2 becomes a slave of magnet 1, and magnet 4 becomes a slave of magnet 3, e.t.c. The even numbered magnets will follow the movements of the odd numbered magnets in left/right mirror symmetry, in real time. It supports a maximum 12 magnets (6 pairs).
To use it, load your magnets onto the prop, with the prop selected as the active element, apply "MM-Props-Lite" from the Camera pallet. Use the drop-down props menu to select a Mag, Base, or Zone. Use the dials in the Parameters pallet to move the element. You can also use the mouse to move the elements of the magnet, but I recommend you use the menu and dials until you get a little separation between the magnets.
The translations and rotations of the Mags, Bases, and Zones will be mirrored, scale and the Falloff Graph will NOT be mirrored.
The odd numbered Mags and Bases will be the normal colour, the even numbered Mags and Bases will be blue. Only the odd numbered magnets will be capable of selection, the even numbered magnets will adjust automatically. The even numbered magnets will be "hidden" from the menus, and from selection by the mouse (though still visible). If you need to scale an even numbered magnet, you can select it in the Hierarchy Editor, its parameter Pallet will then become active, or you can use the "UnHide-Even.cm2", that I will attach to the next post. Reapplying "MM-Props-Lite" will hide the even numbered magnets again.
"MM-Props-Lite", is a very cut down and limited version of a similar system I am developing for use with figures, "MM32".
lesbentley posted Thu, 26 June 2008 at 6:11 AM
I have taken a look at Ockham's MagnetMirror.py. So long as the un-translated prop is centred on the UNIVERSE Z axis, and symmetric in respect to that axis, then this should work. Load a figure, move the figure back out of the way of the prop, parent the prop to the figures hip, create a magnet on the prop and position it as desired, with the prop selected as the active element, run the MagnetMirror.py. It should mirror the magnet on the prop. Once you have the magnets mirrored, you can change the props parent back to UNIVERSE, and delete the figure. Don't forget to unparent the prop, or it will be deleted with the figure.
PhiC's Poser Tool Box (commercial product) has a script to mirror magnets, from memory I think it will work on both figures and props. Poser Tool Box is a very handy collection of Poser Python tools, check it out at PhilC's site: