Page 1 of 1

SS - Cycle Keys tool

Posted: Sat Oct 01, 2022 7:24 am
by SimplSam
SS Cycle Keys

A convenience tool which allows you to quickly create cycled keyframes in the timeline. It is similar to the existing ‘change interpolation to Cycle’ function, but allows for quicker creation when cycling between 2 existing keyframes - or cycling to/from a single keyframe.

The tool is run from a simple click of the tool button and has 3 modes of operation as follows:
  1. Cycle Around

    Creates a cycle between 2 selected keyframes - when 2 or more keyframes have been selected on a single timeline channel. If more than 2 keyframes are selected - the first and last selected keyframes will be used to create the cycle.

    Image

    .
  2. Cycle To

    Creates a cycle between the current frame position and a single selected keyframe - when the current frame position is greater than the keyframe position. A new keyframe will be created at the current frame position with the same value of the selected keyframe - unless a keyframe already exists at the current frame position.

    Image

    .
  3. Cycle From

    Creates a cycle between a single selected keyframe and the current frame position - when the current frame position is less than the keyframe position. A new keyframe will be created to the left (-1) of the current frame position - unless one already exists there (-1) or at the current frame position.

    Image

    .
Demo



So … Why do you need the Cycle Keys tool?

Speed and convenience. The addon can enhance your cycle creation workflow. Particularly handy when creating cycles that don’t begin at the start of the timeline.

Features:
  • Works across all visible timeline keyframes, and multiple channel cycles can be created in a single click
  • When multiple channel keyframes are selected - each channel is processed individually (i.e. Cycle Around/To/From)
  • Will overwrite existing cycle-from (origin) keyframe cycle-back distance setting
  • Preserves cycle-to (destination) keyframes/values
  • Cycles are created Relative
Version:
  • version: 01.00 #520930 MH12+
  • release: 1.00
  • by Sam Cogheil (SimplSam)
Download:
How do I get set up ?
  • To install:
    • Save the ‘ss_cycle_keys.lua’ and ‘ss_cycle_keys.png’ files to your computer into your <custom>/scripts/tool folder
    • Reload Moho scripts (or Restart Moho)
  • To use:
    • Select one or more keyframes, (optionally adjust current frame), and Run the tool from the Tools palette
Additional Notes:
  • Compatible with MH12+

Special Thanks to:

Re: SS - Cycle Keys tool

Posted: Sat Oct 01, 2022 8:01 am
by Víctor Paredes
Nice! I specially like the "Cycle to" option. I will try it as soon as I can.
Thank you very much for creating and sharing this.

Re: SS - Cycle Keys tool

Posted: Sat Oct 01, 2022 3:10 pm
by lucasfranca
Wow, that makes it so much easier!

Know something I miss about Cycle? Ping-Pong like in After Effects: it goes back and forth and repeats this round trip. I know it's possible by duplicating the first few frames and all, but it would be nice to have that pre-set. I know this has nothing to do with your proposal either, but I just wanted to leave a comment.
Thank you very much!

Re: SS - Cycle Keys tool

Posted: Sun Oct 02, 2022 1:13 am
by mohgirl
gif was dead.

I don't know how to use it

Re: SS - Cycle Keys tool

Posted: Tue Oct 04, 2022 9:54 am
by SimplSam
mohgirl wrote: Sun Oct 02, 2022 1:13 am gif was dead. I don't know how to use it
Not sure why you can't see the Gifs. It may be some weird blocked network thing. I have created a quick video demo based on the same Gifs and added it to the original post.

lucasfranca wrote: Sat Oct 01, 2022 3:10 pm ...now something I miss about Cycle? Ping-Pong like in After Effects: it goes back and forth and repeats this round trip. I know it's possible by duplicating the first few frames and all, but it would be nice to have that pre-set...
So yes Ping-Pong'ing is very possible with Moho cycles - and made slightly easier with the Cycle To method-of-use of this tool. Where you create your 2 extreme poses/positions (Start & End) and then highlight the Start Pose keyframes (ping-start), move the timeline cursor to a position beyond the End Pose keyframes -- (lets call it pong-end) and use the Cycle Keyframes tool. This will duplicate the Start keyframes to the pong-end and create a cycle around that.

Image

Re: SS - Cycle Keys tool

Posted: Tue Sep 19, 2023 12:04 am
by mohgirl
Unable to run in moho14

Re: SS - Cycle Keys tool

Posted: Tue Sep 19, 2023 2:11 am
by SimplSam
mohgirl wrote: Tue Sep 19, 2023 12:04 am Unable to run in moho14
I am using this unchanged with MH14. Do you get an error?

Re: SS - Cycle Keys tool

Posted: Tue Sep 19, 2023 10:43 am
by mohgirl
SimplSam wrote: Tue Sep 19, 2023 2:11 am
mohgirl wrote: Tue Sep 19, 2023 12:04 am Unable to run in moho14
I am using this unchanged with MH14. Do you get an error?
sorry!It worked after restarting the computer