An automatic programming method, system, and computer storage medium

Through the automatic programming method, different colors are used to mark the processing characteristics and generate the processing program, the problem of low programming efficiency of workpiece processing programs in the prior art is solved, and efficient and accurate production of workpiece processing programs is achieved.

CN114237579BActive Publication Date: 2025-06-20GUANGZHOU MINO AUTOMATION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111357787.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-16
Publication Date
2025-06-20
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

In the prior art, the programming efficiency of workpiece processing programs is not high and error-prone, especially in small batch production.

Method used

Through the automatic programming method, the corresponding fixture pattern is obtained based on the workpiece pattern to be processed, and the processing characteristics are marked in different colors to generate a processing program. The method includes obtaining modules, identification modules and program generation modules, which can automatically select tool and process parameters, and improve programming efficiency.

Benefits of technology

It improves the programming efficiency of workpiece processing programs, reduces manual errors, simplifies the process of small batch production, and improves the accuracy of processing programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114237579B_ABST
    Figure CN114237579B_ABST
Patent Text Reader

Abstract

The present invention provides an automatic programming method, an automatic programming system, and a computer-readable storage medium. The automatic programming method includes the following steps: Step S101: Obtain a fixture drawing corresponding to the workpiece drawing to be machined according to the workpiece drawing to be machined; Step S102: Mark the first type of machining feature in the workpiece to be machined with a first color; Step S103: Generate a machining program for the workpiece to be machined according to the fixture drawing and the machining feature of the first color. By using the first color to mark the machining features, corresponding tools and process parameters can be automatically selected according to different types of machining features, thereby improving the programming efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent manufacturing, and particularly relates to an automatic programming method, an automatic programming system, and a computer storage medium. Background Art

[0002] Computer-aided design and manufacturing technology has been widely applied in the manufacturing industry. In the conventional design process, after importing the data model of the workpiece to be processed, the operator must manually select the fixture, select the cutting tool and machining parameters, write the machining program, etc. If the above method is used for the workpiece to be processed in small batch production, the process is undoubtedly very cumbersome. Moreover, when manually selecting the cutting tool or machining parameters, or writing the machining program, etc., since there are many matters involved, it is also easy to make mistakes. Summary of the Invention

[0003] In order to overcome the deficiencies of the prior art, the present invention provides an automatic programming method, an automatic programming system, and a computer storage medium to solve the problem of low programming efficiency of the workpiece machining program in the prior art.

[0004] One embodiment of the present invention provides an automatic programming method, including the following steps:

[0005] Step S101: Obtain a fixture drawing corresponding to the workpiece drawing to be processed according to the workpiece drawing to be processed;

[0006] Step S102: Mark the first type of machining feature in the workpiece to be processed with the first color;

[0007] Step S103: Generate a machining program for the workpiece to be processed according to the fixture drawing and the machining feature of the first color.

[0008] In one embodiment, the automatic programming method further includes the following steps:

[0009] Step S104: Assemble the workpiece drawing to be processed and the fixture drawing together.

[0010] In one embodiment, the automatic programming method further includes the following steps:

[0011] Mark the second type of machining feature in the workpiece to be processed with the second color;

[0012] Generate a machining program for the workpiece to be processed according to the fixture drawing, the machining feature of the first color, and the machining feature of the second color.

[0013] In one embodiment, in step S104:

[0014] Select the first positioning surface and / or the second positioning surface and / or the third positioning surface in the workpiece drawing to be processed;

[0015] Assemble the workpiece drawing to be machined and the fixture drawing together according to the first positioning surface and / or the second positioning surface and / or the third positioning surface.

[0016] In one embodiment, in step S104:

[0017] Mark the first positioning surface in the workpiece drawing to be machined with a third color;

[0018] and / or, mark the second positioning surface in the workpiece drawing to be machined with a fourth color;

[0019] and / or, the workpiece drawing to be machined includes a third positioning surface, and mark the third positioning surface of the workpiece to be machined with a fifth color.

[0020] In one embodiment, in step S104:

