Macro Constraint Draft

Text-x-python.png Constraint Draft

Description
Create simulation using the expressions for link all objects.
Author
Mario52
Links
Macros recipes
How to install macros
How to customize toolbars
Version
1.0
Date last modification
2017-04-19


Description

Simple example animation Draft wires by use the expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected

Animation use the constraint expression

Uses

Download the file example Constraint_Draft00.FCStd, open it in FreeCAD

Script

Select the Line005_with_Code object in the Combo View Select Data tab > Memo code > Code for rotation > ...

Select the complete code and paste in the Python Console

(If do not have the Python console: Menu > View > Panels > select Python console)

How copy the code snippet

How copy the animation code

Rotation with FreeCAD tools

Rotation with FreeCAD tools

Link

The forum discussion Sketch Feature to create linkage mechanism simulator

Online version: "http://www.freecadweb.org/wiki/index.php?title=Macro_Constraint_Draft&oldid=240006"

Navigation menu