Macro crank simul

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



Uses
To test the animation:

Download the files 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

Link
The page discussion Inline-four engine animation

The blog freecad-tutorial.blogspot