1 Introduction
Threaded connection is a static connection that is widely used, safe and reliable, and easy to disassemble. In the traditional mechanical design, the designer usually determines the type, diameter and length of the threaded joint according to the different working conditions of the machine, and if necessary, the strength check is required. If the selected threaded joint does not meet the requirements, it is necessary to re-select and calculate. Therefore, the design process is cumbersome, the calculation workload is large, and the design efficiency is low. With the rapid development of computer application technology, the application of CAD/CAM technology has become more and more extensive, and efficient and accurate computer-aided part design has replaced manual design calculation in more and more fields. The author has studied and analyzed the problems of thread connection type selection and strength check. With AutoCAD2000 as the development platform, using Visual C++ 6.0 and Visual LISP and other secondary development tools, the knowledge base of threaded joint standard parts was established and a comparison was made. Reasonable CAD connection type selection and strength check CAD system development program.
2 system development tasks and development tools
The system development tasks include menu development, sample generation and custom graphics libraries, development of line and fill patterns, glyphs, font and dialog development, and application writing, while writing applications is the core of the system. content.
Compared with the old version, AutoCAD2000 has added many new features and features (such as multi-document environment and AutoCAD DesignCenter, real-time 3D rotation, etc.), and choosing AutoCAD2000 as the development platform will make programming easier. Because the ARX application can share the address space of AutoCAD and can directly call functions, it also contains macros that are easy to define new classes and has the ability to add functions to existing classes at runtime, and in the Visual C++ 6.0 programming language. With the support of Object ARX, the function of Object ARX will be more powerful, so Object ARX is selected as the secondary development tool of AutoCAD2000.
Figure 1 Technical composition of the system
Figure 2 Threaded CAD system structure
Figure 3 system function module diagram
Next page
Kaiping Jenor Sanitary Ware Co., Ltd , https://www.sanitaryjenor.com