Macro Animator

From FreeCAD Documentation
Revision as of 03:46, 29 October 2021 by TheMarkster (talk | contribs) (create Macro Animator page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:

Macro Animator

Description
Animate your model by animating its properties with this feature python object

Macro version: 0.2021.10.28
Last modified: 2021-10-28
FreeCAD version: python 3 versions
Download: ToolBar Icon
Author: TheMarkster
Author
TheMarkster
Download
ToolBar Icon
Links
Macro Version
0.2021.10.28
Date last modified
2021-10-28
FreeCAD Version(s)
python 3 versions
Default shortcut
None
See also
None

Description

Animator makes it very easy to animate your models by animating various properties. Available supported properties are kept in a drop down list for your convenience. Select the property to animate and double click the Animator object to start the animation. Double click again to stop the animation or let it complete. By default 100 frames are used with the start value of the property = 0 and the step increment of 1.0 per iteration through the loop. All of this easily configurable from the property view.

Full documentation can be found on github: Animator.

Macro Animator screenshot‎

Legend

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro


# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.github.com/mwganson/dace9e8dcfd861500647f9405c668358/raw/d4cb8b07dda0bca3628703d1cb45b7512ec2afac/Animator.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.github.com/mwganson/dace9e8dcfd861500647f9405c668358/raw/d4cb8b07dda0bca3628703d1cb45b7512ec2afac/Animator.FCMacro")


ToolBar Icon

Script

Macro Animator.FCMacro