| Along with the accelerated process of economic globalization, the design of many complex products needs for the product design personnel to complete, and all enterprises are actively using the CAD software to shorten the product development cycle. However, often because different companies and even within the same company may use different design software, data exchange and sharing is increasingly important, but the existing data exchange methods have some limitations, the data exchange is carried out at a lower level and high-level semantic design information is lost. To solve these problems, this paper proposes a XML-based data exchange method for the assembly data exchange among heterogeneous CAD systems, the method achieves data exchange in the form of feature to some extent and is conductive to the reuse of design data.This paper first analyzes the topic background and puts forward the subject, introduces research overview of the CAD technology and the data exchange respectively, and sets out main tasks of the subject. Then the thesis makes a concise introduction to the theory about the topic and brings forward the relevant program design. And then the dissertation designs XML descriptions of the intermediate exchange model according to the assembly modeling traits of SolidWorks and JhSolid, and the descriptions are intermediaries for the assembly data exchange. After that the paper introduces the JhSolid core and the secondary development of SolidWorks, gives the concrete realization processes of the assembly data exchange based on JhSolid source, the API interface of SolidWorks and the DOM interface of MSXML, and gives introductions to the important issues in processes.Finally, the thesis adds codes in JhSolid 2005 and makes data conversion plug-ins in SolidWorks 2006 on the Windows platform with Visual C++ 6.0 as development tools, using XML technology and the COM-based secondary development technology of CAD. From the two-way assembly data exchange operation outcome, reconstruction models retain the construction history of part features, the data exchange from JhSolid to SolidWorks retains the construction history of assembly constraints and the converted models are editable, and thus the method is verified correct and practical. |