This paper expounds the basic principle and expert knowledge of marking dimension and tolerance of shaft parts with intelligence technique. After analysing and differentiating the shafts
information from CAD can be received and a processing command automatically formed. At last
combination of CAD and CAM of shafts can be achieved.