onimusha opened this issue on Jun 15, 2005 ยท 10 posts
lourdes posted Thu, 16 June 2005 at 7:17 PM
Attached Link: http://www.rogueslair.com/tmp/LMScripts.zip
Here's some scripts that I use. I've cut and pasted below what I wrote in the notes that is in the zip file...SpawnMorph.py
This script will spawn a morph target for each body part indiscriminately. Let's say you turned a few dials and used some magnets on parts of your figure....you would use this script to spawn the morph targets for all the body parts. Note that it will spawn morph targets for parts that aren't changed so you will still need to clean those up afterwards.
I usually use this script along with ockham's zero morphs and delete mags scripts which are available in the r'osity freestuff.
============================================================
LoadMorphs.py
This script will import morph targets from a specified directory and will create morph targets for the selected part based on the imported geometry.
Some things to note:
Although the script sets the import options to all unchecked, it still seems to rescale the imported object. To prevent this, you'll need to import a geometry into poser with all options unchecked prior to using this. i.e. import a prop with all options unchecked, then delete the prop before attempting to use this script for loading your morphs.
Save your morph targets for each body part in their own directory. For example, all the morph targets for the 'chest' body part will be in it's own directory. Give the morph targets the names you actually want them to be....this scripts uses the filenames for the morph target names.
Do not include the last '' in the path that you specify.
The script will need to be used for each body part. Make sure you have selected the body part that you wish to load the morphs onto.
This method is memory intensive since it needs to import each and every morph.
============================================================
RenameMorph.py
This scripts will change the 'external' name of a morph target. It will also rename the 'internal' name of a morph target if you check off the 'internal' option. Note that for reasons unknown, the 'internal' name will only be changed if you reinitialize python prior to using the script's internal name option...each and every time you want to use the 'internal' option. Sorry....couldn't figure out why...
============================================================
SetMorphTo1.py
This script will do just that. It will set the morphs with a specified name to 1 for the entire figure. You can then manually create the full body morph. I don't know if things have changed for P6 but for PP and P5, there is no way to access the create full body morph with python.
I also use this script along with ockham's zeromorphs script.
These scripts are freely redistributable...even if you modify them to make them work better etc. Just don't sell them....
Lourdes