Fri, Dec 27, 12:31 AM CST

Renderosity Forums / Poser Python Scripting



Welcome to the Poser Python Scripting Forum

Forum Moderators: Staff

Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)

We now have a ProPack Section in the Poser FreeStuff.
Check out the new Poser Python Wish List thread. If you have an idea for a script, jot it down and maybe someone can write it. If you're looking to write a script, check out this thread for useful suggestions.

Also, check out the official Python site for interpreters, sample code, applications, cool links and debuggers. This is THE central site for Python.

You can now attach text files to your posts to pass around scripts. Just attach the script as a txt file like you would a jpg or gif. Since the forum will use a random name for the file in the link, you should give instructions on what the file name should be and where to install it. Its a good idea to usually put that info right in the script file as well.

Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: Can this be done?


flashmoyo ( ) posted Sun, 15 November 2009 at 1:23 AM · edited Wed, 24 July 2024 at 8:45 PM

Hi, all!

I'm an experienced developer in many languages, but never touched Python or Poser. I was asked to make a script in Poser that will load a character, apply skin, hair, clothes, pose,  add a camera and render from a number of different positions to distinct files. 

All i need to know is if that can be done at all. 

Thnx a lot!


Lucifer_The_Dark ( ) posted Sun, 15 November 2009 at 4:27 AM

YES!!!! absolutely, I don't know how as I'm a total duffer when it comes to python but it can be done.

Windows 7 64Bit
Poser Pro 2010 SR1


markschum ( ) posted Sun, 15 November 2009 at 10:18 AM

Yes

  1. loadlibraryfigure

  2. loadlibrarypose  (for a mat pose applying skin texture)
         or (I forget exactly) but loadmaterial

  3. same as step 1 but the you need to conform it

  4. same as 2.

  5. I dont know of a way to create a camera, but you can access one of the existing ones. Its just a scene actor.

  6. positioning the cameraa is easy if you can work it out in advance and use preset positions,
    you can even save camera poses to be loaded as needed. Rendering is not that hard either. There are some free batch render type scripts that you can examine.

You want to look at the Poser Python methods manual which is a pdf file in the program folder. Can be accessed off the Poser Help menu.
Also get the Python 2.4 Documentation from python.org. Poser documentation doesnt really cover basic python syntax or commands.

PHILC has a nice python guide for sale.


flashmoyo ( ) posted Tue, 17 November 2009 at 1:30 AM

Thnx a lot people!!!!


Privacy Notice

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.