Macro Constraint Draft
File:Text-x-python Constraint Draft |
Description |
---|
Create simulation using the expressions for link all objects. Macro version: 1.0 Author: Mario52 |
Author |
Mario52 |
Download |
None |
Links |
Macros recipes How to install macros How to customize toolbars |
Macro Version |
1.0 |
Date last modified |
None |
FreeCAD Version(s) |
None |
Default shortcut |
None |
See also |
None |
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
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)
Rotation with FreeCAD tools
Link
The forum discussion Sketch Feature to create linkage mechanism simulator <language>