Analysis of dimensions and tolerances in computer-aided mechanical design