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:
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?
how to turn an animlayer into a stair
- Peter Wassink
- Posts: 4437
- Joined: 17 Feb 2006, 15:38
- Location: Amsterdam
- Contact:
how to turn an animlayer into a stair
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
Re: how to turn an animlayer into a stair
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.
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.
- Peter Wassink
- Posts: 4437
- Joined: 17 Feb 2006, 15:38
- Location: Amsterdam
- Contact:
Re: how to turn an animlayer into a stair
thank you Zig, that was helpfull!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.
Peter Wassink - 2D animator
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
• PC: Win11/64 Pro - AMD Ryzen 9 5900X 12-Core - 64Gb RAM
• laptop: Win10/64 Pro - i7-4600@2.1 GHz - 16Gb RAM
- D.T. Nethery
- Posts: 4225
- Joined: 27 Sep 2006, 19:19
Re: how to turn an animlayer into a stair
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 .
-
This explanation should go into the User Manual along with the screen grabs similar to Peter's above .
-