Numerical control programming software design method

By adding reference lines and optimal high machining strategy tool paths to CNC programming software, the surface quality and time instability caused by different strategies of different programmers is solved, and more efficient machining progress and consistent product quality are achieved.

CN120335393APending Publication Date: 2025-07-18HARBIN HI-TECH MASCH CORPORATED CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510509111.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

When different programmers program the same workpiece, the strategies and parameters selected are different, which affect the surface quality and processing time of the product, resulting in unstable processing costs and delivery cycles.

Method used

A CNC programming software design method is adopted to process the digital model to be processed, add reference lines for the tool path, generate the best contour machining strategy tool path, and superimpose it with the reference lines to generate a fully covered tool path to ensure the uniformity and efficiency of the tool path.

Benefits of technology

It reduces tool road force, shortens processing progress and delivery cycle, and improves the consistency of product surface quality and the convenience of program verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335393A_ABST
    Figure CN120335393A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of mechanical numerical control machining, in particular to a numerical control programming software design method which comprises the following steps: firstly, processing a to-be-machined digital model to ensure that the digital model is free of missing and the coordinate is correct, then drawing a reference line of a tool path required to be supplemented and added for the to-be-machined digital model, and generating a machining tool path based on the reference line; the method comprises the following steps of: generating a reference line generated machining tool path, generating an optimal equal-height machining strategy tool path required by a to-be-machined digital model at the same time, and finally superposing the optimal equal-height machining strategy tool path and the reference line generated machining tool path, and generating a tool path completely covering a to-be-machined surface after superposing. In order to solve the problem that the surface quality and the machining time of a product are directly influenced due to different selected strategies and different parameter settings, the technical scheme greatly reduces the cutter path, shortens the machining progress and the time of a delivery cycle and facilitates program checking through a superposition technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mechanical numerical control machining, and particularly to a design method for numerical control programming software. Background Art

[0002] In the field of mechanical numerical control machining, numerical control programming, as a bridge connecting the design blueprint and actual production and manufacturing, is of great importance. The compilation of numerical control machining programs is based on computer-aided design and manufacturing (CAD / CAM) technology, which transforms the geometric shape, dimensions, and technical requirements of parts into an instruction sequence that the machine tool can recognize and execute. This process not only requires a high degree of accuracy but also greatly depends on the experience and skill level of programmers.

[0003] Traditionally, the compilation of numerical control machining programs involves multiple complex steps, from the import of 3D models, process planning, tool path generation to post-processing. Each step is directly related to the machining quality and efficiency of the final product. However, even for the same workpiece, different programmers often adopt different programming strategies and parameter settings based on personal preferences, experience, and understanding of machining strategies. This difference is mainly reflected in the planning of tool paths, such as cutting speed, feed rate, cutting depth, and tool selection. These factors directly determine the material removal rate, cutting force, thermal deformation, etc. during the machining process, and thus affect the surface roughness, dimensional accuracy, and even the overall machining cost of the workpiece. Summary of the Invention

[0004] The purpose of the present invention is to provide a design method for numerical control programming software, which solves the problem that when different programmers program the same workpiece, different strategies and parameter settings are selected, which will directly affect the surface quality and machining time of the product, and will have an impact on the machining cost and delivery cycle of the overall project.

[0005] To achieve the above purpose, the present invention provides a design method for numerical control programming software, and the design method for numerical control programming software includes the following steps:

[0006] Process the digital model to be machined to ensure that the digital model is complete and the coordinates are correct;

[0007] Draw a reference line for adding a tool path that needs to be supplemented to the digital model to be machined;

[0008] Generate a machining tool path based on the reference line;

[0009] Generate the tool path of the best contour machining strategy required by the digital model to be machined;

[0010] Superimpose the tool path of the best contour machining strategy and the reference line to generate a machining tool path, and after superimposition, generate a tool path that completely covers the surface to be machined.

[0011] Among them, in the step of "drawing the reference line for supplementing the tool path required for the digital model to be processed", the reference line is hand-drawn.

[0012] Among them, the specific steps of the step of "generating the machining tool path based on the reference line" are as follows:

[0013] Draw the shortest straight line or curve covering the surface to be machined under the reference line command;

[0014] Project the drawn line onto the same horizontal plane under the reference line command;

[0015] Smoothly connect the drawn lines under the reference line command;

[0016] Merge the drawn lines under the reference line command;

[0017] Generate the tool path and verify the simulated tool path.

[0018] Among them, the specific steps of the step of "generating the tool path of the best contour machining strategy required for the digital model to be processed" are as follows:

[0019] Define the boundary of the area to be machined;

[0020] Set the required tool under the best contour machining strategy command;

[0021] Set the required machining parameters under the best contour machining strategy command;

[0022] Confirm the generation of the tool path under the best contour machining strategy command.

