Mechanisms for converting a continuous rotary motion to intermittent rotary motion