Forum: Poser Python Scripting


Subject: How to create Walk animation with Python script?

esora29 opened this issue on Sep 08, 2023 ยท 5 posts


esora29 posted Fri, 08 September 2023 at 2:26 AM


I want to create an animation that makes a person walk from one point to another.

For that purpose, I must be set "Walk Designer" and create Walk path.

Please tell me how to create it using python script.





HartyBart posted Fri, 08 September 2023 at 10:30 PM

Is it just the fiddly repetition that you object to, setting up many figures with a walk? In that case recording a repeatable mouse-click macro (with the JitBit software or similar) might save you a lot of grunt-work or Python script-hacking. Note that Poser doesn't have a macro recorder (think "Photoshop's Actions") of its own.



Learn the Secrets of Poser 11 and Line-art Filters.


esora29 posted Sun, 10 September 2023 at 6:37 PM

I think the way you set up the macro is smart.

However, I would like to know how to do it in a Python script as a matter of knowledge.

Are there any functions to manipulate walking paths?

Is it even operable? I would like to know that too.


nerd posted Tue, 12 September 2023 at 1:13 PM Forum Moderator

Many years ago I found a Python called "WalkThisWay" it used a different approach. It didn't use walk designer at all. The way it functioned was to load a simple walking pose and then loop it. The script actually calculated the walk travel based on the movement of the feet.

I thought this was one of Ockham's but I can't find it on his site. I doubt it would even run in a current environment but it might be a starting point if anybody remembers who created that.


HartyBart posted Tue, 12 September 2023 at 11:06 PM

A bit more info about WalkThisWay, from a 2007 forum comment by Cage...

"It looks like Ockham's WalkThisWay.py, version 1, suffered from these same memory problems. He suggests that the problem is a Poser memory leak, specifically with Poser 5. WalkThisWay2 avoid the problem using heavy restructuring which seems to remove most of the collision or positioning comparison in WTW1. So apparently no real solution was found for the problem, but it may be that this shows that the problem is indeed Poser."



Learn the Secrets of Poser 11 and Line-art Filters.