[0021] Mark the first positioning surface in the workpiece drawing to be machined with a first number;

[0022] and / or, mark the second positioning surface in the workpiece drawing to be machined with a second number;

[0023] and / or, the workpiece drawing to be machined includes a third positioning surface, and mark the third positioning surface of the workpiece to be machined with a third number.

[0024] In one embodiment, the machining features include one or more of pin holes, through holes, threaded holes, and precision surfaces.

[0025] In one embodiment, in step S102:

[0026] According to the workpiece drawing to be machined, display the type and machining parameters of the machining features marked with a first color, and display the type and machining parameters of the machining features marked with a second color.

[0027] In one embodiment, in step S102:

[0028] The machining parameters include one or more of hole diameter, cutting direction, rough milling allowance, finish milling allowance, and step pitch.

[0029] In one embodiment, the automatic programming method further includes the following steps:

[0030] Generate an operation instruction manual for workpiece machining according to the fixture drawing and the workpiece drawing to be machined.

[0031] In one embodiment, the automatic programming method further includes the following steps:

[0032] Generate a dimensioned drawing of the workpiece to be machined according to the fixture drawing and the workpiece drawing to be machined.

[0033] One embodiment of the present invention further provides an automatic programming system, including:

[0034] An acquisition module for acquiring a fixture drawing corresponding to the workpiece drawing to be machined according to the workpiece drawing to be machined;

[0035] An identification module for marking the first type of machining features in the workpiece to be machined with a first color, and marking the second type of machining features in the workpiece to be machined with a second color;

[0036] A program generation module for generating a machining program for the workpiece to be machined according to the fixture drawing, the machining features of the first color, and the machining features of the second color.

[0037] In one embodiment, the automatic programming system further includes:

[0038] A fixture assembly module for assembling the workpiece drawing to be machined and the fixture drawing together.

[0039] In one embodiment, the automatic programming system further includes:

[0040] An instruction manual generation module for generating a workpiece machining operation instruction manual according to the fixture drawing and the workpiece drawing to be machined.

[0041] One embodiment of the present invention further provides an automatic programming system, including:

[0042] A memory, a processor, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the automatic programming method described in any one of the above embodiments are implemented.

[0043] One embodiment of the present invention further provides a computer-readable storage medium, on which an automatic programming program is stored, and when the automatic programming program is executed by a processor, the steps of the automatic programming method described in any one of the above embodiments are implemented.

[0044] The automatic programming method and the automatic programming system provided by the embodiments of the present invention have the following beneficial effects:

[0045] 1. In the automatic programming method provided by the embodiments of the present invention, by marking the first type of machining features in the workpiece to be machined with a first color, and generating a machining program for the workpiece to be machined according to the fixture drawing and the machining features of the first color, corresponding tools and process parameters can be selected according to the color of the machining features, thereby improving the programming efficiency.

[0046] 2. In the automatic programming method provided by the embodiments of the present invention, the first type of machining feature in the workpiece to be machined is marked with a first color, and the second type of machining feature in the workpiece to be machined is marked with a second color. That is, by using different colors to mark different types of machining features, the cutting tool and process parameters can be automatically selected according to different types of machining features, thereby improving the programming efficiency. In addition, since the type features and dimension features in the drawing of the workpiece to be machined have been preset, the automatic programming method can also automatically generate the machining program of the workpiece to be machined, and the accuracy of the generated machining program is relatively high.

[0047] 3. In the automatic programming method provided by the embodiments of the present invention, the fixture drawing corresponding to the workpiece drawing to be machined can be automatically obtained according to the workpiece drawing to be machined. On the one hand, this method does not require the programmer to manually search for the corresponding fixture drawing based on the workpiece drawing to be machined, thereby improving the efficiency. On the other hand, the workpiece drawing to be machined and the fixture drawing can be simultaneously displayed on the display device, so that the programmer can conveniently confirm again whether the used machining fixture drawing is accurate.

