Method, device, processor and computer readable storage medium for recognizing pipe tool path groove machining treatment in numerical control system
By identifying and processing the topological relationship of three-dimensional information in the CNC system and automatically identifying and processing the bevel of the pipe, the problem of secondary processing after laser cutting is solved, and full automation and cost savings are achieved.
Patent Information
- Application Number
- CN202510009441.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-04-15
AI Technical Summary
In the prior art, the bevel cannot be directly generated by laser cutting, and the user needs to use the bevel machine to perform secondary processing after laser cutting, which consumes a lot of manpower and material resources.
By identifying the iges file or step file, the topological relationship of three-dimensional information is read and established, the feature slope is identified, the point processing vector is calculated, and processing is carried out according to the saved vector when processing the laser axis.
It realizes automatic identification and processing of pipe bevels in the CNC system, solves the problem of secondary processing after laser cutting, achieves full automation, and saves a lot of manpower and time.
Smart Images

Figure CN119828602A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of CAD systems for numerical control, in particular to the field of file identification and model processing, and specifically refers to a method, device, processor and computer-readable storage medium thereof for realizing identification of pipe tool path groove processing in a numerical control system. Background Art
[0002] Currently, the bevel on the market cannot be directly produced by laser cutting. Users need to use a beveling machine for additional secondary processing after the laser cuts a vertical surface on the pipe surface, which will consume a lot of manpower and material resources. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, device, processor and computer-readable storage medium for realizing the identification of pipe tool path beveling processing in a CNC system which saves time, has low labor costs and has a wide range of applications.
[0004] In order to achieve the above-mentioned purpose, the method, device, processor and computer-readable storage medium for realizing the identification of pipe tool path groove processing in the numerical control system of the present invention are as follows:
[0005] The method for realizing the identification of pipe tool path groove processing in the numerical control system is mainly characterized in that the method comprises the following steps:
[0006] (1) Identify iges file or step file;
[0007] (2) Read and store all the three-dimensional information in the file and establish the topological relationship between points, lines and surfaces;
[0008] (3) Identify the corresponding characteristic slope surface based on the newly established topological relationship;
[0009] (4) Take out the processing points on the characteristic slope one by one and calculate their point processing vectors;
[0010] (5) Save all point processing vectors and process the workpiece according to the saved vectors during laser axis processing.
[0011] Preferably, the step (1) specifically comprises the following steps:
[0012] (1.1) Identify whether the file format is correct. If so, proceed to step (1.2); otherwise, re-identify;
[0013] (1.2) Read the file content and read the 3D geometric model information of different file formats respectively.
[0014] Preferably, the step (2) specifically comprises the following steps:
[0015] (2.1) The CNC system converts the file's three-dimensional information into custom three-dimensional point, line, and surface information;
[0016] (2.2) Establish topological information and determine the connection relationship between each point, line and surface and other points, lines and surfaces, that is, the topological relationship.
[0017] Preferably, the step (3) specifically comprises the following steps:
[0018] (3.1) The CNC system determines the inner and outer surfaces of the 3D model based on the topological information and the stretching direction of the tube;
[0019] (3.2) After the CNC system determines the inner and outer surfaces of the three-dimensional model, it is determined that all remaining surfaces are groove surfaces;
[0020] (3.3) The CNC system distinguishes the hole groove surface and the cutoff line groove surface based on the position relationship.
[0021] Preferably, the step (4) specifically comprises the following steps:
[0022] (4.1) The CNC system obtains the normal direction of the groove surface and the tangent direction of the upper processing line;
[0023] (4.2) The CNC system rotates the surface normal 90° along the tangential direction to obtain the groove processing normal.
[0024] The device for realizing the identification of pipe tool path groove processing in the numerical control system has the following main features: the device comprises:
[0025] a processor configured to execute computer executable instructions;
[0026] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for identifying the pipe tool path beveling processing in the above-mentioned numerical control system are implemented.
[0027] The processor in the numerical control system for realizing identification of pipe tool path beveling processing has the main feature that the processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for realizing identification of pipe tool path beveling processing in the above-mentioned numerical control system are realized.
[0028] The computer-readable storage medium has the main feature of storing a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the method for identifying the pipe tool path groove processing in the above-mentioned numerical control system.
[0029] The method, device, processor and computer-readable storage medium for identifying pipe tool path beveling processing in the numerical control system of the present invention are adopted, and are applied to the effect of cutting out the side slope in the pipe laser cutting, solving the problem that users still need to perform secondary processing after cutting software, achieving the effect of full automation and saving a lot of manpower and time, which can save users a lot of time and money. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a schematic diagram of the import direction of pipe identification in the numerical control system of the present invention.
[0031] Figure 2 It is a schematic diagram of a method for defining a normal direction for groove processing in a numerical control system of the present invention.
[0032] Figure 3 It is a schematic diagram of the interpolation method of the groove normal in the numerical control system of the present invention.
[0033] Figure 4 It is a schematic diagram of the effect achieved after interpolation in the numerical control system of the present invention.
[0034] Figure 5 The present invention is a flow chart of a method for realizing the identification of pipe tool path groove processing in the numerical control system of the present invention.
[0035] Figure 6 It is a schematic diagram of a first sub-flow of a method for realizing the identification of pipe tool path groove processing in a numerical control system of the present invention, and is a flow chart of a groove identification scheme.
[0036] Figure 7 It is a second sub-flow diagram of the method for realizing the identification of pipe tool path groove processing in the numerical control system of the present invention, and is a flow chart of the topological construction scheme of groove identification.
[0037] Figure 8 It is a schematic diagram of a third sub-flow of the method for realizing the identification of pipe tool path beveling processing in the numerical control system of the present invention, and is a flowchart of how three-dimensional data is converted into system data. DETAILED DESCRIPTION
[0038] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0039] The method for realizing the identification of pipe tool path groove processing in the numerical control system of the present invention comprises the following steps:
[0040] (1) Identify iges file or step file;
[0041] (2) Read and store all the three-dimensional information in the file and establish the topological relationship between points, lines and surfaces;
[0042] (3) Identify the corresponding characteristic slope surface based on the newly established topological relationship;
[0043] (4) Take out the processing points on the characteristic slope one by one and calculate their point processing vectors;
[0044] (5) Save all point processing vectors and process the workpiece according to the saved vectors during laser axis processing.
[0045] As a preferred embodiment of the present invention, the step (1) specifically comprises the following steps:
[0046] (1.1) Identify whether the file format is correct. If so, proceed to step (1.2); otherwise, re-identify;
[0047] (1.2) Read the file content and read the 3D geometric model information of different file formats respectively.
[0048] As a preferred embodiment of the present invention, the step (2) specifically comprises the following steps:
[0049] (2.1) The CNC system converts the file's three-dimensional information into custom three-dimensional point, line, and surface information;
[0050] (2.2) Establish topological information and determine the connection relationship between each point, line and surface and other points, lines and surfaces, that is, the topological relationship.
[0051] As a preferred embodiment of the present invention, the step (3) specifically comprises the following steps:
[0052] (3.1) The CNC system determines the inner and outer surfaces of the 3D model based on the topological information and the stretching direction of the tube;
[0053] (3.2) After the CNC system determines the inner and outer surfaces of the three-dimensional model, it is determined that all remaining surfaces are groove surfaces;
[0054] (3.3) The CNC system distinguishes the hole groove surface and the cutoff line groove surface based on the position relationship.
[0055] As a preferred embodiment of the present invention, the step (4) specifically comprises the following steps:
[0056] (4.1) The CNC system obtains the normal direction of the groove surface and the tangent direction of the upper processing line;
[0057] (4.2) The CNC system rotates the surface normal 90° along the tangential direction to obtain the groove processing normal.
[0058] The device for realizing the identification of pipe tool path groove processing in the numerical control system of the present invention, wherein the device comprises:
[0059] a processor configured to execute computer executable instructions;
[0060] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for identifying the pipe tool path beveling processing in the above-mentioned numerical control system are implemented.
[0061] The processor in the numerical control system of the present invention is used to implement the identification of pipe tool path beveling processing, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the method for identifying pipe tool path beveling processing in the above-mentioned numerical control system are implemented.
[0062] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the method for identifying the pipe tool path beveling processing in the above-mentioned numerical control system.
[0063] In a specific embodiment of the present invention, the method for automatically generating groove tool path processing for importing and identifying igs files in the numerical control system includes the following steps:
[0064] (1) Identify iges file or step file.
[0065] (1.1) Identify whether the file format is correct;
[0066] (1.2) Read the file content and read its 3D geometric model information according to the different file formats.
[0067] (2) Read and store all the three-dimensional information in the file and establish the topological relationship between points, lines and surfaces;
[0068] (2.1) The CNC system converts the file's three-dimensional information into custom three-dimensional point, line, and surface information;
[0069] (2.2) Establish topological information and determine the connection relationship between each point, line and plane and other points, lines and planes, that is, the topological relationship.
[0070] (3) Based on the newly established topological relationship, identify the corresponding characteristic slope surface.
[0071] (3.1) The CNC system determines the inner side and the outer side of the 3D model based on the topological information and the stretching direction of the tube.
[0072] Outer side;
[0073] (3.2) After the CNC system determines the inner and outer surfaces of the 3D model, it can determine that all remaining surfaces are groove surfaces;
[0074] (3.3) The CNC system distinguishes the hole groove surface and the cutoff line groove surface again according to the position relationship;
[0075] (4) Take out the processing points on the characteristic slope one by one and calculate their point processing vectors
[0076] (4.1) The CNC system obtains the normal direction of the groove surface and the tangent direction of the upper processing line;
[0077] (4.2) The CNC system rotates the surface normal by 90° along the tangential direction to obtain the groove processing normal;
[0078] (5) Save all point processing vectors and retrieve them during subsequent CNC system processing. The laser axis processes the workpiece according to the saved vectors.
[0079] In a specific implementation of the present invention, in a three-dimensional workpiece, how the numerical control system imports the workpiece tube information and identifies its corresponding groove normal has important research significance for the three-dimensional laser cutting technology.
[0080] In order to successfully obtain slope processing data, this design scheme fully considers the feature recognition of pipe workpieces in three dimensions, introduces three-dimensional topology, and proposes a groove recognition algorithm.
[0081] Step 1: Identify 3D data and obtain point, line and surface data;
[0082] Step 2: Get different projection data according to different stretching directions of the pipe, and calculate the correct stretching direction according to the projection data, such as Figure 1 The stretching direction is the direction of the arrow;
[0083] Step 3: According to the surface data corresponding to the projection contour, the inner and outer surfaces of the pipe are obtained, the original surface information is stored, and according to the association relationship between the previously stored projection edge and the original surface, the outer surface and the inner surface of the original surface are marked;
[0084] Step 4: Obtain the inner and outer surfaces of the groove surface according to the mark. At this time, sample the line close to the outer side of the groove surface and calculate the corresponding tangent and the normal direction of the position surface for each point independently, such as Figure 2 As shown, R is the tangent direction, N2 is the surface normal, and F is obtained by rotating N2 around R by 90°.
[0085] Step 5: Perform the same operation on all discrete points on the surface, that is, obtain the same normal direction of all processing points. Due to the limitation of discrete accuracy, the processing normal needs to be supplemented between points. The supplementation strategy is as follows: Figure 3 shown.
[0086] Step 6: Obtain the processing positions of all points and the corresponding processing normals. The processing normals can be used for subsequent tool axis posture establishment or 3D display interface preview, such as Figure 4 shown.
[0087] The technical solution of the present invention is constructed through topology, and can automatically rotate the three-dimensional data to a standard coordinate system through preprocessing, and obtain the groove surface and the contour surface according to the topological relationship.
[0088] The technical solution of the present invention is universal and does not require high 3D data from the user. In addition to identifying the bevel, this solution also has the function of identifying the type of 3D data. The technical solution of the present invention first models the 3D data to obtain the obtained information, and distinguishes different types of slopes by different normal cuts, which can greatly improve the success and accuracy of recognition. The support for igs omits the requirement for user input data, and users can use various types of 3D software to draw in various coordinate systems.
[0089] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.
[0090] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0091] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0092] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0093] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0094] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0096] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0097] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0098] The method, device, processor and computer-readable storage medium for identifying pipe tool path beveling processing in the numerical control system of the present invention are adopted, and are applied to the effect of cutting out the side slope in the pipe laser cutting, solving the problem that users still need to perform secondary processing after cutting software, achieving the effect of full automation and saving a lot of manpower and time, which can save users a lot of time and money.
[0099] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A method for realizing the identification of pipe tool path groove processing in a numerical control system, characterized in that: The method comprises the following steps: (1) Identify iges file or step file; (2) Read and store all the three-dimensional information in the file and establish the topological relationship between points, lines and surfaces; (3) Identify the corresponding characteristic slope surface based on the newly established topological relationship; (4) Take out the processing points on the characteristic slope one by one and calculate their point processing vectors; (5) Save all point processing vectors and process the workpiece according to the saved vectors during laser axis processing.
2. The method for realizing the identification of pipe tool path beveling processing in the numerical control system according to claim 1, characterized in that: The step (1) specifically comprises the following steps: (1.1) Identify whether the file format is correct. If so, proceed to step (1.2); otherwise, re-identify; (1.2) Read the file content and read the 3D geometric model information of different file formats respectively.
3. The method for realizing the identification of pipe tool path beveling processing in the numerical control system according to claim 1, characterized in that: The step (2) specifically comprises the following steps: (2.1) The CNC system converts the file's three-dimensional information into custom three-dimensional point, line, and surface information; (2.2) Establish topological information and determine the connection relationship between each point, line and surface and other points, lines and surfaces, that is, the topological relationship.
4. The method for realizing the identification of pipe tool path beveling processing in a numerical control system according to claim 1, characterized in that: The step (3) specifically comprises the following steps: (3.1) The CNC system determines the inner and outer surfaces of the 3D model based on the topological information and the stretching direction of the tube; (3.2) After the CNC system determines the inner and outer surfaces of the three-dimensional model, it is determined that all remaining surfaces are groove surfaces; (3.3) The CNC system distinguishes the hole groove surface and the cutoff line groove surface based on the position relationship.
5. The method for realizing the identification of pipe tool path beveling processing in a numerical control system according to claim 1, characterized in that: The step (4) specifically comprises the following steps: (4.1) The CNC system obtains the normal direction of the groove surface and the tangent direction of the upper processing line; (4.2) The CNC system rotates the surface normal 90° along the tangential direction to obtain the groove processing normal.
6. A device for realizing the identification of pipe tool path beveling processing in a numerical control system, characterized in that: The device comprises: a processor configured to execute computer-executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, the steps of the method for identifying pipe tool path beveling processing in the numerical control system of any one of claims 1 to 5 are implemented.
7. A processor for realizing the identification of pipe tool path beveling processing in a numerical control system, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for identifying pipe tool path beveling processing in the CNC system described in any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for identifying pipe tool path beveling processing in a numerical control system in any one of claims 1 to 5.