Mechanical design based on the integrated management of a codes library on personal computer