Macro Animated Constrain: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
mNo edit summary
Line 39: Line 39:
[https://www.youtube.com/watch?v=kmqDcomLnk0 See the animation on YouTube.]
[https://www.youtube.com/watch?v=kmqDcomLnk0 See the animation on YouTube.]
</translate>
</translate>

{{clear}}
{{clear}}

Revision as of 17:53, 6 August 2019

Other languages:

Animated Constrain

Description
Simple macro to animate angles constraints in the sketcher.

Macro version: 1.0
Last modified: 2015-05-20
FreeCAD version: All
Download: ToolBar Icon
Not file for testing See the animation on YouTube.
Author: psicofil
Author
psicofil
Download
ToolBar Icon
Not file for testing See the animation on YouTube.
Links
Macro Version
1.0
Date last modified
2015-05-20
FreeCAD Version(s)
All
Default shortcut
None
See also
None

Description

Simple macro to animate angles constraints in the sketcher. Based on the work of @microelly. Animate a constraint and review the resulting effects.

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://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/AnimatedConstrain.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://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/AnimatedConstrain.FCMacro")


Script

The macro you can find in the following github repository:

ToolBar Icon

Macro_Animated_Constrain.FCMacro

Link

The page discussion Macro Animated Constrain

See the animation on YouTube.