Macro Constraint Draft

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 →  (This macro run with FreeCAD version 16 )

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



ToolBar Icon

Macro_Constraint_Draft.FCMacro

Link
The forum discussion Sketch Feature to create linkage mechanism simulator