Simulation of CAM Flange Mechanism