Design of Spline Broach CAD System

1 Introduction Spline broach has been widely used in the machining of spline holes as an efficient, high-precision multi-tooth complex tool. Due to the large number of parameters involved in the design of the spline broach, the large amount of calculation, and the complicated design of the tooth profile, the design cycle is longer. In addition, because the spline broach is a complex finishing tool, the manufacturing cost is high. If a design error occurs during calculation, it will cause great economic losses. In order to improve the design precision of spline broach and shorten the design cycle, the author developed a spline broach CAD system based on AutoCAD 2000. The system can realize computer-aided design and drawing of spline broaches in AutoCAD 2000 environment. 2 Application objects of the system and their application objects According to the condition of the workpiece being processed, the design of the spline broach generally has the following three conditions: When the concentricity of the inner and outer diameters of the processed spline hole is lower, the process is It is usually required that the inner diameter of the hole has reached the required machining accuracy before broaching. In this case, only one broaching tool for machining the splined part is required; when the coaxiality of the inner and outer diameters of the processed spline hole is required to be high, It is necessary to design a compound broach that can perform chamfering, broaching, round hole and spline; when processing deep groove spline holes or rough drawing and forging holes, it is often necessary to design multiple broaches to form a spline broach set. Processing. Therefore, the design modules for the spline broach, round hole-chamfer tooth-spline composite broach and spline broach set were established respectively. The user can select different design modules according to the processing conditions to design the corresponding spline broach. System Composition This system is a spline broach CAD system developed on a microcomputer. It uses the concepts of Visual C++ 6.0 and ObjectARX 3.0 (Secondary Development Software for AutoCAD 2000) mixed programming technology and modular programming. It can be used for splines. Design and drawing of broaches, compound spline broaches, and spline broach sets.

1
Fig.1 Overall structure drawing of spline broach CAD system

System operating environment Hardware environment: PC microcomputer (PII450, 32M memory, 10G hard disk); Software environment: WINDOWS95/98/2000 operating system, Visual C++ 6.0, ObjectARX 3.0 and Access database software and other application development tools. Overall structure of the system The overall structure of the system is shown in Figure 1. The system contains a total of five functional modules: The main interface of the system design module The module's function is to use the dialog box method for parameter input and processing conditions, and other modules can be manipulated to achieve the overall design of the spline broach Spline broach design module This module is the core part of the system, it is divided into three sub-modules, namely spline broaches, compound broaches and spline broach set of three design sub-modules. Its main function is to complete the determination of the broach structure, the choice of broaching method (ie, ordinary or wheel-cutting), the design of splined teeth, the design of the chamfered tooth geometry, the design of the circular hole tooth geometry, and the cutting parameters. Determination, design of chip flutes and chip flutes, spline broach strength and broaching pull force check, determination of the number of teeth of each tooth in the cutting part of spline broach, calculation of the size of the flutes, design of structural dimensions, and technical conditions The ok. Since the database management module needs to consult a large amount of data from the tool design manual in the spline broach design, a database is created using the Access software, and the data involved in the broach design is stored in the database in the form of a data table. . The main function of the database management module is to perform various operations and maintenance on the database through its interface, and store the query results in the data file for the drawing module or other modules to call. Drawing processing module broach work drawing more content, including the overall view of the broach, tooth profile section view of various teeth, cutting part and the calibration part of the partial view of the tooth slot, the workpiece map and the size of each tooth list And technical requirements, etc. In order to realize the parametric drawing of the spline broach, the system will decompose the content of the spline broach work map into unit blocks, and use objectARX 3.0 to compile the corresponding parametric drawing program for the debugging and application of the program. The help module help module provides the user with detailed instructions for use of the various functional modules of the software. 3 Integration of Design and Drawing The usual tool CAD software is to divide the tool design calculation and drawing into two parts and complete the design and drawing work on two working platforms. If the calculation part of the tool design is written in VB or VC language and uses it as a working platform, and the tool drawing software adopts AutoLISP or ADS language programming to use AutoCAD as a working platform, so the data transfer between the two needs to be complicated and inconvenient. AutoCAD provides objectARX programming technology from the R14 version, providing a powerful development tool for the development of a variety of CAD application software based on the AutoCAD work platform, its speed, performance, and functionality is much higher than ADS and AutoLISP language. ObjectARX takes C++ as the basic development language and Visual C++ as the development environment. It has the characteristics of data encapsulation, inheritability and polymorphism. CAD software developed with it has good modularity, strong independence, simple connection, and users. Friendly interface and easy to use. The spline broach CAD software developed with the use of objectARX and MFC's basic library resources can use a system main interface to call the design module and the drawing module respectively in the AutoCAD 2000 environment, thereby realizing the integration of design and drawing. In the spline broach CAD system, the data transfer between the design module and the drawing module uses the following three methods: Directly from the database. The connection between MFC and ODBC can provide objectARX3.0 FOR AutoCAD 2000 interface with the database, so the drawing module can directly call the structure size of the spline broach from the database. There are three kinds of database interface program design methods: Corresponding to the data table in the database, derived from the CRecordset class an application specified record set, call the record set OPEN member function to open the record set, write all the records therein Into a structure data. Corresponds to the data table in the database, adds a dialog resource and derives an application-specified dialog from the CDialog class. In this dialog, the type and number of edit box controls and the title of the static text box are determined as required, and the edit box controls are bound to the corresponding field member variables in the recordset object.

1
Figure 2 Spline broach data query dialog

The user can select the appropriate record by entering the query conditions in the dialog box. The found record will be displayed in the corresponding edit box control of the dialog box (as shown in Figure 2). If necessary, press the Save button to save the queried data into the data file for other modules to call; if the query result is correct, press the OK button and exit. If the query result is wrong, press the Abort button to re-query. With the help of data files. Using the Write member function in the CFile class provided by the MFC resource library of Visual C++, the result calculated in the design module is stored in a data file, and then the result of the calculation is read from the drawing member using the Read member function in the CFile class. Read out the data file. If the tooth profile section data of each blade of the spline broach are large, in order to reduce the memory space, the data file can be used for parameter transfer. Use global variables. For the data used by several modules in the spline broach design, it can be defined as public data, making it a global variable. This can be easily called by other modules to increase the speed of data transfer. 4 Conclusion Using objectARX and Visual C + + mixed programming technology developed by AutoCAD 2000 as a working platform of the spline broach CAD software has the following characteristics: In the ARX application using the MFC resource library, the design of the spline broach CAD software With a friendly visual interface, human-computer interactive design can be realized. According to the different processing requirements of the workpiece, the software can be used to design a broach for processing splines, a compound broach for processing round holes and splines, and a compound broach for processing chamfer-round holes and splines, and a set of spline pulls. Knife. Utilizing the database technology and the CFile class of the MFC resource library, data transfer can be performed between different modules of the CAD software, thereby realizing the integration of spline broach design and drawing, shortening the design cycle and improving the design efficiency and quality.

Di-Tert-Amyl Peroxide

Di-Tert-Amyl Peroxide,Luperox Dta,Tert-Amyl Peroxide,Di-T-Amyl Peroxide

Jiangsu Zhongluman New Material Technology Co., Ltd , https://www.rozhmch.com