[0048] 4. In one of the embodiments, by selecting the first positioning surface and / or the second positioning surface and / or the third positioning surface of the workpiece to be machined, and displaying the first to third positioning surfaces in numerical order, or by displaying the first to third positioning surfaces in different colors, the above method can quickly realize the clamping and positioning of the workpiece to be machined, and is also beneficial for the programmer to confirm again whether the assembly of the workpiece drawing to be machined and the fixture drawing is accurate.

[0049] 5. In one of the embodiments, when generating the machining program of the workpiece to be machined, the type and machining parameters of the machining features marked with the first color can be displayed first according to the workpiece drawing to be machined, and the type and machining parameters of the machining features marked with the second color can be displayed. At this time, if the programmer does not need to modify the type and machining parameters of the machining features, the next step of generating the machining program can be carried out. If the programmer finds that the data of one or several items need to be modified, the type or machining parameters of the corresponding machining features can be directly modified on this interface, without returning to the previous step to modify the drawing file. This method can also effectively improve the programming efficiency.

[0050] 6. In one of the embodiments, an operation instruction manual for workpiece machining can also be generated according to the fixture drawing and the workpiece drawing to be machined. At this time, since the workpiece drawing to be machined, the fixture drawing, and the type and machining parameters of the machining features to be machined have been determined, the generated operation instruction manual for workpiece machining is relatively accurate. Description of the Drawings

[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on the structures shown in these drawings.

[0052] Figure 1 Schematic flow chart of the automatic programming method provided by one embodiment of the present invention;

[0053] Figure 2 For Figure 1 Schematic structural diagram of the workpiece to be machined in

[0054] Figure 3 For Figure 1 Schematic structural diagram of the fixture in

[0055] Figure 4 For Figure 1 Schematic interface diagram when the automatic programming method in sets fixture information;

[0056] Figure 5 For Figure 1 Schematic detailed flow chart of step S104 in

[0057] Figure 6 For Figure 5 Schematic detailed flow chart of selecting the first to third positioning surfaces in

[0058] Figure 7 For Figure 1 Schematic interface diagram when the automatic programming method in generates a machining program;

[0059] Figure 8 For Figure 1 Schematic interface diagram when the automatic programming method in generates a fixture operation instruction manual;

[0060] Figure 9 For Figure 1 Schematic interface diagram when the automatic programming method in performs profile marking;

[0061] Figure 10 Schematic module diagram of the automatic programming system provided by one embodiment of the present invention;

[0062] Figure 11 Schematic module diagram of the automatic programming system provided by another embodiment of the present invention;

[0063] Figure 12 Schematic module diagram of the automatic programming system provided by another embodiment of the present invention. Detailed implementation manners

[0064] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0065] It should be noted that if there are directional indications (such as up, down, left, right, front, back,...) involved in the embodiments of the present invention, the directional indications are only used to explain the relative position relationship and movement conditions between components in a specific posture. If the specific posture changes, the directional indications will also change accordingly.

[0066] In addition, if there are descriptions such as "first", "second", etc. involved in the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, if "and / or" or "and / or" appears throughout the text, its meaning includes three parallel scenarios. Taking "A and / or B" as an example, it includes scenario A, scenario B, or a scenario where both A and B are satisfied simultaneously. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.

[0067] Please refer to Figure 1 , one embodiment of the present invention provides an automatic programming method. The automatic programming method includes the following steps:

