qualityAssurance.checks.animation module

class qualityAssurance.checks.animation.CleanAnimation

Bases: qualityAssurance.utils.qa.QualityAssurance

Animation curves that have unnessecary keys. When fixing this error either the unnessecary keys will be removed, or the entire animation curve will be deleted if it is a static channel.

evaluateAnimCurve(animCurve, angle=0.001, size=0.001)

Process an animation curve and see if it contains any unnessecary keys or if the animation curve can be deleted as a whole. The return value is a tuple with the action, either “delete” or “indices”, this variable can be used to determine which action to take next. And the list of indices that can be removed.

Parameters:
  • animCurve (str) –
  • angle (float) –
  • size (float) –
Returns:

Action and indices

Return type:

tuple

class qualityAssurance.checks.animation.ComponentAnimation

Bases: qualityAssurance.utils.qa.QualityAssurance

Meshes will be checked if they have animation curves connected to them. When fixing this error the animation curves will be deleted.

class qualityAssurance.checks.animation.NotConnectedAnimation

Bases: qualityAssurance.utils.qa.QualityAssurance

Animation curves will be checked to see if the output value is connected. When fixing this error the non-connected animation curves will be deleted.

class qualityAssurance.checks.animation.SubFrameAnimation

Bases: qualityAssurance.utils.qa.QualityAssurance

Animation curves will be checked if they have keys set to sub-frames. When fixing this error those keys will be rounded to the closest round value.

class qualityAssurance.checks.animation.TemplateAnimation

Bases: qualityAssurance.utils.qa.QualityAssurance

Animation curves that are set to template. When fixing this error the animation curves will be untemplated.