[0023] Among them, in the step of "setting the required tool under the best contour machining strategy command", the set tool has the same tool parameters as those in the step of "generating the machining tool path based on the reference line".

[0024] Among them, in the step of "superimposing the tool path of the best contour machining strategy and the machining tool path generated from the reference line, and generating a tool path that completely covers the surface to be machined after superimposition", during superimposition, it is necessary to follow the principle of from high to low and from outside to inside, and use the program that needs to be machined first as the main program, and superimpose other programs in sequence.

[0025] A design method for numerical control programming software of the present invention first processes a digital model to be machined to ensure that the digital model is complete and the coordinates are correct. Then, reference lines for adding tool paths to be supplemented to the digital model to be machined are drawn, and machining tool paths are generated based on the reference lines. At the same time, tool paths of the best contour machining strategy required by the digital model to be machined are generated. Finally, the tool paths of the best contour machining strategy are superimposed on the machining tool paths generated from the reference lines, and after superimposition, tool paths covering the entire surface to be machined are generated. Compared with the problem in the prior art that when different programmers program the same workpiece, different strategies are selected and different parameter settings are used, which directly affect the surface quality and machining time of the product, adopting this technical solution greatly reduces the tool paths through the superimposition technology, shortens the machining progress and the time of the delivery cycle, and also facilitates program verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order 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 following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0027] Figure 1 It is a flowchart of the steps of the design method for numerical control programming software provided by the present invention.

[0028] Figure 2 It is a schematic diagram of the rules when drawing reference lines provided by the present invention.

[0029] Figure 3 It is an effect diagram when drawing reference lines provided by the present invention.

[0030] Figure 4 It is a schematic diagram of the strategy selector when drawing reference lines provided by the present invention.

[0031] Figure 5 It is a schematic diagram of the parameter settings of the strategy selector when drawing reference lines provided by the present invention.

[0032] Figure 6 It is a blackboard writing schematic diagram when drawing reference lines provided by the present invention.

[0033] Figure 7 It is a production program schematic diagram when drawing reference lines provided by the present invention.

[0034] Figure 8 It is a schematic diagram of the parameter settings of the strategy selector when the best contour machining strategy tool path is provided by the present invention.

[0035] Figure 9It is a schematic diagram of the production program when the tool path of the best equal-height machining strategy provided by the present invention is used.

[0036] Figure 10 It is a schematic diagram of the effect of the tool path that generates a full coverage of the surface to be machined after superposition. Detailed implementation manners

[0037] The embodiments of the present invention will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and are intended to explain the present invention, and should not be construed as a limitation to the present invention.

[0038] Please refer to Figures 1 to 10 , the present invention provides a method for designing a numerical control programming software, and the method for designing the numerical control programming software includes the following steps:

[0039] S1: Process the digital model to be machined to ensure that the digital model is complete and the coordinates are correct;

[0040] S2: Draw reference lines for the digital model to be machined that need to supplement the tool path;

[0041] S3: Generate a machining tool path based on the reference lines;

[0042] S4: Generate the tool path of the best equal-height machining strategy required for the digital model to be machined;

[0043] S5: Superimpose the tool path of the best equal-height machining strategy and the tool path generated from the reference lines. After superposition, a tool path that fully covers the surface to be machined is generated.

[0044] In this embodiment, first, the digital model to be machined is processed to ensure that the digital model is complete and the coordinates are correct. Then, reference lines for the digital model to be machined that need to supplement the tool path are drawn, and a machining tool path is generated based on the reference lines. At the same time, the tool path of the best equal-height machining strategy required for the digital model to be machined is generated. Finally, the tool path of the best equal-height machining strategy and the tool path generated from the reference lines are superimposed. After superposition, a tool path that fully covers the surface to be machined is generated. Compared with the problem in the prior art that different programmers use different strategies and parameter settings when programming the same workpiece, which directly affects the surface quality and machining time of the product, adopting this technical solution greatly reduces the tool path through the superposition technology, shortens the machining progress and delivery cycle time, and also facilitates program verification.

[0045] Further, in the step of "drawing reference lines for the digital model to be machined that need to supplement the tool path", the reference lines are manually drawn.

[0046] Further, the specific steps of the step "generating a machining tool path based on a reference line" are as follows:

[0047] Draw the shortest straight line or curve covering the surface to be machined under the reference line command;

[0048] Project the drawn line onto the same horizontal plane under the reference line command;

[0049] Smoothly connect the drawn lines under the reference line command;

[0050] Merge the drawn lines under the reference line command;

[0051] Generate a tool path and verify the simulated tool path.

[0052] In this embodiment, first import the digital model to be machined into the PowerMIL software. The original digital model is stored in the *.CATPart format, which clears and records the entire design operation process for easy traceability. Before importing the digital model, perform process supplementation and save it as the *.STP format. Measure the highest point data of the digital model, draw a reference line at the highest point. The reference line should be parallel to the XY plane and 0.5 mm higher than the highest point of the digital model to leave a margin for finish machining of the surface. The reference line is required to be continuous without breakpoints and have smooth fillet transitions. The straight line part should be parallel to the X or Y axis, as Figure 2 shown, and the effect diagram is as Figure 3 shown;

