Macro crank simul/en

My simple animation uses sketch and sketcher solver to determine piston position and conrod position/rotation.



Use
To test the animation:

Download the files and copy the code in the Python console FreeCAD.

1. Open the attached file

To stop animation type :

The File
crank_simul.fcstd

Script
crank_simul.FCMacro

Links
The forum discussion Inline-four engine animation

The blog freecad-tutorial.blogspot