[0068] Step S101: Obtain a fixture drawing corresponding to the workpiece drawing to be machined according to the workpiece drawing to be machined. In one embodiment, the workpiece to be machined may be a welding angle seat, a pin seat, a connecting block, a vertical plate, an L-shaped integral angle seat, a supporting and pressing block, etc. As needed, those skilled in the art can also add other types of workpieces according to actual requirements. Step S102: Mark the first type of machining features on the workpiece to be machined with a first color. In one embodiment, the machining features include one or more of pin holes, through holes, threaded holes, and precision surfaces. As needed, those skilled in the art can also add other types of machining features according to actual requirements. Step S103: Generate a machining program for the workpiece to be machined according to the fixture drawing and the machining features of the first color. In one implementation, step S102 may also be: mark the first type of machining features on the workpiece to be machined with a first color; and mark the second type of machining features on the workpiece to be machined with a second color. At this time, the steps in step S103 are: generate a machining program for the workpiece to be machined according to the fixture drawing, the machining features of the first color, and the machining features of the second color. In one embodiment, the first color or the second color may be blue, pink, precious green, yellow, etc. It can be understood that the first color or the second color may also be other colors, and those skilled in the art can specifically determine according to actual needs. In this embodiment, pin holes are marked in blue; precision surfaces are marked in pink; through holes are marked in precious green; threaded holes are marked in yellow; as shown in the following table. For non-machined surfaces, any color other than the above standard colors can be used. As shown in the following table, different types of holes are marked with different colors. Among them, Ra is the symbol for surface roughness; H7 / N7 is the size tolerance symbol for the hole diameter. For example, Ra 3.2 means that the average surface unevenness of the workpiece to be machined relative to the reference plane is 3.2 micrometers; Ra1.6 means that the average surface unevenness of the workpiece to be machined relative to the reference plane is 1.6 micrometers.

[0069] Type of hole RBG parameter Remarks Finished surface 255,174,174 Ra3.2 / Ra1.6 Through hole / elongated slot / counterbore 0,175,175 Standard coarse pitch threaded hole 255,255,0 Fine pitch threaded hole 255,175,0 Pin hole 0,0,255 Hole of H7 / N7 Non-machined surface 175,175,175

[0070] In the automatic programming method provided by the embodiments of the present invention, by marking the first type of machining features in the workpiece to be machined with a first color, and generating a machining program for the workpiece to be machined according to the fixture drawing and the machining features of the first color, corresponding tools and process parameters can be selected according to the color of the machining features, thereby improving the programming efficiency. In addition, in one of the embodiments, the first type of machining features in the workpiece to be machined are marked with a first color, and the second type of machining features in the workpiece to be machined are marked with a second color. That is, by using different colors to mark different types of machining features, tools and process parameters can be automatically selected according to different types of machining features, thereby improving the programming efficiency. In addition, since the type features and dimension features in the drawing of the workpiece to be machined have been preset, the automatic programming method can also automatically generate a machining program for the workpiece to be machined, and the accuracy of the generated machining program is relatively high.

[0071] In addition, in the automatic programming method provided by the embodiments of the present invention, the fixture drawing corresponding to the drawing of the workpiece to be machined can be automatically obtained according to the drawing of the workpiece to be machined. On the one hand, this method eliminates the need for programmers to manually search for the corresponding fixture drawing based on the drawing of the workpiece to be machined, thereby improving the efficiency. On the other hand, the drawing of the workpiece to be machined and the fixture drawing can be simultaneously displayed on the display device, so that programmers can conveniently confirm again whether the used machining fixture drawing is accurate.

[0072] In this embodiment, the workpiece to be machined is the connecting block 100. Please refer to Figure 2, the connecting block 100 includes a first side 110 and a second side 120. The first side 110 and the second side 120 are connected to each other and form a right-angled shape. In this embodiment, the first side 110 is the long side, and the second side 120 is the short side. The first side 110 includes a first top surface 111, a first bottom surface 112, a first outer side surface 113 and a first inner side surface 114 connected between the first top surface 111 and the first bottom surface 112. The second side 120 includes a second top surface 121, a second bottom surface 122, a second outer side surface 123 and a second inner side surface 124 connected between the second top surface 121 and the second bottom surface 122. Specifically, the first top surface 111 and the second top surface 121 are flush with each other to form the top surface of the connecting block 100. The first bottom surface 112 and the second bottom surface 122 are flush with each other to form the bottom surface of the connecting block 100. The first side 110 is provided with a first hole 115, a second hole 116 and a third hole 117. In this embodiment, the first hole 115, the second hole 116 and the third hole 117 extend from the first outer side surface 113 to the first inner side surface 114. Specifically, the first hole 115 and the third hole 117 are pin holes, and the second hole 116 is a through hole or a waist hole or a counterbore. The second side 120 is provided with a fourth hole 125, a fifth hole 126, a sixth hole 127 and a seventh hole 128. In this embodiment, the fourth hole 125, the fifth hole 126, the sixth hole 127 and the seventh hole 128 extend from the second outer side surface 123 to the second inner side surface 124. Specifically, the fourth hole 125 and the sixth hole 127 are standard coarse pitch threaded holes; the fifth hole 126 and the seventh hole 128 are pin holes.

