Global continuous path construction method based on combined contour and zigzag

Through the global continuous path construction method based on combined contours and zigzag, the problems of internal density and contour accuracy of parts with complex geometric shapes in additive manufacturing are solved, and the generation of global continuous trajectories is achieved, which is suitable for the manufacturing of complex shapes.

CN118570234AActive Publication Date: 2024-08-30HUAZHONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202410299815.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-15
Publication Date
2024-08-30
Estimated Expiration
2044-03-15

AI Technical Summary

Technical Problem

It is difficult for existing additive manufacturing technology to ensure the internal density and contour accuracy of parts with complex geometries at the same time. In particular, there are problems with arcing defects and idle travel when generating global continuous paths.

Method used

A global continuous path construction method based on combined contours and zigzag is used to generate a variety of path elements through slicing contours, including outer contours, intermediate contours and clipped parallel lines, and perform local and global connections to form a continuous path. The method includes path element generation, grouping, and local connection steps to ensure path continuity and accuracy.

Benefits of technology

It is possible to generate a global continuous trajectory for any shape while ensuring internal density and contour accuracy, avoiding the complexity of feature point selection and single shape restrictions in traditional methods, and can be applied to the manufacturing of complex shapes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570234A
    Figure CN118570234A
Patent Text Reader

Abstract

The invention discloses a global continuous path construction method based on a combined contour and zigzag, and belongs to the field of additive manufacturing, and the method comprises the following steps: S1, generating path elements which comprise an outer contour, a middle contour and cut parallel lines; s2, path element grouping: grouping the outer contours and the middle contours, and then dividing the cut parallel lines into the corresponding outer contours or the middle contours according to the slice contours; s3, local connection: performing local connection on the elements in the same group, firstly connecting the middle contour with the cut parallel line, and then connecting the connection result with the outer contour to obtain a local connection result; and S4, constructing a global continuous track: carrying out global connection on all curves obtained by local connection to obtain a continuous path. By adopting the global continuous path construction method based on the combined contour and zigzag, a global continuous track can be generated for any shape on the premise that the internal density and the contour precision are ensured at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of additive manufacturing, and in particular to a global continuous path construction method based on combined contours and zigzag. Background Art

[0002] Wire arc additive manufacturing (WAAM) is an important technology for producing large metal parts in directed energy deposition (DED) technology. It is favored due to its high cost-effectiveness and high deposition rate. However, the application of this technology is limited to parts of medium complexity because reliable printing of complex multi-branch geometries is still under exploration. A suitable path planning algorithm is essential for manufacturing complex geometries while ensuring minimum defects, maximum efficiency and stability. It turns out that global continuous path planning is the best method because it can reduce arc start-up and extinction defects, eliminate idle travel, and ensure stable forming.

[0003] In the field of additive and subtractive manufacturing, the shapes of parts are becoming more and more complex, while the current continuous path method can only be applied to simple shapes; on the other hand, the generated continuous path method is difficult to ensure both internal density and contour accuracy at the same time. Summary of the invention

[0004] To solve the above problems, the present invention provides a global continuous path construction method based on combined contour and zigzag, which can generate a global continuous trajectory for any shape while ensuring both internal density and contour accuracy.

[0005] To achieve the above object, the present invention provides a global continuous path construction method based on combined contour and zigzag, comprising the following steps:

[0006] S1. Generate path elements: slice the three-dimensional surface model of the part to be formed to obtain the slice contour of the part to be formed, and then generate a variety of path elements according to the slice contour, wherein the path elements include an outer contour, an intermediate contour, and a clipped parallel line;

[0007] S2, path element grouping: group the outer contour and the middle contour, and then divide the clipped parallel lines into the corresponding outer contour or middle contour according to the slice contour;

[0008] S3, local connection: perform local connection on the elements in the same group, first connect the middle contour with the clipped parallel line, then connect the connection result with the outer contour to obtain the local connection result;

[0009] S4. Construct a global continuous trajectory: globally connect all the curves obtained by local connection to obtain a continuous path.

[0010] Preferably, step S1 specifically includes the following steps:

[0011] S11, by calculating the depth number of each polygon of the slice outline, the polygons on the slice outline are divided into internal polygons and external polygons, and then the offset direction is determined, that is, when the slice outline is offset inward, the internal polygon is offset outward, and the external polygon is offset inward; when the slice outline is offset outward, the internal polygon is offset inward, and the external polygon is offset outward, wherein the depth number is the number of other polygons surrounding the current polygon;

[0012] S12, taking into account thermal shrinkage and mechanical processing, a set post-processing margin is reserved, and then the polygon is offset inward by a set distance to obtain an outer contour;

[0013] S13, according to the overlap rate w and the weld width p, the polygon is initially reduced by a set distance to ensure that the current weld overlaps the existing weld without defects and obtain an intermediate contour;

