Wedge Mechanism

Input is the green horizontal bar. The stroke length of the blue vertical bar can be adjusted by choosing appropriate position of the red slider (altering the wedge angle of the mechanism).