[0073] Please refer to Figure 4 , after opening the 3D drawing of the connecting block 100 in the design software, the 3D drawing of the fixture 200 corresponding to the connecting block 100 can be automatically obtained by clicking the button for fixture information setting. In this embodiment, the 3D drawing data of the fixture 200 can be stored in the local storage space of the computer or on the network server. When the programmer clicks to obtain the fixture information, the server can be accessed through the network to obtain the 3D drawing of the fixture stored on the network server.

[0074] In this embodiment, when the programmer clicks to obtain the fixture information, in addition to obtaining the 3D drawing information of the fixture, the information on how the workpiece to be machined is assembled to the fixture can also be obtained simultaneously. The information can be displayed on the display interface. At this time, the programmer can assemble the drawing of the workpiece to be machined and the drawing of the fixture together according to the corresponding display information.

[0075] In one of the embodiments, the automatic programming method further includes the following steps:

[0076] Step S104: Assemble the workpiece drawing to be processed and the fixture drawing together.

[0077] Please refer to Figure 5 , in one embodiment, in step S104:

[0078] Select the first positioning surface and / or the second positioning surface and / or the third positioning surface in the workpiece drawing to be processed;

[0079] Assemble the workpiece drawing to be processed and the fixture drawing together according to the first positioning surface and / or the second positioning surface and / or the third positioning surface.

[0080] In this embodiment, the first positioning surface is the surface formed by the first bottom surface 112 and the second bottom surface 122. The second positioning surface is the second inner side surface 124 of the second side 120. The third positioning surface is the first inner side surface 114 of the first side 110. By selecting the first to third positioning surfaces in the workpiece drawing to be processed, the workpiece drawing to be processed can be conveniently assembled into the fixture drawing.

[0081] Please refer to Figure 6 , in one embodiment, in step S104:

[0082] Mark the first positioning surface in the workpiece drawing to be processed with a third color;

[0083] and / or, mark the second positioning surface in the workpiece drawing to be processed with a fourth color;

[0084] and / or, the workpiece drawing to be processed includes a third positioning surface, and mark the third positioning surface of the workpiece to be processed with a fifth color.

[0085] According to requirements, in one embodiment, in step S104:

[0086] Mark the first positioning surface in the workpiece drawing to be processed with a first number;

[0087] and / or, mark the second positioning surface in the workpiece drawing to be processed with a second number;

[0088] and / or, the workpiece drawing to be processed includes a third positioning surface, and mark the third positioning surface of the workpiece to be processed with a third number.

[0089] Specifically, the workpiece to be processed is the connecting block 100. When clicking to obtain the fixture information setting, a diagram showing how the connecting block 100 is assembled onto the fixture 200 will be automatically displayed. Specifically, in the diagram, the first bottom surface 112 and the second bottom surface 122 together form the first positioning surface, marked as 1 and identified in red at the same time. The second inner side surface 123 forms the second positioning surface, marked as 2 and identified in yellow at the same time. The first inner side surface 113 forms the third positioning surface, marked as 3 and identified in blue at the same time. Similarly, corresponding first, second, and third positioning surfaces are also provided at the corresponding positions of the fixture 200. The first, second, and third positioning surfaces of the fixture 200 are also marked as 1, 2, and 3 respectively and identified in red, yellow, and blue respectively. At this time, click on the first bottom surface 112 or the second bottom surface 122, the second inner side surface 123, and the first inner side surface 113 in sequence according to the numbers 1-3, and the connecting block 100 can be assembled onto the fixture 200.

