Macro crank simul/pl

Description
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 : "animation.stop"

The File
crank_simul.fcstd

Script
ToolBar Icon

crank_simul.FCMacro

Links
The forum discussion Inline-four engine animation

The blog freecad-tutorial.blogspot