export_force_animation#

MotorCAD.export_force_animation(animation, file_name)#

Export a force animation to a GIF file.

Animation is exported from the caption name. For example, "Radial OL" or "Radial OL (12th harmonic)".

Parameters:
animationstr

Animation name.

file_namestr

Name for the GIF file. Use the r'filepath' syntax to force Python to ignore special characters.