Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
The script I recently wrote for a friend on another board saves fit poses for hair props and figures. It saves body or root prop trans/scale/rotate and optionally morphs to a pose file. I made it for her to save her substantial time in making a hair fit pack.
The script can be used on both HR2 and CR2 based hair objects and works and tested in Poser 6 and Poser 7. It should also function on any prop or figure object and save positional information to a pose file.
Basically, it looks at what you have selected. It figures out whether its a prop or figure so it can write prop or actor lines to the file. It then asks you for a filename, whether you want to save morphs, and if you do asks if you want to save only non-zero morphs. It then grabs all trans/scale/rotate values from the body or selected prop and writes them to the pose file. If you selected morphs it writes those. If it was a figure it also asks if you want to save child morphs and if so will iterate through the body parts and write the morphs from them too. It creates a pose file with thumbnail as though you had used the "Add to Library" function in Poser.
Any interest in me releasing this publicly?