Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Sep 18 2:50 am)
I agree that the interface is skimpy. Someone mentioned earlier that there appears to be no way to create a figure via script. I maybe wrong about that. Plus I'd love some pipeline intercepts. Events are also not script bound. I'd like to capture the select item event for example. Hopefully we can pass on API requests to CL for their next release. It could also be that making some of this stuff public makes poser run bad ie exposing the render pipeline might cause undesirable results and the less outside people mess with it, the less it screws up.
How about we start a thread of requests for additions, changes, upgrades, fixes, etc to the Poser-Python interface? Then CL would have one place to look for feedback on that issue. A select item callback would be great. And yes, there is currently no way to generate a new figure. Talked with CL and they said "oops". But then they asked me a very pertinent question which is how would you want to generate a new figure, ie copy from an available figure, generate completely from scratch, etc.
Great Anthony. One thing I'd love is maybe a clone function. One idea I had was to make a script that could create a crowd of low res people for render scenes. Being able to plop several characters down randomly would help. Also, is there anyway we can get at the smooth shading material stuff and turn it off. I'd love to be able to assign flat shading to some materials.
Just wanted to thank everyone on the forum and those who've been in contact with me via email for their suggestions and critiques. You guys have been the major motivation for the Python additions and fixes (and they are pretty numerous) in the soon-to-be-appearing update. We probably haven't been able to add every request received, but we've added a lot. Specifically spline/linear/constant control over animation curves has been added, as has actor key-framing. Per figure unimesh support has been added, so you can create a single per-figure geometry (especially useful for export or game development). Fixes to the ImExporter methods. Geometry tex vert/set/poly support. Weld goals. Vertex weights. And lots of other fixes and additions... And we'll keep going. As you guys keep pushing the limits of the technology, we'll keep fortifying the foundation. Keep up the amazing work. Thanks again, Jack Walther Python Guy, Curious Labs
Specifically spline/linear/constant control over animation curves has been added, as has actor key-framing << THANK YOU!!!! It's utterly UNIQUE, and utterly pleasant, to see a software maker responding to customer requests in such a specific way! You've got a customer for life. .....ockham
My python page
My ShareCG freebies
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 available methods in PoserPython are skimpy in the area of animation control. There are several things I normally do in the keyframe graph when setting up an animation manually; without these, I can't make things happen properly via scripting. Most importantly: 1. The AddKeyFrame method should be available at Actor and Scene level, not just at Parameter level. 2. There should be some way to control the Spline /vs/ Break Spline /vs/ Constant Section choices; again preferably this should be available at Parameter, Actor, and Scene levels.
My python page
My ShareCG freebies