[0090] By selecting the first positioning surface and / or the second positioning surface and / or the third positioning surface of the workpiece to be processed, and displaying the first to third positioning surfaces in numerical order, or by displaying the first to third positioning surfaces in different colors, the above method can quickly realize the clamping and positioning of the workpiece to be processed, and is also conducive to the programmer to reconfirm whether the assembly of the workpiece pattern to be processed and the fixture pattern is accurate.

[0091] After assembling the connecting block 100 onto the fixture 200, the machining feature marking module in the design software can be clicked to bring up the interface for marking the machining features in the workpiece pattern to be processed.

[0092] Specifically, the interface for marking the machining features includes one or more of the following controls: pin hole (blue), precision surface (pink), through hole (emerald green), threaded hole (yellow), undefined (gray). When clicking on the control of the pin hole (blue), it indicates that the pin holes of the connecting block 100 need to be marked in blue. As known from the foregoing, the first hole 115, the third hole 117, the fifth hole 126, and the seventh hole 128 on the connecting block 100 are pin holes. At this time, after clicking on the control of the pin hole (blue), the first hole 115, the third hole 117, the fifth hole 126, and the seventh hole 128 on the connecting block 100 can be clicked, indicating that these holes will be made into pin holes.

[0093] Similarly, after clicking on the threaded hole (yellow), the fourth hole 125 and the sixth hole 127 on the connecting block 100 can be clicked, indicating that the fourth hole 125 and the sixth hole 127 will be made into threaded holes.

[0094] Similarly, after clicking on the through-hole (treasure green), the second hole 116 on the connecting block 100 can be clicked, indicating that the second hole 116 is to be made into a through-hole.

[0095] Similarly, after clicking on the precision surface (pink), the first outer side 113 and the second outer side 123 can be clicked, indicating that the first outer side 113 and the second outer side 123 are to be made into precision surfaces.

[0096] In fact, during the process of marking the machining features above, there is no restriction on the order of marking each machining feature. The pin hole can be marked first, the threaded hole can be marked first, or the precision surface can be marked first. Those skilled in the art can set it specifically according to actual needs.

[0097] In one embodiment, in step S102:

[0098] According to the workpiece drawing to be machined, display the types and machining parameters of the machining features marked with the first color, and display the types and machining parameters of the machining features marked with the second color.

[0099] In one embodiment, in step S102:

[0100] The machining parameters include one or more of hole diameter, cutting direction, rough milling allowance, finish milling allowance, and step distance.

[0101] In one embodiment, after marking the types of all machining features, the corresponding machining program can be generated by clicking on the control for generating the machining program. Specifically, please refer to Figure 7, after clicking the control for generating the machining program, the system will pop up an automatic programming confirmation window. The automatic programming confirmation window will include information on hole data and surface data. In one embodiment, the hole data information includes the type of hole, such as pin hole, through hole, threaded hole, etc. The hole type data is recognized by the system based on the previous color marking of the hole by the programmer. The hole data information may also include the diameter information of the hole, such as the diameter of the pin hole is 6 mm, the diameter of the through hole is 9 mm, and the diameter of the threaded hole is 6.5 mm. The corresponding hole diameter information can be obtained by measuring the machining features in the workpiece drawing to be machined. The hole data information may also include the position information of the hole. If necessary, the programmer can modify the type and diameter of the hole. And, if necessary, on the interface of the automatic programming confirmation window, the type and size of the machining feature can be directly added without modifying the workpiece drawing to be machined. In one embodiment, the surface data information includes parameters such as the type of surface to be machined, cutting angle mode, cutting direction, rough milling allowance, finish milling allowance, step pitch, etc. Specifically, in this embodiment, the type of surface to be machined is a milling surface, the cutting angle mode is automatically set, the cutting direction is 0, the rough milling allowance is 0.1, the finish milling allowance is 0, and the step pitch is 100. Similarly, if necessary, on the interface of the automatic programming confirmation window, the surface feature to be machined can be directly added without modifying the workpiece drawing to be machined.

