The present invention generally relates to systems and methods in computer-aided manufacturing, and more particularly, to a system and method for computer-aided plate punching.
Nowadays competitions between enterprises are more and more fierce. In order to remain competitive, improving efficiency has become more important in many enterprises. With improved performances and decrease in price of computer hardware, computers are now widely adopted in many computer-aided activities, such as computer-aided instruction (CAI), computer-aided test (CAT), computer-aided plate punching, and so forth. Therefore, speed and quality in the above activities are greatly improved.
Generally speaking, the process of computer-aided plate punching includes: selecting figures, building a template, generating cutters information, and finally forming computer numeric control (CNC) codes. However, by far most of the systems or methods, which relate to computer-aided plate punching, can't deal with complex design drawings of workpieces, hence slowing down accuracy and efficiency in punching work.
Therefore, what is needed is a system and method for computer-aided plate punching, which can deal with complex design drawings of workpieces, thus accuracy and efficiency can be enhanced enormously.
One preferred embodiment provides a system for computer-aided plate punching. The system includes a reading module, a setting module, a selecting module, a processing module and a generating module. The reading module is configured for reading processing data and a design drawing of a workpiece as a processing diagram. The setting module is configured for setting the read data, and setting template attributes and figure attributes of the processing diagram. The selecting module is configured for selecting template information and figure information based upon the set template attributes and figure attributes, and selecting operation modes and cutters for processing the workpiece. The processing module is configured for deleting unrelated information in the processing diagram according to the selected template information and figure information, and processing the workpiece according to the selected operation modes and cutters. The generating module is configured for generating and optimizing cutters information while processing the workpiece, generating a list of cutters according to the optimized cutters information, and converting the list of cutters into corresponding CNC codes.
Another preferred embodiment provides a method for computer-aided plate punching. The method includes the steps of: (a) reading and setting processing data; (b) reading a design drawing of a workpiece as a processing diagram; (c) selecting needed figures from the processing diagram, and setting template attributes to confirm contour of the workpiece; (d) selecting operation modes and cutters for processing orifices; (e) processing the orifices and generating cutters information; (f) selecting operation modes and cutters for processing slots; (g) processing the slots and generating cutters information; (h) optimizing the cutters information, and generating a list of cutters; and (i) converting the list of cutters into corresponding CNC codes.
Other objects, advantages and novel features of the embodiments will be drawn from the following detailed description together with the attached drawings.
The server 1 is configured for saving design drawings of workpieces, processing diagrams, and figures generated while processing the workpieces. Processing the workpieces basically includes processing orifices and processing slots of the workpieces.
The database 2 is used for saving all processing data of the workpieces. The processing data includes initial data settings, operation modes data, cutters data, orifices data, and slots data.
The connection 3 is a database connection that can be an open database connection (ODBC), or a Java database connection (JDBC). The network 4 is an electronic network, which may be the Internet, an Intranet, or any other type of network.
The client computer 5 includes a system for plate punching (hereinafter “the system 10”), and provides graphics user interface (GUI). By using the GUI, all the design drawings, processing diagrams, statuses, and so on while processing the workpieces, can be conveniently seen.
The reading module 100 is used for reading the processing data from the database 2 via the server 1. The reading module 100 is also used for reading a corresponding design drawing of a workpiece from the server 1 as a processing diagram.
The setting module 102 is used for configuring the processing data read above, and configuring template attributes and figure attributes of the processing diagram.
The selecting module 104 is configured for selecting needed figures of the processing diagram and selecting template information and figure information based upon the template attributes and figure attributes configured by the setting module 102. The selecting module 104 can select operation modes and cutters used while processing the workpiece; also, the selecting module 104 may select to mill corners or drill holes when the slots are processed.
The judging module 106 can determine whether to continue cutting, and determine whether the selecting module 104 has selected milling corners or drilling holes.
The processing module 108 is used for deleting unrelated template information and figure information in the processing diagram, and connecting conterminous figures according to the figures selected. The processing module 108 can also generate and optimize traces of cutters, and process the orifices and the slots according to the selected operation modes and cutters.
The generating module 110 is used for generating and optimizing cutters information while processing the workpiece, and generating a list of cutters according to the optimized cutters information. Also, the generating module 110 can convert the list of cutters into corresponding CNC codes.
The saving module 112 is used for saving the CNC codes converted by the generating module 110.
In step S301, the reading module 100 reads initial data settings, operation modes data, and cutters data from the database 2 via the server 1. Then, the setting module 102 configures the data read by the reading module 100 such as material of a workpiece, for example. In step S302, the reading module 100 reads a corresponding design drawing of a workpiece from the server 1 as the processing diagram. The selecting module 104 selects figures of the processing diagram that are needed for processing the orifices and the slots according to figure attributes, and the processing module 108 deletes unrelated figures according to the selection.
In step S303, the setting module 102 configures template attributes of the processing diagram, so that the contour of the workpiece can be confirmed. In the step S304, the processing module 108 connects conterminous figures according to the selected figures.
In the step S305, the selecting module 104 selects the operation modes and cutters read by the reading module 100 for processing orifices based on the figures that have been selected or connected. The reading module 100 reads orifices data from the database 2 via the server 1. The setting module 102 configures the orifices data, such as orifice diameters, cutting counts, cutting depth, etc. The processing module 108 processes the orifices so as to generate template information and figure information. Then, the setting module 102 configures template attributes and figure attributes. The selecting module 104 selects needed template information and figure information according to the attributes configured by the setting module 102; and the processing module 108 deletes unrelated template information and figure information. The generating module 110 generates cutters information according to the selected template information and figure information.
In the step S306, the selecting module 104 selects the operation modes and cutters read by the reading module 100 for processing the slots based on the figures, which have been selected or connected. The reading module 100 reads the slots data from the database 2 via the server 1. The setting module 102 configures the slots data according to the selected operation modes and cutters. The processing module 108 generates and optimizes traces of cutters for processing the slots, and processes the slots. Meanwhile, the generating module 110 generates corresponding cutters information while processing the slots.
In the step S307, the generating module 110 optimizes all the generated cutters information. Then, the generating module 110 generates a list of cutters after the optimization. In the step S308, the generating module 110 converts the list of cutters into corresponding CNC codes. The saving module 112 saves the CNC codes.
In step S401, the selecting module 104 selects the operation modes and cutters read by the reading module 100 for processing the slots based on the figures that have been selected or connected. The selecting module 104 may also select whether to mill corners or whether to drill holes when the slots are processed. In step S402, the reading module 100 reads slots data from the database 2 via the server 1, and the setting module 102 configures slots data such as cutting depth, cutting width, cutting counts and so on, on the processing diagram.
In step S403, the judging module 106 judges whether to continue cutting. If the user selects to continue cutting, the procedure returns to the step S401. Otherwise, in step S404, the processing module 108 generates and optimizes traces of cutters, and then processes the slots. Simultaneously, the generating module 110 generates corresponding cutters information when the slots are processed.
In step S405, the judging module 106 determines whether the selecting module 104 has selected to mill corners. If the selecting module 104 has selected to mill corners, in step S406, the processing module 108 mills the corners. The generating module 110 generates corresponding cutters information simultaneously. Otherwise, if the selecting module 104 has not selected to mill corners, in step S407, the judging module 106 determines whether the selecting module 104 has selected to drill holes. If the selecting module 104 has selected to drill holes, in step S408, the processing module 108 drills the holes. The generating module 110 generates corresponding cutters information at the same time. Otherwise, if selecting module 104 has not selected to drill holes, the procedure ends.
Optimization of traces means that many dispersed traces are integrated into fewer traces, so that cutting counts can be reduced.
It should be emphasized that the above-described embodiments of the present invention, particularly, any “preferred” embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the invention. Many variations and modifications may be made to the above-described embodiment(s) of the invention without departing substantially from the spirit and principles of the invention. All such modifications and variations are intended to be included herein within the scope of this disclosure, and the present invention is protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
200510121386.2 | Dec 2005 | CN | national |