Xameva opened this issue on Aug 10, 2011 · 27 posts
lesbentley posted Fri, 12 August 2011 at 2:05 AM
http://www.the.cage.page.phantom3d.net/morph_slot_maker2a.py
Cage has come good with the py script I asked for. Cage is my Poser Hero!
The script is hot off the press, and I have only had time for a little testing in P6, so it should be considered a beta version until it has been tried in other versions of Poser. I feel fairly confidant that it is sound, but one can never be completely sure until something has been tested in all circumstances.
The purpose of the script is to work on a figure loaded in Poser, and apply a Delta Injection Pose, and if that pose contains new channels not already in the figure, the script adds those new channels to the figure.
It works like this. Select the figure in Poser, run the script, and click the Run button that pops up. You will be presented with a File Open dialogue. Browse to and select the pz2 that you want to apply, click the Open button. The script will run for a few seconds and terminate. Once the script's icon disappears from the task bar, the job is finished. If you want, you can save the figure to the library so that you don't need to run the script the next time you load the figure.
I asked Cage if it was OK to redistribute the script.
Me: "Also would it be OK if I distribute the file, with full credit to you or course."
Cage: "If it seems to work and it could be useful to people, I'd love to have it out their for their use."
So you can include the script with poses you distribute, but please give full and prominent credit to Cage in the readme file.
I also intend to package the script in a self installing zip, so that if you prefer, you can give a link to the download instead of including the script in a distribution. I will try to get the script zipped and posted with instructions by this Sunday.
With respect to adding new channels, the script only adds new targetGeom (morph) channels, not new valueParm (FBM) channels. However P6 and above provide a way to add valueParm channels via the pose file. You can use 'createFullBodyMorph' in the pz2, I will say more about this in a subsequent post. It is posible that Cage may do an updated version of the script that obviates the need to use 'createFullBodyMorph', but we will have to wait and see.
The script applies the whole pz2, not just morph data, so you should be able to include ERC, joint rotations, maps and material settings, everything that you could normally apply via a pose file.
If you have any problems what so ever with the script please let me know.
Finally I'd like to say a big thanks to Cage for providing this script. I know this will make life much easier for me, and I'm sure the same goes for many others.