[0014] S14, taking the highest point and the lowest point of the slice contour as two reference points, generating multiple parallel lines from bottom to top, where the distance between two adjacent parallel lines is equal to w*p;

[0015] S15. Use the middle contour line to clip the parallel lines, and then reduce the lengths of both ends of the clipped parallel lines by w*p to obtain the clipped parallel lines.

[0016] Preferably, in step S11, polygons with even depth numbers are set as external polygons, and polygons with odd depth numbers are set as internal polygons; and the vertices of the external polygons are sorted in a counterclockwise direction, and the vertices of the internal polygons are sorted in a clockwise direction.

[0017] Preferably, according to the weld width w and the overlap ratio p, it is calculated that the distance that the outer polygon is offset inward is w*p, and the distance that the inner polygon is offset outward is w*p; and the vertices of the middle contour are arranged clockwise.

[0018] Preferably, step S2 specifically includes the following steps:

[0019] S21, create a new group for each intermediate contour and add the outer contour to the new group;

[0020] S22, interpolating the current middle contour line using linear interpolation;

[0021] S23. For each line segment on the middle contour line, recursive judgment is used to traverse all the trimming line segments, and all the trimming line segments are added to the middle contour in order to facilitate the subsequent connection into a zigzag contour: if the starting point of the trimming line segment is on the line segment of the current iteration, the trimming line segment and the contour vertex on the middle contour line are added; otherwise, only the contour vertex on the middle contour is added.

[0022] Preferably, in step S22, the interpolation distance is less than w*p to ensure that each line segment on the middle contour has only one clipped parallel line.

[0023] Preferably, step S3 specifically includes the following steps:

[0024] S31, the intermediate contours are connected according to the following conditions to form a zigzag contour:

[0025] Create a zigzag contour and add elements of the middle contour according to the conditions. Set the condition of the far contour to |Y2-Y1|<w*p, where Y1 represents the coordinates of the final point of the current zigzag contour; Y2 represents the coordinates of the next contour;

[0026] Probe forward from the current endpoint to determine whether the next distal contour that meets the set conditions exists. If not, add the endpoint of the contour vertex to the contour zigzag; if it exists, select the current endpoint of the contour zigzag and add it to the start or end point based on the proximity principle to obtain a combined contour;

[0027] S32. Connect the connection result with the outer contour: Use the combined contour to connect the outer contour to obtain a local connection result.

[0028] The present invention has the following beneficial effects:

[0029] 1. By adjusting the algorithm implementation steps, path elements are generated first and then area division is performed, avoiding the complexity of feature point selection when contour segmentation is prioritized;

[0030] 2. Simplify the path elements into three types, which is convenient for element combination and classification and optimizes the redundancy of element classification;

[0031] 3. The decomposition of contour feature information is converted into the grouping of internal and external contours, breaking through the defects of traditional methods that can only be applied to a single feature or a single shape. Therefore, the algorithm can be applied to any complex shape.

[0032] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flow chart of the global continuous path construction method based on combined contour and zigzag of the present invention;

[0034] Figure 2 A schematic diagram of path element generation according to an embodiment of the present invention;

[0035] Figure 3 A schematic diagram of a grouping of path elements constructed according to an embodiment of the present invention;

[0036] Figure 4 A schematic diagram of connecting the constructed intermediate contour and the trimming parallel line according to an embodiment of the present invention;

[0037] Figure 5 A schematic diagram of connecting the intermediate result of the previous step of construction and the outer contour according to an embodiment of the present invention;

[0038] Figure 6 A schematic diagram of a continuous trajectory constructed according to an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical scheme and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention are further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention and are not intended to limit the embodiments of the present invention. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions.

[0040] It should be noted that the terms "include", "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or devices.

[0041] Like reference numerals and letters denote similar items in the following drawings, and thus, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0042] As shown in the figure, the global continuous path construction method based on combined contour and zigzag includes the following steps:

[0043] S1. Generate path elements: slice the three-dimensional surface model of the part to be formed to obtain the slice contour of the part to be formed, and then generate a variety of path elements according to the slice contour, wherein the path elements include an outer contour, an intermediate contour, and a clipped parallel line;

[0044] Step S1 specifically includes the following steps:

[0045] S11, by calculating the depth number of each polygon of the slice outline, the polygons on the slice outline are divided into internal polygons and external polygons, and then the offset direction is determined, that is, when the slice outline is offset inward, the internal polygon is offset outward, and the external polygon is offset inward; when the slice outline is offset outward, the internal polygon is offset inward, and the external polygon is offset outward, wherein the depth number is the number of other polygons surrounding the current polygon;

[0046] In step S11, polygons with even depth numbers are set as external polygons, and polygons with odd depth numbers are set as internal polygons; and the vertices of the external polygons are sorted in a counterclockwise direction, and the vertices of the internal polygons are sorted in a clockwise direction.

