Method for hybrid modification of laser cutting program machining trajectory contours
Patent Information
- Application Number
- CN202410554992.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2044-05-07
AI Technical Summary
[0004]针对现有技术的至少一个缺陷或改进需求,本申请提供了一种激光切割程序加工轨迹轮廓混合修改方法,用于至少克服传统的一次只选择单个轮廓或同种轮廓进行修改的方法所致的操作繁琐且效率较低的技术缺陷
[0044](1)本申请能可视化地自由框选加工轨迹轮廓,将各加工轨迹轮廓进行分组并分别进行预处理,再根据是否满足整体修改要求对各轮廓组采用相应的修改策略,从而减少了修改复杂加工轨迹的操作流程,提升了修改效率。
Smart Images

Figure CN118478102B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of laser cutting technology, and more specifically, to a method for hybrid modification of the processing trajectory contour in a laser cutting program. Background Technology
[0002] Laser cutting, as an advanced processing technology, is widely used in industrial fields such as automobiles, electronics, electrical appliances, aviation, shipbuilding, metallurgy, and machinery manufacturing. It plays an increasingly important role in improving product quality, increasing labor productivity, reducing processing costs, and reducing material consumption.
[0003] Since the modification logic and methods for different types of machining trajectory contours are different, the existing method usually selects a single contour or contours of the same type first and then makes the modification. Although this method can modify the selected contours relatively accurately, in the practice of modifying the trajectory, it is usually necessary to make a unified modification on all types of contours in the machining trajectory at one time. The traditional method of selecting only a single contour or contours of the same type for modification at one time is cumbersome and inefficient. Summary of the Invention
[0004] In view of at least one defect or improvement need of the prior art, this application provides a method for mixed modification of the processing trajectory contour of laser cutting program, which is used to overcome the technical defects of cumbersome operation and low efficiency caused by the traditional method of selecting only a single contour or the same contour at a time for modification.
[0005] To achieve the above objectives, this application provides a method for hybrid modification of the machining trajectory contour in a laser cutting program, comprising:
[0006] Parse the executable file and draw the processing trajectory outline based on the parsing results of the executable file;
[0007] Draw a preset graphic frame and use it to select part or all of the outline of the processing trajectory.
[0008] Group the contours in the selected processing trajectory contour by contour type;
[0009] Based on the trajectory category information of the parsing results, information including jump lines is obtained, and the contours of the aforementioned types are preprocessed based on the jump line addition operation.
[0010] If the preprocessed contour type groups meet the overall modification requirements, the overall modification process will proceed; otherwise, the edge modification process will proceed.
[0011] Furthermore, the step of grouping the contours in the selected processing trajectory contour by contour type includes:
[0012] The outlines of round holes, rectangular holes and / or oval holes are classified into the standard outline group;
[0013] Include straight edges and / or curved edges in the edge profile group;
[0014] In the edge contour group, the contours are classified into the non-closed edge contour group and the non-standard closed edge contour group according to whether the contour is closed.
[0015] The non-closed edge contour group also includes the overall contour group.
[0016] Furthermore, the trajectory category information obtained based on the parsing results includes jump line information, and the preprocessing of the aforementioned types of contours based on the jump line addition operation includes a standard contour group preprocessing process;
[0017] The standard contour group preprocessing procedure includes:
[0018] Traverse all contours in the standard contour group in the information list of the executable file, starting from the row number corresponding to each contour and searching upwards in the information list to obtain the lead line;
[0019] Starting from the row number corresponding to the leader line, the search proceeds upwards through the information list. If an arc jump line is found first, the row number information corresponding to that arc jump line is added to the standard contour group. If a straight jump line is found first, the search continues upwards to find the two adjacent straight jump lines, and the row number information corresponding to these three straight jump lines is added to the standard contour group.
[0020] Furthermore, the trajectory category information obtained based on the parsing results includes jump line information, and the preprocessing of the aforementioned types of contours based on the jump line addition operation includes a preprocessing process for non-closed edge contour groups.
[0021] The preprocessing flow for the non-closed edge contour group includes:
[0022] In the information list of the executable file, all contours in the non-closed edge contour group are traversed. If the previous contour immediately adjacent to the first contour of each contour segment is a straight edge or a circular arc edge, the row number information corresponding to that contour segment is added to the edge contour group.
[0023] If the previous contour is determined not to be a straight edge or an arc edge, then the search begins from the row number corresponding to the previous contour and proceeds upwards in the information list. If an arc jump line is found first, the row number information corresponding to that arc jump line is added to the non-closed edge contour group. If a straight jump line is found first, the search continues upwards for the two adjacent straight jump lines, and the row number information corresponding to these three straight jump lines is added to the non-closed edge contour group.
[0024] If the next contour immediately following the last contour of each contour segment is a straight edge or a circular edge, then the row number information corresponding to that contour segment is added to the edge contour group; otherwise, it is added to the overall contour group.
[0025] Furthermore, the trajectory category information obtained based on the parsing results includes jump line information, and the preprocessing of the aforementioned types of contours based on the jump line addition operation includes a preprocessing process for non-standard closed edge contour groups.
[0026] The preprocessing procedure for the non-standard closed edge contour group includes:
[0027] In the information list of the executable file, all contours in the non-standard closed edge contour group are traversed, and the leader line is obtained by searching upwards from the row number corresponding to the first contour of each segment;
[0028] Starting from the row number corresponding to the leader line, the search proceeds upwards through the information list. If an arc jump line is found first, the row number information corresponding to that arc jump line is added to the non-standard closed edge contour group. If a straight jump line is found first, the search continues upwards for the two adjacent straight jump lines, and the row number information corresponding to these three straight jump lines is added to the non-standard closed edge contour group.
[0029] Furthermore, the overall modification requirement includes: there is a contour in the standard contour group or the non-standard closed edge contour group, or the unclosed edge contour group contains an overall contour of the type of the overall contour group;
[0030] The overall modification process includes: moving the pose of the overall contour.
[0031] Furthermore, otherwise, the process of modifying the edge lines includes:
[0032] If it is determined that there is no contour in the standard contour group and the non-standard closed edge contour group, and the overall contour does not exist in the unclosed edge contour group, then the edge modification process is initiated.
[0033] The edge modification process includes: uniformly modifying the offset of the edge pose.
[0034] Furthermore, otherwise, the process of modifying the edge lines also includes:
[0035] If all contours in the unclosed edge contour group are continuous, the gradient trimming process is started; otherwise, the gradient trimming process is hidden.
[0036] The gradient trimming process includes: only a set of continuous edge contours can be subjected to start point gradient, end point gradient, and midpoint gradient operations.
[0037] Furthermore, the standard contour group preprocessing procedure also includes:
[0038] Starting from the row number corresponding to the leader line, search upwards in the information list. If the end of the previous outline is found first, stop searching upwards.
[0039] Do not add jump lines to the standard profile group.
[0040] Furthermore, the preprocessing procedure for the non-standard closed edge contour group also includes:
[0041] Starting from the row number corresponding to the leader line, search upwards in the information list. If the end of the previous outline is found first, stop searching upwards.
[0042] Do not add jump lines to the non-standard closed edge profile group.
[0043] In summary, compared with the prior art, the above-described technical solutions conceived in this application can achieve the following beneficial effects:
[0044] (1) This application can visually and freely select the machining trajectory outline, group each machining trajectory outline and preprocess them separately, and then adopt the corresponding modification strategy for each outline group according to whether the overall modification requirements are met, thereby reducing the operation process of modifying complex machining trajectories and improving the modification efficiency.
[0045] (2) This application adopts a non-closed edge contour group preprocessing process, which divides the non-closed contour into edge contour and overall contour according to the contour type of the execution file information list searched upwards. It takes into account the special cases in the non-closed contour (i.e. complete edge contour, or overall contour), thereby avoiding the technical problem of edge trimming logic confusion and edge trimming errors caused by different contour group types of non-closed contours.
[0046] (3) This application adopts a preprocessing method for each contour group. First, when classifying contours, the jump lines in front of the contours are not processed, which can improve the accuracy and visualization of the selected contours. After grouping, the jump lines in front of the overall contours are accurately added to the contour group by searching the execution file information list upwards. This reduces the interference of jump lines on the contours during the user's operation and solves the problem that jump line modification is prone to omission or confusion when multiple contours are modified together. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is one of the core flowcharts of a laser cutting program trajectory contour hybrid modification method provided in the embodiments of this application;
[0049] Figure 2 This is the second core flowchart of a method for hybrid modification of laser cutting program trajectory contour provided in the embodiments of this application;
[0050] Figure 3 This is a schematic diagram illustrating the selection of the machining trajectory outline and the information list of the executable file using a preset graphic frame, as provided in an embodiment of this application.
[0051] Figure 4 A flowchart for grouping contours by contour type in the machining trajectory contour provided in an embodiment of this application;
[0052] Figure 5 This is a flowchart illustrating the preprocessing of non-closed edge contour groups provided in the embodiments of this application. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. Furthermore, the technical features involved in the various embodiments described below can be combined with each other as long as they do not conflict with each other.
[0054] The terms "comprising" or "having," and any variations thereof, in the specification, claims, or accompanying drawings of this application are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0055] refer to Figure 1 and Figure 2 One embodiment of this application provides a method for hybrid modification of the processing trajectory contour in a laser cutting program, which mainly includes the following steps.
[0056] Step 1: Parse the executable file and draw the processing trajectory outline based on the parsing results of the executable file.
[0057] This embodiment uses G-code as the executable file for mixed modification of machining trajectory and contour; the laser cutting program uses the corresponding cutting program of the 3D five-axis laser processing online modification software, which is a software for modifying and editing the machining trajectory of the 3D five-axis laser cutting program. This application does not strictly distinguish between trajectory and contour; in the context of this document, they can be understood as synonyms, i.e., machining trajectory and contour, referring to the same meaning as machining trajectory or machining contour, and the same applies throughout the text.
[0058] Specifically, the G-code instructions are read line by line, the G-code is parsed, and information such as the trajectory category, feature point coordinates, and line number of the current code line is obtained. The machining trajectory is then drawn in the view area of the 3D five-axis laser processing online modification software using the OpenCasCade drawing function.
[0059] More specifically, the G-codes are traversed and analyzed according to their corresponding CNC code formats. The trajectory types of the G-codes are categorized into standard contours (circular holes, rectangular holes, and / or oval holes), edge lines (straight edge lines and / or circular arc edge lines), and jump lines (straight jump lines and / or circular arc jump lines). Other G-code types are considered non-trajectory types. Specifically, the G-codes for straight edge line trajectories contain the keyword "G01", the G-codes for straight jump line trajectories contain the keyword "G00", and the G-codes for circular arc trajectories contain the keyword "CIP".
[0060] Each type of G-code is parsed from keywords such as X, Y, Z, A, and C in the instruction to extract pose (position and orientation, i.e., position, azimuth, etc.). Edge types include start point, end point, and midpoint information. Standard contours record relevant dimensions and position parameters according to their respective size definition rules. After recording the type and coordinate information of each line of G-code, the line number of the current G-code in the file is recorded, ultimately forming a G-code information list. (Refer to...) Figure 3 The left side.
[0061] Based on the trajectory information, an OpenCasCade object is associated in a C# panel control, and the trajectory is drawn using the drawing functions in the OpenCasCade library (C++ library) (here, C++ mixed compilation is implemented in a C# project). The edges (straight edges and / or arc edges) are drawn according to the poses of the start point, end point, and intermediate point. The standard contour is first decomposed into straight lines and / or arcs, and then drawn according to the drawing methods of straight lines and / or arcs respectively.
[0062] Step 2: Draw a preset graphic frame. Use this frame to select part or all of the machining trajectory outline. You can freely select the machining trajectory outline drawn in Step 1 as needed. (Refer to...) Figure 3 The right side. Specifically, hold down the shift key and hold down the left mouse button to draw a rectangle (the shape of the preset shape frame is not limited; it can be set to a rectangle, circle, or ellipse as needed. In order to more easily determine the coordinates and facilitate judgment, this embodiment uses a rectangle) preset shape frame. Traverse all valid contours and determine whether the contour is inside the rectangle frame based on the coordinates of the contour's projection point. If it is, it means that it has been selected.
[0063] More specifically, hold down the Shift key to enter selection mode, hold down the left mouse button and drag the mouse to draw a dynamic rectangle in the view area using the OpenCasCade drawing function. Release the left mouse button and record the coordinates of the four vertices of the rectangle in the screen pixel coordinate system, and convert the two-dimensional screen coordinates into two-dimensional projected coordinates.
[0064] Iterate through all contours in the G-code information list, convert the start and end coordinates of the contours from 3D world coordinates to 2D projected coordinates, determine whether the contour has been selected by the rectangle based on the 2D projected coordinates of the two opposite vertices of the rectangle, record the line number of the G-code of the contour selected by the rectangle in the file, and form a list of selected G-code information.
[0065] Step 3: Group the contours in the selected processing trajectory contours by contour type.
[0066] For details, please refer to Figure 4 Iterate through all the selected contours in step 2, and divide the contours into standard contour groups and edge contour groups according to their categories. Contours of round holes, rectangular holes and / or oval holes are placed in the standard contour group, and straight edge lines and / or arc edge lines are placed in the edge contour group. Non-trajectory type G-codes and jump lines are not preprocessed.
[0067] Within the edge contour group, contours are further categorized into the non-closed edge contour group and the non-standard closed edge contour group based on whether the contour is closed. Specifically, all contours in all edge contour groups are traversed, and contours are grouped according to whether they are continuous. Connected contours are considered as a segment, and each segment is then judged whether it can be combined to form a non-standard closed edge contour. If it meets the requirement, it is placed in the non-standard closed edge contour group; otherwise, it is placed in the non-closed edge contour group.
[0068] Based on whether the previous contour of the first contour and the next contour of the last contour of each segment are jump lines, the overall contour group can be divided from the non-closed edge contour group.
[0069] Step 4: Based on the trajectory category information of the parsing results, obtain information including jump lines, and preprocess the aforementioned contours of each type based on the jump line addition operation.
[0070] The preprocessing process can mainly include the following: standard contour group preprocessing process, non-closed edge contour group preprocessing process, and non-standard closed edge contour group preprocessing process.
[0071] (1) The standard contour group preprocessing process is as follows: traverse all contours in the standard contour group in step 3, search for each line of G code above the selected G code information list for each contour, find the jump line of the contour according to the trajectory category information of the G code, and add the jump line before the standard contour to the standard contour group.
[0072] More specifically, iterate through all contours in the standard contour group corresponding to the selected G-code information list. For each contour, start from the row number of the contour in the G-code information list and search upwards for a leader. When the first G-code containing "G00" is found, it indicates that a leader has been found, and continue searching upwards from the leader for the corresponding jump line.
[0073] If the search continues upwards from the leader line and finds a jump line G-code containing "CIP", it indicates that an arc jump line preceding the contour has been found. Record the row number of this arc jump line (the row number represents the number of rows in the G-code list; subsequent modifications to the G-code require updating the value at the specified row number), and add it to the standard contour group (grouping multiple contours allows for grouped analysis; different groups have different processing methods). If the search continues upwards from the leader line and finds a G-code containing "G00", it indicates that a straight jump line preceding the contour has been found. Continue searching upwards for two more adjacent straight jump lines, recording the row numbers of the three "G00" G-codes for each straight jump line (a straight jump line consists of three straight lines, each type of straight jump line represented by "G00" in the G-code), and add it to the standard contour group.
[0074] If the search continues upwards from the leader line and doesn't find a G-code containing "CIP" or "G00" first, but instead finds a G-code containing "BLOCK_END", it means the end of the previous contour has been found. The search should stop, and no jump lines will be added to the standard contour group. This is the G-code exception protection process. Normally, jump lines would be found first. However, if there is a G-code exception and no jump lines are found upwards, the search should not continue indefinitely. If "BLOCK_END" is found first, it means the end of the previous contour has been found, and the search should stop.
[0075] (2)Reference Figure 5 The preprocessing workflow for non-closed edge contour groups specifically includes:
[0076] Iterate through all contours in the non-closed edge contour group. For each contour segment, start from its first contour and search upwards for its immediately preceding contour. If the preceding contour is a straight edge or an arc edge, it means that the contour segment is a segment of a whole edge and not a whole contour. Put the corresponding row number information into the edge contour group. The subsequent edge modification logic should be used (under this logic, the offset of multiple edge poses can be uniformly modified).
[0077] If the next adjacent contour in the search above the first contour of each contour segment is not a straight line or an arc, it indicates that the first contour of that contour segment is the starting point of the entire contour segment, and the search for jump lines continues upward. If a jump line G code containing "CIP" is found first, it indicates that an arc jump line preceding the contour has been found, the line number of the arc jump line is recorded, and it is added to the non-closed edge contour group; if a G code containing "G00" is found first, it indicates that a straight jump line preceding the contour has been found, and the search continues upward for two other adjacent straight jump lines, the line numbers of the three "G00" G codes of the straight jump lines are recorded, and they are added to the non-closed edge contour group.
[0078] After the upward search is complete, start searching downwards from the last contour of each segment for the next adjacent contour. If the next contour is not a straight line or a curved line, it means that the last contour of the segment is the end point of the entire contour segment. This segment can be considered as an unclosed whole contour, and the corresponding row number information can be placed into the whole contour group. Subsequently, the whole modification logic should be used (under this logic, the poses of multiple whole contours can be moved). If the next contour is a straight line or a curved line, then the row number information corresponding to the segment contour is added to the edge contour group.
[0079] This application adopts a preprocessing flow for non-closed edge contour groups. Based on the contour type of the execution file information list searched upwards, the non-closed contours are further divided into edge contours and overall contours. This takes into account the special cases in non-closed contours (i.e., complete edge contours, or overall contours), thereby avoiding the technical problem of edge trimming logic confusion and edge trimming errors that may be caused by different contour group types of non-closed contours.
[0080] (3) The preprocessing process of the non-standard closed edge contour group is as follows: traverse all contours in the non-standard closed edge contour group in step 3, search each line of G code upward for each non-standard closed edge contour, find the jump line of the contour according to the trajectory category information of the G code, and add the jump line before the non-standard closed edge contour to the non-standard closed edge contour group.
[0081] More specifically, it iterates through all contours in the non-standard closed edge contour group. For each contour segment, starting from the line number of the first contour in that segment in the G-code information list, it searches upwards in the list for a leader. When the first G-code containing "G00" is found, it indicates that a leader has been found, and the search continues upwards from that leader for the corresponding jump line.
[0082] If the search continues upwards from the leader line and finds a jump line G code containing "CIP", it indicates that an arc jump line preceding the contour has been found. Record the row number of the arc jump line and add it to the non-standard closed contour group. If the search continues upwards from the leader line and finds a G code containing "G00", it indicates that a straight jump line preceding the contour has been found. Continue searching upwards for two more adjacent straight jump lines, record the row numbers of the three "G00" G codes for the straight jump lines, and add them to the non-standard closed edge contour group.
[0083] If the search continues upwards from the leader line and does not find a G code containing "CIP" or "G00" first, but instead finds a G code containing "BLOCK_END", it means that the end of the previous contour has been found and the search should end. Jump lines will not be added to non-standard closed edge contour groups.
[0084] This application employs a preprocessing method for each contour group. First, when classifying contours, the jump lines before the contours are not processed, which improves the accuracy and visualization of contour selection. Subsequently, after grouping, the jump lines before the overall contours are accurately added to the contour group by searching the execution file information list upwards. This reduces the interference of jump lines on the contours during user operation and solves the problem of missed or incorrect jump line modifications when multiple contours are modified together.
[0085] Step 5: Determine if the preprocessed contour type groups meet the overall modification requirements; otherwise, proceed to the edge modification process. This specifically includes:
[0086] Iterate through the preprocessed standard contour group, non-closed edge contour group, and non-standard closed edge contour group, and put all contours into the valid contour group.
[0087] If there are no contours in the standard contour group and the non-standard closed edge contour group, and there is no overall contour in the open edge contour group, then the edge modification logic is used to modify the valid contours; if all contours in the open edge contour group are continuous, then the gradient trimming function is enabled (only a set of continuous edge contours can perform start point gradient, end point gradient and midpoint gradient operations), otherwise, the gradient trimming function is hidden.
[0088] If there is a contour in the standard contour group or the non-standard closed edge contour group, or if there is an overall contour in the open edge contour group, then the overall modification logic is used to modify the valid contour.
[0089] Once the modification logic is determined, the selected contours can be modified. The row number of the modified contour in the G-code information list is recorded. All modified contours are traversed, and the new pose information of the modified contours is rewritten into the G-code information list.
[0090] Based on the drawing method in step 2, traverse the new G-code information list and redraw the modified machining trajectory in the view area of the 3D five-axis laser processing online modification software.
[0091] This application allows for the visual and free selection of machining trajectory contours, grouping each machining trajectory contour into groups and preprocessing them separately. Then, based on whether the overall modification requirements are met, corresponding modification strategies are applied to each contour group, thereby reducing the operational process of modifying complex machining trajectories and improving modification efficiency.
[0092] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this application. In particular, without departing from the spirit and teachings of this application, the features described in the various embodiments and / or claims of this application can be combined and / or combined in various ways, and all such combinations and / or combinations fall within the scope of this application.
[0093] Although this application has been shown and described with reference to specific exemplary embodiments thereof, those skilled in the art will understand that various changes in form and detail may be made to this application without departing from the spirit and scope of this application as defined by the appended claims and their equivalents. Therefore, the scope of this application should not be limited to the above embodiments, but should be defined not only by the appended claims, but also by their equivalents.
Claims
1. A method for hybrid modification of the machining trajectory contour in a laser cutting program, characterized in that, include: Parse the executable file and draw the processing trajectory outline based on the parsing results of the executable file; Draw a preset graphic frame and use it to select part or all of the outline of the processing trajectory. The contours within the selected machining trajectory contour are grouped by contour type, specifically including: The outlines of round holes, rectangular holes and / or oval holes are classified into the standard outline group; Include straight edges and / or curved edges in the edge profile group; In the edge contour group, the contours are classified into the non-closed edge contour group and the non-standard closed edge contour group according to whether the contour is closed. The non-closed edge contour group also includes an overall contour group; Based on the trajectory category information of the analysis results, information including jump lines is obtained, and preprocessing of the aforementioned types of contours, including standard contour group preprocessing, is performed based on the jump line addition operation. The standard contour group preprocessing procedure includes: Traverse all contours in the standard contour group in the information list of the executable file, starting from the row number corresponding to each contour and searching upwards in the information list to obtain the lead line; Starting from the row number corresponding to the leader line, search upwards in the information list. If an arc jump line is found first, the row number information corresponding to that arc jump line is added to the standard contour group. If a straight jump line is found first, continue searching upwards for the two adjacent straight jump lines and add the row number information corresponding to these three straight jump lines to the standard contour group. If the preprocessed contour type groups meet the overall modification requirements, the overall modification process will proceed; otherwise, the edge modification process will proceed.
2. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 1, characterized in that, The trajectory category information obtained based on the parsing results includes jump line information, and the preprocessing of the aforementioned types of contours based on the jump line addition operation includes the preprocessing process of non-closed edge contour groups. The preprocessing flow for the non-closed edge contour group includes: In the information list of the executable file, all contours in the non-closed edge contour group are traversed. If the previous contour immediately adjacent to the first contour of each contour segment is a straight edge or a circular arc edge, the row number information corresponding to that contour segment is added to the edge contour group. If the previous contour is determined not to be a straight edge or an arc edge, then the search begins from the row number corresponding to the previous contour and proceeds upwards in the information list. If an arc jump line is found first, the row number information corresponding to that arc jump line is added to the non-closed edge contour group. If a straight jump line is found first, the search continues upwards for the two adjacent straight jump lines, and the row number information corresponding to these three straight jump lines is added to the non-closed edge contour group. If the next contour immediately following the last contour of each contour segment is a straight edge or a circular edge, then the row number information corresponding to that contour segment is added to the edge contour group; otherwise, it is added to the overall contour group.
3. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 1, characterized in that, The trajectory category information obtained based on the analysis results includes jump line information, and the preprocessing of the aforementioned types of contours based on the jump line addition operation includes a preprocessing process for non-standard closed edge contour groups. The preprocessing procedure for the non-standard closed edge contour group includes: In the information list of the executable file, all contours in the non-standard closed edge contour group are traversed, and the leader line is obtained by searching upwards from the row number corresponding to the first contour of each segment; Starting from the row number corresponding to the leader line, the search proceeds upwards through the information list. If an arc jump line is found first, the row number information corresponding to that arc jump line is added to the non-standard closed edge contour group. If a straight jump line is found first, the search continues upwards for the two adjacent straight jump lines, and the row number information corresponding to these three straight jump lines is added to the non-standard closed edge contour group.
4. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 1, characterized in that, The overall modification requirements include: there is a contour in the standard contour group or the non-standard closed edge contour group, or the unclosed edge contour group contains an overall contour of the type of the overall contour group; The overall modification process includes: moving the pose of the overall contour.
5. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 4, characterized in that, Otherwise, the edge modification process includes: If it is determined that there is no contour in the standard contour group and the non-standard closed edge contour group, and the overall contour does not exist in the unclosed edge contour group, then the edge modification process is initiated. The edge modification process includes: uniformly modifying the offset of the edge pose.
6. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 5, characterized in that, Otherwise, the process of modifying the border also includes: If all contours in the unclosed edge contour group are continuous, the gradient trimming process is started; otherwise, the gradient trimming process is hidden. The gradient trimming process includes: only a set of continuous edge contours can be subjected to start point gradient, end point gradient, and midpoint gradient operations.
7. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 1, characterized in that, The standard contour group preprocessing workflow also includes: Starting from the row number corresponding to the leader line, search upwards in the information list. If the end of the previous outline is found first, stop searching upwards. Do not add jump lines to the standard profile group.
8. The method for hybrid modification of laser cutting program processing trajectory contour as described in claim 3, characterized in that, The preprocessing procedure for the non-standard closed edge contour group also includes: Starting from the row number corresponding to the leader line, search upwards in the information list. If the end of the previous outline is found first, stop searching upwards. Do not add jump lines to the non-standard closed edge profile group.
Citation Information
Patent Citations
Planar plate laser cutting path planning method
CN113953685A
Non-standard contour equidistant transformation method for three-dimensional five-axis laser cutting program
CN117452874A