| The using of NC machine tool in our country is not efficient. One of the main reasons is lacking of skillful programmer and operator. The traditional training mode needs expensive NC machine tools,and the errors of programming and operating will lead to damages,while the training software can carry out the training process without the real machine tool and the possible damages. A CKA6763 NC lathe simulation prototype for operation-training is developed in the research.The main research works in the dissertation are explained in detail. Adopting the object-oriented techniques and VRML,the virtual environment is built. Describing the structure relationships of virtual lathe,workpiece,clamps and tools,3D virtual scene is displayed quickly and realizingly. Importing,verifying,translating and processing NC code are realized by Java program. Basing the movement relationships of workpiece,turret and tailstock,the movement model is built. Considering the changes of shape and dimension from workpiece to part and using parameterization techniques,the dynamic modeling is carried out. To realize the NC turning simulation,the data and event messages are transmitted using EAI (external authoring interface of VRML). The key frame animation techniques are utilized to display 3D simulation animation. Overrun preventions are set in the environment and the friendly user interfaces are designed. Meanwhile the help documents is presented by HTML mode.The virtual environment is built by using web-based 3D modeling language VRML and programming language Java,which has characteristic of general platform,realistic rendering and good expansibility. It can be used to develop the training software for local and long-distance training. |