Mon, Jan 20, 11:30 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: Infinite Rotation... Possible with Python?


EdW ( ) posted Sat, 27 August 2005 at 4:06 PM · edited Fri, 10 January 2025 at 6:20 PM

I was wondering if Python could be used to create an infinite rotation script where you could tell it you want say 100 revolutions per minute and the object would rotate at 100 rpms for the duration of an animation.


svdl ( ) posted Sat, 27 August 2005 at 5:49 PM

Yes and no. You can't increase the angle of rotation indefinitely, there's a maximum number (don't know the number exactly) But it can be done using "modulo 360". But you'll have to have quaternion interpolation enabled. The angle calculations are basic, that should be no problem.

The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter

My gallery   My freestuff


an0malaus ( ) posted Thu, 01 September 2005 at 5:08 AM

Do you still need quaternion interpolation if the script will set keyframes for each frame? That way poser's interpolation is irrelevant. It's just up to the script to determine the delta angle to increment (and assign to the rotating part's axis modulo 360) in each frame based on the number of frames, the animation duration and the given rotation rate. For multiple scene, continuous animations you could just indicate to the script what the global frame number of the individual scene's first frame is and it can continue on seamlessly from the last.



My ShareCG Stuff

Verbosity: Profusely promulgating Graham's number epics of complete and utter verbiage by the metric monkey barrel.


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.