[0047] S12, taking into account thermal shrinkage and mechanical processing, a set post-processing allowance is reserved to ensure the processing allowance and contour accuracy, and then the polygon is offset inward by a set distance to obtain the outer contour;

[0048] S13, according to the overlap rate w and the weld width p, the polygon is initially reduced by a set distance to ensure that the current weld overlaps the existing weld without defects and obtain an intermediate contour;

[0049] Preferably, in step S13, according to the weld width w and the overlap ratio p, the distance of the outer polygon offset inward is calculated to be w*p, and the distance of the inner polygon offset outward is w*p; and the vertices of the middle contour are arranged clockwise.

[0050] S14, taking the highest point and the lowest point of the slice contour as two reference points, generating multiple parallel lines from bottom to top, where the distance between two adjacent parallel lines is equal to w*p;

[0051] S15. Use the middle contour line to clip the parallel lines, and then reduce the lengths of both ends of the clipped parallel lines by w*p to obtain the clipped parallel lines.

[0052] S2, path element grouping: group the outer contour and the middle contour, and then divide the clipped parallel lines into the corresponding outer contour or middle contour according to the slice contour;

[0053] Step S2 specifically includes the following steps:

[0054] S21, create a new group for each intermediate contour, since the intermediate contour matches the outer contour, and add the outer contour to the new group;

[0055] S22, interpolating the current middle contour line using linear interpolation;

[0056] In step S22 , the interpolation distance is smaller than w*p to ensure that each line segment on the middle contour has only one clipped parallel line.

[0057] S23. For each line segment on the middle contour line, recursive judgment is used to traverse all the trimming line segments, and all the trimming line segments are added to the middle contour in order to facilitate the subsequent connection into a zigzag contour: if the starting point of the trimming line segment is on the line segment of the current iteration, the trimming line segment and the contour vertex on the middle contour line are added; otherwise, only the contour vertex on the middle contour is added.

[0058] S3, local connection: perform local connection on the elements in the same group, first connect the middle contour with the clipped parallel line, then connect the connection result with the outer contour to obtain the local connection result;

[0059] Step S3 specifically includes the following steps:

[0060] S31, the intermediate contours are connected according to the following conditions to form a zigzag contour:

[0061] Create a zigzag contour and add elements on the middle contour according to the conditions. Set the condition of the far contour to |Y2-Y1|<w*p, where Y1 represents the coordinates of the final point of the current zigzag contour; Y2 represents the coordinates of the contour;

[0062] Probe forward from the current endpoint to determine whether the next distal contour that meets the set conditions exists. If not, add the endpoint of the contour vertex to the contour zigzag; if it exists, select the current endpoint of the contour zigzag and add it to the start or end point based on the proximity principle to obtain a combined contour;

[0063] S32. Connect the connection result with the outer contour: Use the combined contour to connect the outer contour to obtain a local connection result.

[0064] S4. Construct a global continuous trajectory: globally connect all the curves obtained by local connection to obtain a continuous path.

[0065] Example:

[0066] (1) Generate path elements: Calculate the depth of each polygon and divide the polygons into internal polygons and external polygons according to the depth; offset all polygons inwards, and set the offset value to 0 in the offset diagram to obtain a machining allowance of half the weld width; offset all polygons inwards again, and the offset distance is half the weld bead; obtain parallel lines based on the highest and lowest points of the original contour shape, and cut them with the slice contour to obtain the following: Figure 2 The path elements shown generate the graph.

[0067] (2) Path element grouping

[0068] The outer contour and the middle contour are grouped; on this basis, the parallel lines are assigned to the outer contour or the middle contour. By traversing each line segment on each polygon, if there is a clipping parallel line whose starting point is on the outer contour or the middle contour, it is added to the corresponding outer contour or the middle contour, and the result is as follows Figure 3 The grouping results are shown.

[0069] (3) Local connection

[0070] First, start from the current endpoint and detect forward to determine whether the next distal contour that meets the set conditions exists. If not, the endpoint of the contour vertex is added to the contour zigzag; if it exists, the current endpoint of the contour zigzag is selected and added to the starting point or end point based on the proximity principle, and the following is obtained: Figure 4 The combined contour shown; connect the connection result with the outer contour: Use the combined contour to connect the outer contour to obtain the following Figure 5 The local connection results shown

[0071] (4) Global Connection

[0072] Because the groups are continuous and adjacent to each other, we can connect the adjacent groups in sequence to get Figure 6 The global continuous trajectory shown.

[0073] Therefore, the present invention adopts the above-mentioned global continuous path construction method based on combined contour and zigzag, which can generate a global continuous trajectory for any shape while ensuring the internal density and contour accuracy.

