| Many common parts and common mold base parts are used while the designer are designing powder metallurgy die. But the professional software of CAD/CAM has no standard parts library for powder metallurgy die. It is complicated and low-efficient if the structure designing must be carried out in a basic routine each time. Therefore, it is a necessary and feasible way to build parameterized graphics library for powder metallurgy die on the general CAD platform.Under this background, this thesis is concerned mainly on the project of "Development on CAD/CAM mould design and manufacture technology of the key accessories for automobile", which is an important project of the Guangxi science office. On the basis of CAD/CAM/CAE software Unigraphics NX that EDS company developed, the author carried out the main works as following:1. Some key technologies related with the developing of the parameterized graphics library, such as parametric technology, characteristic modeling technology, data base technology were comprehensively researched at first.2. The second developing methods based on UG were studied, which mainly include: user interface development, UG/Open program language development. How to develop UG with MFC was realized and the technology of the connection between user interface and user functions with MFC was put forward. The disadvantage of development only with UG/Open was broke through. The adoption of ADO technique realizes to interchange data of SQL Server and UG. A special database management system is developed to manage graphics library.3. Methods of establishing standard part library based on UG platform were comprehensively researched. Through introduction and comparison of several methods to build standard part library, propose the method that using amending the expression of UG with UG/Open API functions, based on the characteristic parametric modeling technology to establish the graphics library. The method can save a great deal of storage space and can generate geometric model with dimensions needed at will, so it can avoid a lot of disadvantage of other methods.4. The general system structure of the graphics library for powder metallurgy die was established. The basic system structure and the procedure flow of graphics library including the parts library, mold base library and material library were presented. The function of each module was carried out by utilizing UG redevelopment tools: MenuScript, UG/Open API, UIStyler, and MFC with SQL Server 2000 database.5. The application and operation of the graphics library were introduced through some examples. |