Kinematics application of the slider cranck mechanism developped in python
The slider cranck mechanism is a classical linkage assembly that transforms a rotational motion into a linear one. It can be found in many systems such as pumps, thermal engines, ...
The mechanism is made of a frame(0), an eccentric (1), a connecting rod (2) and a slider (3) depicted by the following figure:
This application aims to illustrate the kinematics of the mechanism. It replicates a free software that was available on MECAMEDIA but which is not maintained. It also exists a MatLab version.
This application gives the mechanism configuration as well as position, velocity and acceleration plots of the slider given the position and velocity of the eccentric. Besides it illustrates some graphical kinematics tools such as trajectories, velocity vectors and equiprojectivity.
The application works with python37 and the required packages are: numpy and matplotlib
To run the application, you might either:
- double click on
slider-cranck_mechanism_app.py
if you have a python interpreter set with the right version and libraries; - in a terminal run the following command :
python slider-cranck_mechanism_app.py
Configuration and plots are not automatically updatedwhen settings are changed. You always have to modify the time position to observe the updates
Perspectives are to show instantaneous center of rotation as well as their trajectories. The vector representation could also be improved.