Macro Animated Constrain: Difference between revisions

From FreeCAD Documentation
m ("==Description==")
m (minor)
Line 10: Line 10:
Animate a constraint and review the resulting effects.<br />
Animate a constraint and review the resulting effects.<br />
</translate>
</translate>
{{Codeextralink|https://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/AnimatedConstrain}}
{{Codeextralink|https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/AnimatedConstrain.FCMacro}}
<translate>
<translate>
==Use== <!--T:3-->
==Use== <!--T:3-->
The macro you can find in the following github repository: [https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/AnimatedConstrain Macro_Animated_Constrain.FCMacro]
The macro you can find in the following github repository: [https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/AnimatedConstrain.FCMacro Macro_Animated_Constrain.FCMacro]


==Link== <!--T:5-->
==Link== <!--T:5-->

Revision as of 20:09, 7 August 2018

Other languages:

File:Text-x-python Animated Constrain

Description
Animate Constrain within sketch in FreeCAD

Macro version: 1.0
Last modified: 2015-05-20
Author: psicofil
Author
psicofil
Download
None
Links
Macro Version
1.0
Date last modified
2015-05-20
FreeCAD Version(s)
None
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://github.com/psicofil/Macros_FreeCAD/blob/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://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/AnimatedConstrain.FCMacro")

Use

The macro you can find in the following github repository: Macro_Animated_Constrain.FCMacro

Link

The page discussion Macro Animated Constrain

See the animation on YouTube.