[Bf-funboard] Fixed actions length

Julio Iglesias j at zafio.com
Tue Aug 11 14:38:32 CEST 2015


If I understood it right, first and last frames are the same, and you want
to set the end frame to be the penultimate, just before the last keyframe
so it loops correctly, right?

If that's always the case, it is possible to adjust the script so it always
rests one frame to the preview range end.

Anyway, the more I think it, the more sense it makes to be able to save a
defined range for each action, it should be an existing option in Blender
already. So +1 to that.
But I'll keep it in mind for the addon, as right now it is beyond my noob
"pyskills".

On Tue, Aug 11, 2015 at 10:03 AM, Maxim Tkachenko <malefic.max at gmail.com>
wrote:

> Hi Julio,
>
> Thank You for answering!
> The problem is that when you have some cycle animation, you do not use the
> frame with last keyframe (or it will be played twice (two same keyframes) -
> in the end and in the beginning of animation). And Ctrl+Alt+P is great, but
> it uses the last keyframe :(
>
> 2015-08-10 21:57 GMT+03:00 Julio Iglesias <j at zafio.com>:
>
> > Hi Maxim,
> >
> > Here is an addon which among other few things, lets you cycle through
> > actions and automatically sets the preview range for each one, so it
> > minimizes the hassle of reviewing a list of cyclic animations:
> >
> >
> >
> https://raw.githubusercontent.com/zafio/blender_addons/master/Frame_Hotkeys_v0_3.py
> >
> > Works with D and F keys at Timeline, Dopesheet and Graph editors.
> > If you want to use frame start/end instead of preview range, it's easy to
> > change in the code.
> >
> > Also, be aware there is a context (which I don't fully understand yet)
> > where Blender adds an extra frame at the end of the preview range, even
> if
> > there is no keyframe there... I think it has something to do with bones
> > that have a single keyframe only at the end or the start of the anim
> > (compared to other bones) but sometimes even adding keyframes at the
> start
> > and end for all bones doesn't seem to fix that.
> > Maybe a developer can bring some light on the matter?
> >
> >
> > Regards.
> >
> > On Mon, Aug 3, 2015 at 5:44 PM, Julio Iglesias <j at zafio.com> wrote:
> >
> > > Hi Maxim,
> > >
> > > Do you mean saving Start / End frames for each action? I would love to
> be
> > > wrong, but I don't think so.
> > >
> > > Have you tried "autoset preview range" (CTRL+ALT+P) at dope/graph
> > editors?
> > > You still have to use it every time the action is switched, but with a
> > > comfortable hotkey, it isn't that bad.
> > >
> > > However, it would be nice to have an option to automatically set the
> > > preview range (and start/end range) on action change, or even set it
> > > automatically as we add/or remove keyframes. Not sure about that last
> > one,
> > > but the first one can probably be done in Python, I'll add it to my
> todo
> > > list.
> > >
> > > Regards.
> > >
> > > On Mon, Aug 3, 2015 at 3:51 PM, Maxim Tkachenko <malefic.max at gmail.com
> >
> > > wrote:
> > >
> > >> Hi all!
> > >>
> > >> Is it possible to save active timeline length for each action? I
> animate
> > >> characters and all the actions have different length. I have to
> manually
> > >> enter animation length each time I switch 'em.
> > >>
> > >> Thank you!
> > >>
> > >> --
> > >> Sincerely,
> > >> Maxim
> > >> http://itcomp.org.ua
> > >> http://b3d.org.ua
> > >> _______________________________________________
> > >> Bf-funboard mailing list
> > >> Bf-funboard at blender.org
> > >> http://lists.blender.org/mailman/listinfo/bf-funboard
> > >>
> > >
> > >
> > _______________________________________________
> > Bf-funboard mailing list
> > Bf-funboard at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-funboard
> >
>
>
>
> --
> С уважением,
> Максим Ткаченко
> http://itcomp.org.ua
> http://b3d.org.ua
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at blender.org
> http://lists.blender.org/mailman/listinfo/bf-funboard
>


More information about the Bf-funboard mailing list