Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
If your starting point is a correctly grouped OBJ file and a known hierarchy you may find that creating the figure using the Poser menu "File/Convert Hierarchy File" to be quicker.
Have a look at Roy Riggs PHI Builder. That will take an OBJ file and spit out a hirierchy file. You will need to do some editing but this is basically just drag and drop withing the application to go from its best guess at the hierarchy to what you actually want.
I use it frequently. It is available from http://www.royriggs.com/poser.html
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.
A script to automatically name bones according to the group that occupies the same XYZ coordinates. It would work as follows:
(1) User takes grouped mesh into Setup Room.
(2) Using Bone tool, the user creates bones for each group, and drags them into place.
(3) User runs script, which first parses the skeleton, and stores each bone's center of mass XYZ coordinates.
(4) Script parses mesh for groups, and then gets center of mass XYZ for each group.
(5) Script compares these two lists.
(5a) Errors should be returned if:
If there are still too many groups, the script gives a final alert that the chosen side does not comply with the requirements, and then stops.
(5b) If no errors are found, the script attempts to match each bone and group according to their center of mass XYZ coordinates, and rename each bone thusly. Upon successful completion, the script should give a friendly "Done!" message.
I got the idea for this from Paloth and Conniekat8, so blame them if you end up staying up all night creating this script ;p