Simplify curves add on

Hi Everyone,

I am having some trouble using the simplify curves addon.
Currently working with mocap data, and need to simplify the f-curves on characters bones.

I select the curves I want in the editor and it simplifies them properly.
The problem is it wipes the animation from all the other bones on the character.

Am I doing something wrong? any advice would be greatly appreciated.

Have you read this:

http://www.dfki.de/~fanu01/simplify_multiple_f-curves/SimplifyMultipleFCurves-Manual-v1_1.html

There is a contact there to the author, you might get more info there. I cannot be more help as I have never used it…

Cheers, Clock.

Thanks for the tip, much appreciated. Will post if I get a solution.

Has there ever been a solution?

I have just tried this in 2.79 - I didn’t get the menu in Graph Editor as shown in manual:

18

So it needs updating for the new menu structure, bu if I “type Simplify F…” having press Spacebar, I get the Error method described in the manual and it works:

This is before, the next is after:

And it didn’t screw up the other bones’ animations. But does seem to do ALL bones, not just the selected ones, if you invoke in the 3D port rather than the Graph Editor and sometimes also in the Graph Editor - not consistent for my part.

Hope this helps, someone needs to contact the developer and get him to fix the menu.

Cheers, Clock. :beers:

EDIT:

I think the menu not showing lies in this bit of the code:

#################################################

ANIMATION CURVES PANEL

#################################################
class GRAPH_OT_SimplifyMultipleCurvesPanel(bpy.types.Panel):
bl_label = “Simplify Multiple F-Curves”
bl_space_type = “GRAPH_EDITOR”
bl_region_type = ‘UI’
#enum in [‘WINDOW’, ‘HEADER’, ‘CHANNELS’, ‘TEMPORARY’, ‘UI’, ‘TOOLS’, ‘TOOL_PROPS’, ‘PREVIEW’], default ‘WINDOW’

def draw(self, context):
    self.layout.operator("graph.simplify_multiple_curves", text="by Error")
    self.layout.operator("graph.simplify_multiple_curves_kf", text='by Max keyframes')

But I don’t have the time to work out how to fix it, so if someone else knows…

OK forget that, I got the menu back but it always works on ALL bones in an Armature, not just the selected ones - poor coding I guess, it should only work on the selected F-Curves. I mailed the developer, no response of course.

Cheers, Clock. :beers:

OK, I am getting somewhere, not that the manual is much help, but, you not only have to deselect all the F-curves you don’t want to affect, but also ALL the keyframes from the other F-Curves, or it does the firkin lot.

So this worked on the Foot bone:

Without FUBARING the Hip:

Procedure that worked like this:

  1. Go to Graph Editor and make sure ALL bones are selected thus:

Note I have all three icons Active at the bottom.

  1. Deselect ALL keyframes.

  2. Click Off first Icon thus:

So only the selected bone is showing. Select First Keyframe of one, or all of the bone’s Transforms, I selected all rotations on first frame with a box.

  1. Key L to get all linked keyframes on these F-Curves only.

  2. Run script and set Error percent, or Max Keyframes.

Phewwww, got there in the end. If you do not deselect all keyframes on all the other bones FIRST, they ALL get processed, so clear the selection before you start.

In short it processes hidden keyframes if they are still selected, despite the fact you cannot see them and assume they will be left alone.

Someone owes me a beer! :rofl:

Cheers, Clock. :beers:

Hi all,

There is a new version of the plugin at the following address:
https://github.com/alexisheloir/slsi-nui-interaction-scripts/tree/master/SimplifyMultipleFCurves

Please, check the pdf in the Docs folder. The GUI has changed to indeed better keep track of the selected curves.

Fabrizio Nunnari (The author)

P.S.:
The plugin as downloaded from the dfki site is older and was put in a static page when submitted for integration in Blender, but has not been considered for years.

P.P.S.:
Sorry for not answering within 1 hour :wink:

1 Like

Sorry for getting frustrated after a long day trying to solve problems, it was an unacceptable comment by me.

I will look at the new stuff later and thanks for the response.

Cheers, Clock. :beers:

Working nicely now:

Thanks!

Cheers, Clock. :beers:

1 Like

Glad to hear that!
F

1 Like

Hi,

I can’t find out how to use the Simplify Curve add-on on animation F-Curves in Blender 2.8.

I’ve activated the add-on, and in the 3D view the parameters are changeable when operated on a curve object. But when I select keyframes and activate Graph Editor ➔ Channel menu ➔ Simplify F-Curves, I can’t find the settings (Error Value) anywhere.

Thanks in advance for your help.

Hi!

Did you figure out how to simplify f-curves @Metin_Seven? I don’t know how to view the parameters, and when I choose simplify nothing happens. Also no error.

I found a work around :slight_smile: https://blender.stackexchange.com/questions/134830/simplifying-animation-f-curves-in-blender-2-8

  • Have both a 3D view and the f-curve editor open
  • click your object in the 3D view
  • press F3
  • type “simplify”, press ENTER
  • adjust the Error Value at the bottom of the 3D view to see the f-curves get simpler in real time
1 Like

Yup, that’s also my workaround now. I’m the one who posted the question there. :slightly_smiling_face:

You can also use f6 after the simplify curves operation in the graph editor to open up operator options.

1 Like

Note to Blender 2.8+ users: F6 has become F9.

3 Likes