Forum: Poser Python Scripting


Subject: What is the mystery frame incrementer?

HartyBart opened this issue on Aug 12, 2021 ยท 13 posts


HartyBart posted Wed, 06 October 2021 at 2:29 PM

# Auto walker, to be used with Poser Walk Designer

import math

import poser

scene = poser.Scene()

actor = scene.CurrentActor()


sceneFigure = "Andy2"

figure = scene.Figure("Andy2")

body = figure.Actor("Body")

yRotateParam = body.Parameter ("yRotate")


frames = scene.SetNumFrames(360)

ka = actor.SetRangeConstant(10,349)


# Figure walks 10 frames then turns, then walks ten frames

for angle in range(10,360,10):

    scene.SetFrame( ka * 10 + h )

    yRotateParam.SetValue(angle)

    scene.DrawAll ()



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