[0053] Then, open the "Strategy Selector" in the toolbar and click "Reference Line Finish Machining" (as Figure 4 shown). The cutting depth is related to the step-down and the number of cutting passes. This value needs to calculate the size of the margin, that is: the number of cutting passes X step-down = cutting depth. After measuring the highest point of the blank margin as 24.5 mm, 50 X 0.5 = 25 mm, 25 - 24.5 = 0.5 mm, and the margin at the high point after machining is 0.5 mm. Name the reference line as "A1-0°" and select the coordinates as "A0-2022.01.10" as shown in Figure 5 , and set the blackboard as shown in Figure 6 shown, and name this program as "3";

[0054] Finally, click "Apply" and then click "Accept", and the production program is as shown in Figure 7 shown, and the first-step reference line program is completed.

[0055] Further, the specific steps of the step "generating the optimal contour machining strategy tool path required for the digital model to be machined" are as follows:

[0056] Define the boundary of the area to be machined;

[0057] Set the required tool under the optimal constant height machining strategy command (the tool parameters set are the same as those in the step "Generate machining tool path based on reference line");

[0058] Set the required processing parameters under the optimal height-consistent processing strategy command;

[0059] Confirm the generation of tool path under the optimal constant height machining strategy command.

[0060] In this embodiment, the strategy path for generating the optimal contour machining strategy tool path required for the digital model to be machined is the same as the path in the step "Generate machining tool path based on reference line". Click "Contact machining" to set the parameters such as Figure 8 , name the NC program "2", and generate the program as follows Figure 9 shown.

[0061] Furthermore, in the step of "superimposing the optimal equal height machining strategy tool path with the machining tool path generated by the reference line to generate a tool path that fully covers the surface to be machined", when superimposing, it is necessary to follow the principle of from high to low and from outside to inside, take the program that needs to be processed first as the parent program, and superimpose other programs in sequence.

[0062] In this embodiment, the key to superposition lies in the sequence of NC programs. The principle is from high to low, from outside to inside. When superimposing, the highest program or the one that needs to be processed first is used as the mother program, and it is superimposed in order of high and low and outside and inside levels, and so on. When all the superposition is completed, the specific operation is: first use the left mouse to click the program measurement mark in the tool path directory without releasing your finger, hold down the Ctrl key with your left hand, and when you drag the mouse with your right hand, a "+" will appear at the root of the mouse arrow. When dragging the program strategy to superimpose the tool mother program, click "Yes". At this point, the first step of superposition is completed, and the subsequent strategies can be superimposed from high to low and from outside to inside. The effect after superposition is as follows Figure 10 shown.

[0063] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A design method for numerical control programming software, characterized in that, It includes the following steps: Process the digital model to be machined to ensure that the digital model is complete and the coordinates are correct; Draw a reference line for supplementing the tool path required for the digital model to be machined; Generate a machining tool path based on the reference line; Generate the tool path of the best contour machining strategy required for the digital model to be machined; Overlay the tool path of the best contour machining strategy with the tool path generated from the reference line. After overlaying, a tool path that completely covers the surface to be machined is generated.

2. The method for designing a numerical control programming software according to claim 1, wherein in the step of "drawing a reference line for supplementing the tool path required for the digital model to be machined", the reference line is manually drawn.

3. The method for designing a numerical control programming software according to claim 2, wherein the specific steps of the step of "generating a machining tool path based on the reference line" are: Draw the shortest straight line or curve covering the surface to be machined under the reference line command; Project the drawn line onto the same horizontal plane under the reference line command; Smoothly connect the drawn lines under the reference line command; Merge the drawn lines under the reference line command; Generate a tool path and verify the simulated tool path.

4. The method for designing a numerical control programming software according to claim 3, wherein the specific steps of the step of "generating the tool path of the best contour machining strategy required for the digital model to be machined" are: Define the boundary of the area to be machined; Set the required tool under the best contour machining strategy command; Set the required machining parameters under the best contour machining strategy command; Confirm the generation of the tool path under the best contour machining strategy command.

5. The method for designing a numerical control programming software according to claim 4, wherein in the step of "setting the required tool under the best contour machining strategy command", the set tool has the same tool parameters as those in the step of "generating a machining tool path based on the reference line".

6. The method for designing a numerical control programming software according to claim 5, wherein in the step of "overlaying the tool path of the best contour machining strategy with the tool path generated from the reference line. After overlaying, a tool path that completely covers the surface to be machined is generated", during the overlaying, in accordance with the principle of from high to low and from outside to inside, the program that needs to be machined first is used as the main program, and other programs are overlaid in sequence.