Page 1 of 1

how to turn an animlayer into a stair

Posted: 08 Jun 2013, 07:20
by Peter Wassink
i need a very simple script
but to built a george script from scratch is really over my head.

i need to break up an animation into a stair in which the steps are formed by the individual instances.
see image:
stairscript1.jpg
stairscript2.jpg
as you can see i half solved it by using actions.
but i was wondering how hard it would be to make it fully automatic via a george script.
anyone care to explain?

Re: how to turn an animlayer into a stair

Posted: 08 Jun 2013, 19:35
by ZigOtto
a pity your initial sequence was already timed (exposed in 2's),
if it would be a sequence of "single-frame" instances, you could go with only 2 commands :
- Layer: Select All Frames
- Layer: New Layers from Selected Frames,

in your example, (because you're in 2's), I would do this :
- Modify Project / framerate = 12,5 (if you're initially at 25f/s) with "Stretch to new framerate" enable,
(to convert your instances sequence in one's)
- Select All Frames,
- Layer: New Layers from Selected Frames,
- Modify Project / framerate = 25 with "Stretch to new framerate" enable,
(to get back your double exposures)

of course, it's a workaround, because we haven't actually a "New Layers from Selected Instances"
and yes, I think a little script should do this stair-timed effect, respecting the instances.

Re: how to turn an animlayer into a stair

Posted: 10 Jun 2013, 18:13
by Peter Wassink
ZigOtto wrote:a pity your initial sequence was already timed (exposed in 2's),
if it would be a sequence of "single-frame" instances, you could go with only 2 commands :
- Layer: Select All Frames
- Layer: New Layers from Selected Frames,

in your example, (because you're in 2's), I would do this :
- Modify Project / framerate = 12,5 (if you're initially at 25f/s) with "Stretch to new framerate" enable,
(to convert your instances sequence in one's)
- Select All Frames,
- Layer: New Layers from Selected Frames,
- Modify Project / framerate = 25 with "Stretch to new framerate" enable,
(to get back your double exposures)

of course, it's a workaround, because we haven't actually a "New Layers from Selected Instances"
and yes, I think a little script should do this stair-timed effect, respecting the instances.
thank you Zig, that was helpfull!

Re: how to turn an animlayer into a stair

Posted: 11 Jun 2013, 13:03
by D.T. Nethery
Yes, thanks to Zig for that explanation of how to turn an Anim layer to "stair".

This explanation should go into the User Manual along with the screen grabs similar to Peter's above .



-