Thanks a lot, peterl94.
So here is exactly what to do. Step by step.
First create a python file called conrod.py and save it in the macro directory.
Then open crank_simul.fcstd in FreeCAD.
Next, down in the python console, type "from conrod import *" without the quotes.
Finally, type "animation.stop()" without the quotes which will stop the animation.
To start it again, you can just type "animation = Animation()" to start the animation over from the beginning or type "animation.timer.start(50)" to continue the animation from where you stopped it.
Inline-four engine animation
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- clintonsam75
- Posts: 291
- Joined: Thu Jun 19, 2014 5:54 pm
- Location: South Korea
- Contact:
Re: Inline-four engine animation
Last edited by clintonsam75 on Fri Nov 14, 2014 9:09 am, edited 1 time in total.
Re: Inline-four engine animation
Actually, I don't think you would want to do this. The animation will start when you run the import command in the console.clintonsam75 wrote:After that, start the macro which will start the animation.
- clintonsam75
- Posts: 291
- Joined: Thu Jun 19, 2014 5:54 pm
- Location: South Korea
- Contact:
Re: Inline-four engine animation
You're right again. I'll edit that step out.peterl94 wrote:Actually, I don't think you would want to do this. The animation will start when you run the import command in the console.clintonsam75 wrote:After that, start the macro which will start the animation.