[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.

Claims

1. A global continuous path construction method based on combined contour and zigzag, characterized by: The following steps are involved: S1. Generate path elements: slice the three-dimensional surface model of the part to be formed to obtain the slice contour of the part to be formed, and then generate multiple path elements according to the slice contour, wherein the path elements include an outer contour, an intermediate contour, and a clipped parallel line; S2, path element grouping: group the outer contour and the middle contour, and then divide the clipped parallel lines into the corresponding outer contour or middle contour according to the slice contour; S3, local connection: perform local connection on the elements in the same group, first connect the middle contour with the clipped parallel line, then connect the connection result with the outer contour to obtain the local connection result; S4. Construct a global continuous trajectory: globally connect all the curves obtained by local connection to obtain a continuous path.

2. The global continuous path construction method based on combined contour and zigzag according to claim 1, characterized in that: Step S1 specifically includes the following steps: S11, by calculating the depth number of each polygon of the slice outline, the polygons on the slice outline are divided into internal polygons and external polygons, and then the offset direction is determined, that is, when the slice outline is offset inward, the internal polygon is offset outward, and the external polygon is offset inward; when the slice outline is offset outward, the internal polygon is offset inward, and the external polygon is offset outward, wherein the depth number is the number of other polygons surrounding the current polygon; S12, taking into account thermal shrinkage and mechanical processing, a set post-processing margin is reserved, and then the polygon is offset inward by a set distance to obtain an outer contour; S13, according to the overlap rate w and the weld width p, the polygon is initially reduced by a set distance to ensure that the current weld overlaps the existing weld without defects and obtain an intermediate contour; S14, taking the highest point and the lowest point of the slice contour as two reference points, generating multiple parallel lines from bottom to top, where the distance between two adjacent parallel lines is equal to w*p; S15. Use the middle contour line to clip the parallel lines, and then reduce the lengths of both ends of the clipped parallel lines by w*p to obtain the clipped parallel lines.

3. The global continuous path construction method based on combined contour and zigzag according to claim 2, characterized in that: In step S11, polygons with even depth numbers are set as external polygons, and polygons with odd depth numbers are set as internal polygons; and the vertices of the external polygons are sorted in a counterclockwise direction, and the vertices of the internal polygons are sorted in a clockwise direction.

4. The method for constructing a global continuous path based on combined contour and zigzag according to claim 3, characterized in that: In step S13, according to the weld width w and the overlap ratio p, it is calculated that the distance that the outer polygon is offset inward is w*p, and the distance that the inner polygon is offset outward is w*p; And arrange the vertices of the middle contour clockwise.

5. The method for constructing a global continuous path based on combined contour and zigzag according to claim 4, characterized in that: Step S2 specifically includes the following steps: S21, create a new group for each intermediate contour and add the outer contour to the new group; S22, interpolating the current middle contour line using linear interpolation; S23. For each line segment on the middle contour line, recursive judgment is used to traverse all the trimming line segments, and all the trimming line segments are added to the middle contour in order to facilitate the subsequent connection into a zigzag contour: if the starting point of the trimming line segment is on the line segment of the current iteration, the trimming line segment and the contour vertex on the middle contour line are added; otherwise, only the contour vertex on the middle contour line is added.

6. The method for constructing a global continuous path based on combined contour and zigzag according to claim 5, characterized in that: In step S22 , the interpolation distance is smaller than w*p to ensure that each line segment on the middle contour has only one clipped parallel line.

7. The method for constructing a global continuous path based on combined contour and zigzag according to claim 6, characterized in that: Step S3 specifically includes the following steps: S31. The intermediate contours are connected according to the following conditions to form a contour zigzag: Create a contour zigzag and add elements of the intermediate contours according to the conditions. Set the condition for the distal contour as |Y2 - Y1| < w * p, where Y1 represents the coordinate of the final point of the current contour zigzag; Y2 represents the coordinate of the next contour. Probe forward from the current endpoint to determine whether there is a next distal contour that meets the set conditions. If not, add the endpoint of the contour vertex to the contour zigzag; if so, select the current endpoint of the contour zigzag and add it to the starting point or the ending point based on the principle of proximity to obtain a combined contour. S32. Connect the connection result with the outer contour: Use the combined contour to connect the outer contour to obtain a local connection result.

Citation Information

Patent Citations

  • Image splicing method and device applied to microcosmic printing pattern

    CN111507904A

  • 3D printing path of rotating part and additive manufacturing method of 3D printing path

    CN112873851A

  • Method for generating continuous filling path for 3D printing

    CN115816832A

  • 3D printing continuity path planning method based on stress

    CN116039088A

  • Floor Plan Extraction

    US20240005570A1

Cited By

  • Large special-shaped concrete reinforcement shape splitting algorithm and Revit-based reinforcement arrangement method

    CN119358099A

  • Front-end-based three-dimensional model section cutting plane geometric analysis method and device

    CN119359788A