[0102] That is, when generating the machining program for the workpiece to be machined, the type and machining parameters of the machining features marked with the first color and the type and machining parameters of the machining features marked with the second color can be displayed according to the workpiece drawing to be machined. At this time, if the programmer does not need to modify the type and machining parameters of the machining features, the next step of generating the machining program can be carried out. If the programmer finds that the data of one or several of them need to be modified, the type or machining parameters of the corresponding machining feature can be directly modified on this interface without returning to the previous step to modify the drawing. This method can also effectively improve the programming efficiency.

[0103] Please also refer to Figure 8 , in one embodiment, the automatic programming method further includes the following steps:

[0104] Generate a workpiece machining operation instruction book according to the fixture drawing 200 and the workpiece drawing 100 to be machined.

[0105] Specifically, during the process of generating the operation instruction manual for workpiece processing, the automatic programming method will automatically associate relevant process data. Unless there are special requirements to be noted, the automatic programming method can generate the operation instruction manual with one click. In this embodiment, the generated operation instruction manual for workpiece processing can be in two file formats, namely PDF or Excel. Among them, when the generated operation instruction manual is in PDF format, it can be directly uploaded to the server for storage.

[0106] In this embodiment, the operation instruction manual for workpiece processing can be generated according to the fixture drawing and the workpiece drawing to be processed. At this time, since the types and processing parameters of the workpiece drawing to be processed, the fixture drawing, and the features to be processed have been determined, the generated operation instruction manual for workpiece processing is relatively accurate.

[0107] Please refer to Figure 9 , in one of the embodiments, the automatic programming method further includes the following steps:

[0108] Generate a dimension marking drawing of the workpiece to be processed according to the fixture drawing 200 and the workpiece drawing 100 to be processed.

[0109] Specifically, by clicking on the control for contour marking, the maximum contour dimensions of the part can be marked with one click, making the clamping operation more convenient and fast.

[0110] One embodiment of the present invention also provides an automatic programming system 300. The automatic programming system 300 includes an acquisition module 310, an identification module 320, and a program generation module 330.

[0111] The acquisition module 310 is used to acquire the fixture drawing 200 corresponding to the workpiece drawing 100 to be processed according to the workpiece drawing 100 to be processed.

[0112] The identification module 320 is used to mark the first type of processing features in the workpiece 100 to be processed with a first color, and mark the second type of processing features in the workpiece 100 to be processed with a second color;

[0113] The program generation module 300 is used to generate a processing program for the workpiece to be processed according to the fixture drawing 200, the processing features of the first color, and the processing features of the second color.

[0114] In one of the embodiments, the automatic programming system further includes:

[0115] A fixture assembly module 340, which is used to assemble the workpiece drawing 100 to be processed and the fixture drawing 200 together.

[0116] In one of the embodiments, the automatic programming system further includes:

[0117] An instruction book generation module 350 is configured to generate an operation instruction book for workpiece machining according to the fixture drawing 100 and the workpiece drawing 200 to be machined.

[0118] Please refer to Figure 12 , one embodiment of the present invention further provides an automatic programming system 400. The automatic programming system 400 includes:

[0119] A memory 420, a processor 410, and a computer program 440 stored on the memory 420 and executable on the processor 410. When the computer program 440 is executed by the processor 410, it implements the steps of the automatic programming method described in any one of the above embodiments.

[0120] One embodiment of the present invention further provides a computer-readable storage medium. An automatic programming program is stored on the computer-readable storage medium. When the automatic programming program is executed by a processor, it implements the steps of the automatic programming method described in any one of the above embodiments.

[0121] The above are only the preferred embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structural transformation made by using the description and drawings of the present invention under the inventive concept of the present invention, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the present invention.

Claims

