An integrated tool for design, shape modelling and performance analysis of 3D cam