Input: orange shaft rotating regularly.
Output: yellow slider moving linearly.
Turn the green swivel to change motion direction of the slider.
The slider velocity V depends on the skew angle λ between axes of the input shaft and the roller.
V = ω.R.tan(λ)
ω: angular velocity of the input shaft
R: contact radius of the input shaft
Pink roller is forced toward the input shaft by red spring.
Small violet slider is for positioning the green swivel.
The mechanism is for light duty works.
Kinematic relation between the input and output is not kept strictly due to contact slipping.