1. An automatic programming method, characterized in that, Including the following steps: According to the workpiece drawing to be processed, obtain the fixture drawing corresponding to the workpiece drawing to be processed; select the first positioning surface and / or the second positioning surface and / or the third positioning surface in the workpiece drawing to be processed; According to the first positioning surface and / or the second positioning surface and / or the third positioning surface, assemble the workpiece drawing to be processed and the fixture drawing together; Generate an operation instruction manual for workpiece processing according to the fixture drawing and the workpiece drawing to be processed; Mark the first processing feature in the workpiece to be processed with a first color; Mark the second processing feature in the workpiece to be processed with a second color; Generate a processing program for the workpiece to be processed according to the fixture drawing, the processing feature of the first color, and the processing feature of the second color; The workpiece to be processed is a connecting block, and the connecting block includes a first side and a second side, and the first side and the second side are connected to each other and form a right-angled shape.

2. The automatic programming method according to claim 1, characterized in that, In the step of assembling the workpiece drawing to be processed and the fixture drawing together according to the first positioning surface and / or the second positioning surface and / or the third positioning surface: Mark the first positioning surface in the workpiece drawing to be processed with a third color; And / or, mark the second positioning surface in the workpiece drawing to be processed with a fourth color; And / or, the workpiece drawing to be processed includes a third positioning surface, and mark the third positioning surface of the workpiece to be processed with a fifth color.

3. The automatic programming method according to claim 1, characterized in that, In the step of assembling the workpiece drawing to be processed and the fixture drawing together according to the first positioning surface and / or the second positioning surface and / or the third positioning surface: Mark the first positioning surface in the workpiece drawing to be processed with a first number; And / or, mark the second positioning surface in the workpiece drawing to be processed with a second number; And / or, the workpiece drawing to be processed includes a third positioning surface, and mark the third positioning surface of the workpiece to be processed with a third number.

4. The automatic programming method according to claim 1, characterized in that, The processing feature includes one or more of a pin hole, a through hole, a threaded hole, and a precision surface.

5. The automatic programming method according to any one of claims 1-4, characterized in that, In the step of marking the first processing feature in the workpiece to be processed with a first color; marking the second processing feature in the workpiece to be processed with a second color: According to the workpiece drawing to be processed, display the type and processing parameters of the processing feature marked with the first color, and display the type and processing parameters of the processing feature marked with the second color.

6. The automatic programming method according to claim 5, characterized in that, In the step of marking the first processing feature in the workpiece to be processed with a first color; marking the second processing feature in the workpiece to be processed with a second color: The processing parameters include one or more of hole diameter, cutting direction, rough milling allowance, finish milling allowance, and step distance.

7. The automatic programming method according to claim 1, characterized in that, It further includes the following steps: Generate a dimension marking drawing of the workpiece to be processed according to the fixture drawing and the workpiece drawing to be processed.

8. An automatic programming system, characterized in that, Including: An acquisition module for obtaining the fixture drawing corresponding to the workpiece drawing to be processed according to the workpiece drawing to be processed; An identification module for marking the first processing feature in the workpiece to be processed with a first color, and marking the second processing feature in the workpiece to be processed with a second color; A program generation module for generating a processing program for the workpiece to be processed according to the fixture drawing, the processing feature of the first color, and the processing feature of the second color; A fixture assembly module for assembling a workpiece drawing to be machined and a fixture drawing together; selecting a first positioning surface and / or a second positioning surface and / or a third positioning surface in the workpiece drawing to be machined; and assembling the workpiece drawing to be machined and the fixture drawing together according to the first positioning surface and / or the second positioning surface and / or the third positioning surface. An instruction manual generation module for generating an operation instruction manual for workpiece machining according to the fixture drawing and the workpiece drawing to be machined.

9. An automatic programming system, characterized in that, Comprising: A memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the automatic programming method according to any one of claims 1-7 are implemented.

10. A computer-readable storage medium, characterized in that, An automatic programming program is stored on the computer-readable storage medium, and when the automatic programming program is executed by the processor, the steps of the automatic programming method according to any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Numerical control device, NC machining device, and NC machining method

    CN107077123A

  • Automatic programming method and system and computer storage medium

    CN114237158A