Part surface contour extraction method and system based on laser cutting equipment
Through the curve and surface mapping and automated control of three-dimensional five-axis laser cutting equipment, the problem that traditional laser cutting machines are difficult to handle complex-shaped parts is solved, high-precision and efficient curved surface cutting is achieved, the scope of application is expanded, and the development of manufacturing automation is promoted.
Patent Information
- Application Number
- CN202410777939.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-10
AI Technical Summary
Traditional two-dimensional plane laser cutting machines are difficult to process parts with complex shapes and cannot meet the changing shape requirements of modern products.
Using three-dimensional five-axis laser cutting equipment, by constructing curve-surface mapping and depth traversal, the surface contour of the part is automatically extracted, the tangent relationship between the surfaces is judged, and automated control and precise cutting are achieved.
It expands the application scope of laser cutting, improves processing accuracy and efficiency, realizes automatic tracking and correction, is suitable for aerospace, automobile manufacturing and other fields, and promotes the development of manufacturing industry towards automation, intelligence and personalized customization.
Smart Images

Figure CN118616882A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of laser cutting, and in particular relates to a method and system for extracting part surface contour based on laser cutting equipment. Background Art
[0002] At present, laser cutting, as a thermal processing method, uses the high energy density of the laser beam to quickly melt or gasify metal or non-metal materials. It has high cutting efficiency, good precision, low thermal impact, and can process some difficult-to-process materials. In comparison, traditional mechanical cutting methods such as turning and milling have defects such as large cutting force, low processing precision, slow processing efficiency, and difficulty in processing some special materials. Although the traditional two-dimensional plane laser cutting machine has the above advantages, it can only cut and process flat workpieces, and it seems to be unable to meet the increasingly complex and changeable shape requirements of modern products. Summary of the invention
[0003] The purpose of the present invention is to overcome the defects of the prior art. The present invention provides a method and system for extracting the surface contour of a part based on a laser cutting device.
[0004] In order to achieve the expected effect, the present invention adopts the following technical solutions:
[0005] The invention discloses a method for extracting a part surface profile based on a laser cutting device, comprising:
[0006] S1. Connecting the surfaces of the three-dimensional model of the target part surface imported into the laser cutting device to obtain the target surface;
[0007] S2. Determine the correspondence between curves and surfaces in the target surface and construct a line-surface dictionary;
[0008] S3. Starting from the first surface, traverse to obtain the curve set constituting the first surface, and find the surface set corresponding to the curve set from the line-surface dictionary; determine whether there is a second surface tangent to the first surface in the surface set; if so, add the second surface to the surface set of the first surface, and set the second surface as the first surface; otherwise, add the curve set of the first surface to the boundary set of the first surface;
[0009] S4. After all the curved surfaces of the three-dimensional model of the target part surface are traversed, the surface of the three-dimensional model of the target part surface and the contour to be processed are obtained.
[0010] Furthermore, the Sewing function in Opencascade CAD is used to connect the various faces of the three-dimensional model of the target part surface imported into the laser cutting device to obtain the target surface.
[0011] Furthermore, the laser cutting equipment is a three-dimensional five-axis laser cutting equipment.
[0012] Furthermore, the S2 specifically includes: taking the curve as the key Key and the face set as the value Value, constructing a line-face dictionary EFM, traversing the surface Face constituting the three-dimensional model, traversing the curve Edge constituting the surface Face, if the key Key of the EFM does not contain Edge, then adding it to the EFM, if the key Key of the EFM contains Edge, then setting Edge as the Key, and adding Face to the Value corresponding to the Key.
[0013] Furthermore, the method of determining whether there is a second surface tangent to the first surface in the surface set specifically includes: discretizing a common edge line CL of the first surface and the second surface, taking a number of common points on the common edge line, and taking a first tangent vector of the first surface and a second tangent vector of the second surface at the common points, and if the angles between the first tangent vector and the second tangent vector of all common points are less than a threshold value, then it is determined that the first surface and the second surface are tangent, otherwise they are not tangent.
[0014] Furthermore, the first curved surface is an arbitrary curved surface in the target surface.
[0015] The invention discloses a part surface contour extraction system based on laser cutting equipment, comprising:
[0016] An acquisition module is used to acquire a three-dimensional model of the surface of a target part;
[0017] An extraction module is used to extract the surface contour of the part according to any of the methods described above.
[0018] The present invention also discloses a laser cutting device, which includes the system as described above.
[0019] The present invention also discloses an electronic device, comprising:
[0020] a memory storing executable instructions; and
[0021] A processor is configured to execute the executable instructions in the memory to implement any of the above methods.
[0022] The present invention also discloses a readable storage medium on which executable instructions are stored, characterized in that the executable instructions implement any of the above methods when executed by a processor.
[0023] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention provides a method and system for extracting the surface contour of a part based on a laser cutting device. The present invention can give priority to meeting actual needs based on a three-dimensional five-axis laser cutting device. The three-dimensional five-axis laser cutting device is equipped with five motion axes, which can realize arbitrary positioning and posture adjustment of the workpiece in six degrees of freedom, adapt to various curved surface cutting, and greatly expand the application scope of laser cutting. At the same time, the device adopts fully automated control and integrates advanced CAD / CAM software systems. It only needs to import the three-dimensional design model to automatically generate the required processing program, eliminating the tediousness of manual programming and effectively improving production efficiency. Automatic tracking correction can also be achieved during the cutting process to ensure processing accuracy. With the advantages of the above-mentioned advanced processing principles, high degree of automation, strong adaptability and high processing accuracy, the three-dimensional five-axis laser cutting device has been widely used in many fields such as aerospace, automobile manufacturing, mold processing, and metal art processing, and has become an important driving force for promoting the development of the manufacturing industry towards automation, intelligence and personalized customization. In order to cooperate with the three-dimensional five-axis laser cutting device, it is usually necessary to match the corresponding programming software to realize the conversion of the three-dimensional models designed by CAD such as A-pillars, B-pillars, and door rings into tool paths that can be cut by the device. The present invention can realize the function of surface contour extraction of an imported three-dimensional design model. The present invention can be used for automatic extraction of the contour to be processed of a part model. The key technical point adopted by the present invention is to first construct a curve and surface mapping, and then find the workpiece surface and the edge of the contour to be processed by deep traversal. The method adopted by the present invention when selecting the surface and the edge is to determine whether adjacent surfaces are in a tangent state at the common edge. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 It is a flow chart of a method for extracting part surface contour based on laser cutting equipment provided by an embodiment of the present invention.
[0026] Figure 2 It is a flowchart of building a mapping provided by an embodiment of the present invention.
[0027] Figure 3 It is a flow chart of line and surface screening provided by an embodiment of the present invention.
[0028] Figure 4 It is a schematic diagram of part surface contour extraction provided by an embodiment of the present invention.
[0029] Figure 5 It is a schematic diagram of another part surface contour extraction provided by an embodiment of the present invention.
[0030] Figure 6 It is a schematic diagram of another part surface contour extraction provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] See also Figures 1 to 6 The present invention discloses a method for extracting a part surface profile based on a laser cutting device, comprising:
[0033] S1. Connecting the surfaces of the three-dimensional model of the target part surface imported into the laser cutting device to obtain the target surface;
[0034] In one embodiment, the Sewing function in Opencascade CAD is used to connect the surfaces of the three-dimensional model of the target part surface imported into the laser cutting device to obtain the target surface.
[0035] In one embodiment, the laser cutting device is a three-dimensional five-axis laser cutting device.
[0036] S2. Determine the correspondence between curves and surfaces in the target surface (i.e., which lines make up the surface and which curves connect adjacent surfaces), and construct a line-surface dictionary;
[0037] In one embodiment, S2 specifically includes: taking the curve as the key Key and the face set as the value Value, constructing a line-face dictionary EFM, traversing the surface Face that constitutes the three-dimensional model, traversing the curve Edge that constitutes the surface Face, if the key Key of the EFM does not contain Edge, then add it to the EFM, if the key Key of the EFM contains Edge, then let Edge be the Key, and add Face to the Value corresponding to the Key.
[0038] S3. Starting from the first surface, traverse to obtain the curve set constituting the first surface, and find the surface set corresponding to the curve set from the line-surface dictionary; determine whether there is a second surface tangent to the first surface in the surface set; if so, add the second surface to the surface set of the first surface, and set the second surface as the first surface; otherwise, add the curve set of the first surface to the boundary set of the first surface;
[0039] In one embodiment, the method of determining whether there is a second surface tangent to the first surface in the surface set specifically includes: discretizing a common edge line CL of the first surface and the second surface, and taking a number of common points (e.g., 100 points) on the common edge line, and taking a first tangent vector of the first surface and a second tangent vector of the second surface at the common points, and if the angles between the first tangent vector and the second tangent vector of all common points are less than a threshold value, then it is determined that the first surface and the second surface are tangent, otherwise they are not tangent.
[0040] In one embodiment, the first curved surface is any curved surface in the target surface. A surface set Surface and a boundary set Border may also be constructed.
[0041] S4. After all the curved surfaces of the three-dimensional model of the target part surface are traversed, the surface of the three-dimensional model of the target part surface and the contour to be processed are obtained.
[0042] Specifically, Figure 1 As shown, in one embodiment, the present invention includes three stages: constructing a mapping, traversing a line and a surface, and screening a line and a surface. Constructing a mapping includes three steps: stitching entities, mapping a line and a surface, and selecting a starting surface. The line and surface traversing includes finding surface-associated edges, finding line-associated surfaces, and judging surface-to-surface tangency. The line and surface screening includes collecting tangent surfaces, collecting non-tangent edges, and selecting an unused tangent surface.
[0043] The present invention is based on the fact that the three-dimensional five-axis laser cutting equipment can give priority to meeting actual needs. The three-dimensional five-axis laser cutting equipment is equipped with five motion axes, which can realize arbitrary positioning and posture adjustment of the workpiece in six degrees of freedom, adapt to various curved surface cutting, and greatly expand the application scope of laser cutting. At the same time, the equipment adopts full automatic control and integrates advanced CAD / CAM software system. It only needs to import the three-dimensional design model to automatically generate the required processing program, eliminating the tediousness of manual programming and effectively improving production efficiency. Automatic tracking correction can also be achieved during the cutting process to ensure processing accuracy. With the advantages of the above-mentioned advanced processing principles, high degree of automation, strong adaptability and high processing accuracy, the three-dimensional five-axis laser cutting equipment has been widely used in many fields such as aerospace, automobile manufacturing, mold processing, metal art processing, etc., and has become an important driving force for promoting the development of manufacturing industry towards automation, intelligence and personalized customization. In order to cooperate with the three-dimensional five-axis laser cutting equipment, it is usually necessary to match the corresponding programming software to realize the conversion of the three-dimensional models designed by CAD such as A-pillars, B-pillars, door rings, etc. into tool paths that can be cut by the equipment. The present invention can realize the function of surface contour extraction of an imported three-dimensional design model. The present invention can be used for automatic extraction of the contour to be processed of a part model. The key technical point adopted by the present invention is to first construct a curve and surface mapping, and then find the workpiece surface and the edge of the contour to be processed by deep traversal. The method adopted by the present invention when selecting the surface and the edge is to determine whether adjacent surfaces are in a tangent state at the common edge.
[0044] The invention discloses a part surface contour extraction system based on laser cutting equipment, comprising:
[0045] An acquisition module is used to acquire a three-dimensional model of the surface of a target part;
[0046] An extraction module is used to extract the surface contour of the part according to any of the methods described above.
[0047] The system embodiments can be implemented one-to-one with the aforementioned method embodiments, and will not be described in detail here.
[0048] The present invention also discloses a laser cutting device, which includes the system as described above.
[0049] The present invention also discloses an electronic device, comprising:
[0050] a memory storing executable instructions; and
[0051] A processor is configured to execute the executable instructions in the memory to implement any of the above methods.
[0052] The present invention also discloses a readable storage medium on which executable instructions are stored, characterized in that the executable instructions implement any of the above methods when executed by a processor.
[0053] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for extracting part surface contour based on laser cutting equipment, characterized in that: include: S1. Connecting the surfaces of the three-dimensional model of the target part surface imported into the laser cutting device to obtain the target surface; S2. Determine the correspondence between curves and surfaces in the target surface and construct a line-surface dictionary; S3. Starting from the first surface, traverse to obtain the curve set constituting the first surface, and find the surface set corresponding to the curve set from the line-surface dictionary; determine whether there is a second surface tangent to the first surface in the surface set; if so, add the second surface to the surface set of the first surface, and set the second surface as the first surface; otherwise, add the curve set of the first surface to the boundary set of the first surface; S4. After all the curved surfaces of the three-dimensional model of the target part surface are traversed, the surface of the three-dimensional model of the target part surface and the contour to be processed are obtained.
2. The method according to claim 1, characterized in that: The Sewing function in Opencascade CAD is used to connect the various faces of the three-dimensional model of the target part surface imported into the laser cutting equipment to obtain the target surface.
3. The method according to claim 1, characterized in that: The laser cutting equipment is a three-dimensional five-axis laser cutting equipment.
4. The method according to claim 1, characterized in that: The S2 specifically includes: taking the curve as the key Key and the face set as the value Value, constructing a line-face dictionary EFM, traversing the surface Face that constitutes the three-dimensional model, traversing the curve Edge that constitutes the surface Face, if the key Key of the EFM does not contain Edge, then add it to the EFM, if the key Key of the EFM contains Edge, then let Edge be the Key, and add Face to the Value corresponding to the Key.
5. The method according to claim 1, characterized in that: The method of determining whether there is a second surface tangent to the first surface in the surface set specifically includes: discretizing a common edge line CL of the first surface and the second surface, taking a number of common points on the common edge line, and taking a first tangent vector of the first surface and a second tangent vector of the second surface at the common points, and if the angles between the first tangent vector and the second tangent vector of all common points are less than a threshold value, then it is determined that the first surface and the second surface are tangent, otherwise they are not tangent.
6. The method according to claim 1, characterized in that: The first curved surface is an arbitrary curved surface in the target surface.
7. A part surface contour extraction system based on laser cutting equipment, characterized in that: include: An acquisition module is used to acquire a three-dimensional model of the surface of a target part; An extraction module is used to extract the surface contour of a part according to the method described in any one of claims 1-6.
8. A laser cutting device, characterized in that: The laser cutting device comprises the system as claimed in claim 7.
9. An electronic device, characterized in that: The device comprises: a memory storing executable instructions; and A processor configured to execute the executable instructions in the memory to implement the method according to any one of claims 1 to 6.
10. A readable storage medium having executable instructions stored thereon, characterized in that: When the executable instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Elliptic blade edge-modeling system and elliptic blade edge-modeling method for impellers
CN103032372A
Image borderline detection method and system
CN104700387A
Curvature mapping-based hyperboloid part springback compensation method
CN108170903A
A landslide trailing edge crack displacement image recognition method
CN109584240A
Automatic curved surface feature extraction method based on peripheral Bezier parameter space
CN111951403A
Cited By
Processing method of side wall features
CN120023508A
