Method, device and equipment for extracting narrow wall feature path in additive manufacturing and storage medium
By obtaining two-dimensional cross-sectional contour results in 3D printing technology and performing contour extraction, compensation trimming, and filtering, the problem of insufficient accuracy in narrow-wall feature recognition is solved, realizing high-precision and high-efficiency manufacturing of narrow-wall structures, which are suitable for aerospace and precision medical devices.
Patent Information
- Application Number
- CN202511320091.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-16
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2045-09-16
AI Technical Summary
Current 3D printing technology suffers from insufficient accuracy in identifying and extracting narrow-wall features during the path planning stage after model slicing, resulting in poor printing quality.
By obtaining the two-dimensional cross-sectional contour results after slicing the model, the polygonal region data is extracted based on the two-dimensional cross-sectional contour results, and compensation clipping and filtering are performed, including geometric intersection operation, contour offset compensation, Boolean subtraction operation, contour area and shape filtering, etc., to obtain the final narrow wall contour result.
It improves the recognition accuracy and production efficiency of narrow-walled feature paths, and is particularly suitable for the manufacturing of complex thin-walled structures in fields such as aerospace and precision medical devices.
Smart Images

Figure CN120823230B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of additive manufacturing, and in particular to a method, apparatus, equipment and storage medium for extracting narrow-walled feature paths in additive manufacturing. Background Technology
[0002] Currently, 3D printing technology, or additive manufacturing technology, is widely used in industrial manufacturing, medical, aerospace and other fields because of its unique processing method, which enables the efficient production of complex structures and personalized custom parts.
[0003] However, when 3D printing is in the path planning stage after model slicing, it may still face the problem of poor printing effect due to insufficient recognition accuracy when dealing with narrow wall features, such as thin-walled structures and fine hollowing. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for extracting narrow-walled feature paths in additive manufacturing to solve the aforementioned technical problems.
[0005] The first aspect of this application provides a method for extracting narrow-walled feature paths in additive manufacturing, comprising:
[0006] Obtain the two-dimensional cross-sectional contour result after slicing the model;
[0007] Based on the two-dimensional cross-sectional contour results, the polygonal region data is extracted to obtain the first contour extraction result;
[0008] The first contour extraction result is compensated and clipped to obtain the initial narrow-wall contour result;
[0009] The initial narrow wall profile result is filtered to obtain the final narrow wall profile result.
[0010] In some embodiments, contour extraction is performed on the polygonal region data based on the two-dimensional cross-sectional contour result to obtain a first contour extraction result, including:
[0011] Obtain polygon region data;
[0012] The polygonal region data is validated to obtain the corresponding data validation results.
[0013] If the data verification result is qualified, geometric intersection operation is performed on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain the first contour extraction result.
[0014] In some embodiments, compensation clipping is performed based on the first contour extraction result to obtain an initial narrow-wall contour result, including:
[0015] The first contour extraction result is compensated for by contour offset to obtain the second contour extraction result;
[0016] Boolean subtraction is performed based on the first contour extraction result and the second contour extraction result to obtain the initial narrow wall contour result.
[0017] In some embodiments, contour offset compensation is applied to the first contour extraction result to obtain a second contour extraction result, including:
[0018] The first contour extraction result is negatively offset and compensated based on a preset offset value to obtain the first contour compensation result.
[0019] The first contour compensation result is positively offset based on the preset offset value to obtain the second contour compensation result.
[0020] Morphological dilation is performed based on the second contour compensation result to obtain the second contour extraction result.
[0021] In some embodiments, the initial narrow wall profile result is filtered to obtain the final narrow wall profile result, including:
[0022] The initial narrow-wall profile result is filtered by the profile area to obtain the filtered narrow-wall profile result.
[0023] The filtered narrow-wall profile result is then subjected to profile shape filtering to obtain the final narrow-wall profile result.
[0024] In some embodiments, after obtaining the final narrow-wall profile result, the method further includes:
[0025] Boolean subtraction is performed based on the two-dimensional cross-sectional profile result and the final narrow wall profile result to obtain the non-narrow wall profile result.
[0026] In some embodiments, if the data verification result is qualified, after performing geometric intersection operation on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain the first contour extraction result, the method further includes:
[0027] Perform geometric validity verification on the first contour extraction result to obtain the contour verification result;
[0028] If the contour verification result is unqualified, the geometric intersection operation is re-performed on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain the first contour extraction result.
[0029] A second aspect of this application proposes a device for extracting narrow-wall feature paths in additive manufacturing, comprising a data acquisition module, a first extraction module, a second extraction module, and a filtering and optimization module. The data acquisition module acquires the two-dimensional cross-sectional contour results after slicing the model. The first extraction module extracts the contours of polygonal regions based on the two-dimensional cross-sectional contour results to obtain a first contour extraction result. The second extraction module performs compensation trimming based on the first contour extraction result to obtain an initial narrow-wall contour result. The filtering and optimization module filters and optimizes the initial narrow-wall contour result to obtain a final narrow-wall contour result.
[0030] A third aspect of this application provides an apparatus for extracting narrow-walled feature paths in additive manufacturing, comprising: a memory; a processor; and one or more computer programs stored in the memory, the computer programs including instructions that, when executed by the processor, enable the extraction method for narrow-walled feature paths in additive manufacturing as described above.
[0031] A fourth aspect of this application provides a computer-readable storage medium storing a computer program, the computer-readable storage medium including instructions that, when executed by a processor, enable the implementation of the steps of the method for extracting narrow-wall feature paths in additive manufacturing as described above.
[0032] The method, apparatus, equipment, and storage medium for extracting narrow-wall feature paths in additive manufacturing provided in this application can first obtain the two-dimensional cross-sectional contour result after model slicing, and then extract the contour of the polygonal region data based on the two-dimensional cross-sectional contour result to obtain a first contour extraction result. Next, compensation and trimming are performed based on the first contour extraction result to obtain an initial narrow-wall contour result. Finally, the initial narrow-wall contour result is filtered to obtain the final narrow-wall contour result. This application first extracts the initial narrow-wall contour result based on the two-dimensional cross-sectional contour result and polygonal region data after model slicing, and then filters it to obtain the final narrow-wall contour result, achieving accurate identification of the narrow-wall contour and improving the production process. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the structure of the additive manufacturing narrow-wall feature path extraction device provided in the embodiments of this application.
[0034] Figure 2 This is a flowchart illustrating the method for extracting narrow-walled feature paths in additive manufacturing provided in this application embodiment.
[0035] Figure 3 yes Figure 2 A schematic diagram of the sub-process of step S20.
[0036] Figure 4 yes Figure 2 A schematic diagram of the sub-process of step S30.
[0037] Figure 5 yes Figure 4 A schematic diagram of the sub-process of step S31.
[0038] Figure 6 yes Figure 2 A schematic diagram of the sub-process of step S40.
[0039] Figure 7 This is a structural block diagram of the device for extracting narrow-walled feature paths in additive manufacturing provided in the embodiments of this application.
[0040] Figure 8 This is another structural block diagram of the additive manufacturing narrow-wall feature path extraction device provided in the embodiments of this application. Detailed Implementation
[0041] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.
[0042] 3D printing technology, also known as additive manufacturing technology, can efficiently manufacture complex structural components, such as topology-optimized components and biomimetic honeycomb structures, by stacking materials layer by layer. It has significant advantages in fields such as industrial manufacturing, medical implants, and lightweight aerospace components.
[0043] However, current 3D printing technology still faces technical bottlenecks in the path planning stage after model slicing, particularly in the identification and extraction of narrow-wall features. Therefore, this application provides a method, apparatus, device, and storage medium for extracting narrow-wall feature paths in additive manufacturing. The extraction method includes obtaining a two-dimensional cross-sectional contour result after model slicing; extracting contours from polygonal region data based on the two-dimensional cross-sectional contour result to obtain a first contour extraction result; compensating and trimming the first contour extraction result to obtain an initial narrow-wall contour result; and filtering the initial narrow-wall contour result to obtain a final narrow-wall contour result.
[0044] Obviously, this application uses a defined polygonal region to perform narrow-wall contour filtering and recognition on the original two-dimensional cross-sectional contour obtained after slicing the model, thereby increasing the recognition accuracy of narrow-wall features and improving the overall production process.
[0045] The technical solution of this application will be described in detail below through specific embodiments.
[0046] Reference Figure 1 , Figure 1 This is a schematic diagram of the extraction device according to an embodiment of this application. Figure 1As shown, the extraction device 1000 may include a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The processor 1001 may be, for example, a Central Processing Unit (CPU). The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. Alternatively, the memory 1005 may be a storage device independent of the aforementioned processor 1001.
[0047] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the extraction device 1000, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0048] Understandable, Figure 1 In the extraction device 1000 shown, the network interface 1004 is mainly used for data communication with a network server. The user interface 1003 is mainly used for data interaction with the user. In this application, the extraction device 1000 calls the extraction program stored in the memory 1005 through the processor 1001 to execute the extraction method for narrow-walled feature paths in additive manufacturing provided in the embodiments of this application.
[0049] Please refer to Figure 2 , Figure 2 This is a flowchart illustrating a method for extracting narrow-walled feature paths in additive manufacturing, provided in an embodiment of this application. In some embodiments, this extraction method may be... Figure 1 The extraction device 1000 is used to perform the extraction. Specifically, such as... Figure 2 As shown, the extraction method includes the following steps:
[0050] Step S10: Obtain the two-dimensional cross-sectional contour result after slicing the model.
[0051] It should be noted that in the 3D printing process, converting a 3D digital model into executable instructions for the printer usually requires first cutting the 3D digital model into a series of parallel 2D cross sections, then calculating the 2D cross section contour path of each slice layer, generating a filling structure inside the contour based on the calculated 2D cross section contour results, and finally generating the print head / laser beam movement path instructions.
[0052] It should also be noted that, in some embodiments, the two-dimensional cross-sectional contour result after model slicing refers to the calculated two-dimensional cross-sectional contour paths of all slice layers of a three-dimensional digital model. Furthermore, the generation process of the two-dimensional cross-sectional contour result after model slicing includes, but is not limited to, first cutting the input three-dimensional digital model into a series of parallel two-dimensional cross-sections, then calculating the two-dimensional cross-sectional contour path of each slice layer, and finally integrating the calculated two-dimensional cross-sectional contour paths of all slice layers to obtain the corresponding two-dimensional cross-sectional contour result.
[0053] It is understood that, in some embodiments, the process of obtaining the two-dimensional cross-sectional contour result after slicing the model includes, but is not limited to, obtaining it directly through user input, or obtaining it by reading the two-dimensional cross-sectional contour result stored by the 3D printing device during the printing process.
[0054] Step S20: Extract the contour of the polygonal region data based on the two-dimensional cross-sectional contour results to obtain the first contour extraction result.
[0055] It should be noted that in some embodiments, the polygon region data is input and set by the user. The process includes, but is not limited to, the user inputting self-defined closed two-dimensional polygon (such as rectangle or irregular polygon) data through a data interaction interface, such as CAD software or slicing tools, and then using it to define a certain area that requires special processing.
[0056] It should also be noted that contour extraction refers to the process of separating the two-dimensional boundary contours of specific geometric sections, such as slice planes or polygonal regions, from a 3D model. The processing involves generating a set of closed polygons or line segments that can be used for subsequent path planning through geometric intersection operations.
[0057] I understand, please refer to this as well. Figure 3 , Figure 3 yes Figure 2 A detailed flowchart of step S20 is shown. In some embodiments, the first contour extraction result can be obtained based on steps S21 to S23.
[0058] Step S21: Obtain polygon region data.
[0059] It should be noted that, in some embodiments, the polygonal region data is a closed polygonal region composed of multiple two-dimensional point coordinates. Here, the two-dimensional point coordinates are absolute coordinates relative to the 3D printing platform and are the basic geometric units used to define the closed polygonal region, representing a specific location on a two-dimensional plane, such as a slice layer of a three-dimensional digital model.
[0060] It is understood that in some embodiments, the process of acquiring polygonal region data includes, but is not limited to, the user inputting a set of self-defined two-dimensional point coordinate data through a data interaction interface on the display screen of the 3D printing device, and these two-dimensional point coordinate data can be connected to form a closed two-dimensional polygonal region.
[0061] Step S22: Verify the polygonal region data and obtain the corresponding data verification results.
[0062] It is understood that in some embodiments, due to user data setting errors or input errors, the obtained polygonal region data may not meet the requirements of subsequent data processing. Therefore, after obtaining the polygonal region data, it is necessary to perform data verification processing on the polygonal region data to determine whether the polygonal region data meets the requirements of subsequent data processing.
[0063] It should be noted that, in some embodiments, the process of validating polygonal region data includes, but is not limited to, first checking the closure of the polygonal region formed by these data, i.e., determining whether the coordinates of the first and last two-dimensional points coincide. Next, determining whether there are invalid vertices (such as duplicate points), and using line segment intersection detection to determine whether there are self-intersecting structures. Then, unifying the vertex direction (e.g., counterclockwise) to verify the geometric dimensions, such as determining whether the minimum area / side length requirement is met. Finally, using ray casting to determine whether all vertices are within the model outline. All steps in the above validation process must meet preset requirements for the polygonal region data to be considered valid, i.e., the data validation result is qualified. Otherwise, the data validation result corresponding to the polygonal region data is unqualified. The preset requirements for each step in the validation process may be: the polygonal region formed by the polygonal region data must be closed, there must be no invalid vertices, there must be no self-intersecting structures, it must meet the user's requirements for geometric dimensions, and all two-dimensional point coordinates must be within the same plane.
[0064] Step S23: If the data verification result is qualified, perform geometric intersection operation on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain the first contour extraction result.
[0065] It should be noted that the purpose of geometric intersection operation is to calculate the overlapping portion of two or more geometric objects. In some embodiments, the process of performing geometric intersection operation on qualified polygonal region data based on the two-dimensional cross-sectional contour result includes, but is not limited to, first aligning the coordinate system according to the two-dimensional cross-sectional contour result and the qualified polygonal region data, then performing intersection element detection (such as the intersection point of the edge of the triangular facet and the plane), and connecting the detected adjacent intersection points to form a closed contour, thereby finally outputting a two-dimensional path that meets the requirements, i.e., the first contour extraction result.
[0066] Furthermore, if the data verification result is unqualified, the unqualified polygon area data can be deleted, and the user can be prompted to re-enter the polygon area data.
[0067] This embodiment first acquires and verifies polygonal region data, and then performs geometric intersection operation based on the two-dimensional cross-sectional contour results and the verified polygonal region data to obtain the first contour extraction result, which provides a foundation for subsequent narrow-wall contour recognition.
[0068] Step S30: Perform compensation clipping based on the first contour extraction result to obtain the initial narrow wall contour result.
[0069] It should be noted that, in some embodiments, the compensation trimming process may include two steps: geometric offset compensation and Boolean trimming, which can be used to generate high-precision paths in additive manufacturing or CNC machining.
[0070] I understand, please refer to this as well. Figure 4 , Figure 4 yes Figure 2 A detailed flowchart of step S30 is shown. In some embodiments, an initial narrow-wall profile result can be obtained based on steps S31 to S32.
[0071] Step S31: Perform contour offset compensation on the first contour extraction result to obtain the second contour extraction result.
[0072] It is understood that, in some embodiments, the contour offset compensation process refers to translating the vertices of the original two-dimensional contour along the normal direction by a specified distance, such as shrinking inward by a specified distance or expanding outward by a specified distance, thereby generating an equidistant contour to compensate for physical processing errors generated during 3D printing. Physical processing errors refer to the deviation between the actual processed dimensions and the theoretical design dimensions caused by the inherent characteristics of the 3D printing equipment or the behavior of the manufacturing materials. Causes of physical processing errors include, but are not limited to, molten material diffusion caused by nozzle diameter or molten pool size deviations caused by the heat-affected zone of the laser spot.
[0073] I understand, please refer to this as well. Figure 5 , Figure 5 yes Figure 4 A detailed flowchart of step S31 is shown. In some embodiments, the second contour extraction result can be obtained based on steps S311 to S313.
[0074] Step S311: Perform negative offset compensation on the first contour extraction result based on the preset offset value to obtain the first contour compensation result.
[0075] It should be noted that in some embodiments, the preset offset value is a narrow wall threshold or minimum effective width value (such as 0.2 mm) set by the user or the system, which can be used to distinguish between "normal wall" and "narrow wall" features.
[0076] It is understood that, in some embodiments, the process of performing negative offset compensation on the first contour extraction result based on a preset offset value includes, but is not limited to, shrinking each two-dimensional cross-sectional contour in the first contour extraction result inward by a distance equivalent to the preset offset value. The integrated two-dimensional cross-sectional contours after all the inward shrinkage are the first contour compensation result.
[0077] Step S312: Perform positive offset compensation on the first contour compensation result based on the preset offset value to obtain the second contour compensation result.
[0078] It is understood that, in some embodiments, the process of performing positive offset compensation on the first contour compensation result based on a preset offset value includes, but is not limited to, expanding each of the inwardly shrunk two-dimensional cross-sectional contours in the first contour compensation result outward by a distance equivalent to the preset offset value. Integrating all the outwardly expanded two-dimensional cross-sectional contours yields the second contour compensation result.
[0079] Step S313: Perform morphological dilation processing based on the second contour compensation result to obtain the second contour extraction result.
[0080] It should be noted that, in some embodiments, morphological expansion refers to a basic operation in additive manufacturing that involves expanding the contour boundaries to compensate for processing errors, enhance structural strength, or generate specific functional features.
[0081] It is understood that, in some embodiments, the process of performing morphological dilation processing based on the second contour compensation result refers to performing outward dilation processing on the second contour compensation result, that is, expanding each edge of each two-dimensional cross-sectional contour in the second contour compensation result outward along its vertical direction, thereby generating a larger contour that can include the original two-dimensional cross-sectional contour, and integrating all the newly generated extended contours to obtain the second contour extraction result.
[0082] In this embodiment, the first contour extraction result is sequentially subjected to negative offset compensation, positive offset compensation, and morphological dilation processing based on a preset offset value, thereby finally obtaining the second contour extraction result, which provides a basis for obtaining the initial narrow-wall contour result.
[0083] Step S32: Perform Boolean subtraction based on the first contour extraction result and the second contour extraction result to obtain the initial narrow wall contour result.
[0084] It is understood that, in some embodiments, Boolean subtraction is a geometric operation used in additive manufacturing to remove portions of a target geometry that overlap with the tool geometry, thereby generating a model with holes, slots, or complex internal structures.
[0085] It should be noted that, in some embodiments, the process of performing a Boolean subtraction operation based on the first contour extraction result and the second contour extraction result includes, but is not limited to, cutting off the contour in the first contour extraction result to remove the contour in the second contour extraction result. The remaining contour obtained by this process is the initial narrow-wall contour result.
[0086] In this embodiment, contour offset compensation is first performed on the first contour extraction result, and then Boolean subtraction is performed based on the first contour extraction result and the obtained second contour extraction result to obtain the initial narrow wall contour result. This realizes the preliminary identification and extraction of the narrow wall feature path, and provides a foundation for subsequent filtering and optimization.
[0087] Step S40: Filter the initial narrow wall profile result to obtain the final narrow wall profile result.
[0088] It should be noted that in some embodiments, the initial narrow-wall profile result may contain some small, sharp, invalid profiles. Therefore, to improve the accuracy of narrow-wall profile extraction, the initial narrow-wall profile result needs to be filtered to remove these invalid profiles. Small invalid profiles refer to profile structures whose size is much smaller than the printing process resolution. Sharp invalid profiles refer to profile structures containing extreme angles or curvature geometric features, or those prone to stress concentration and abnormal path planning.
[0089] It is understood that, in some embodiments, the process of filtering the initial narrow-walled contour result may include contour area filtering and contour shape filtering, wherein contour area filtering is used to filter out contours that do not meet the area threshold, and contour shape filtering is used to filter out contours with abnormal geometry.
[0090] The method, apparatus, equipment, and storage medium for extracting narrow-wall feature paths in additive manufacturing provided in this embodiment can first obtain the two-dimensional cross-sectional contour result after model slicing. Then, based on the two-dimensional cross-sectional contour result, contour extraction is performed on the polygonal region data to obtain a first contour extraction result. Next, compensation and trimming are performed based on the first contour extraction result to obtain an initial narrow-wall contour result. Finally, the initial narrow-wall contour result is filtered to obtain the final narrow-wall contour result. This embodiment first extracts the initial narrow-wall contour result based on the two-dimensional cross-sectional contour result and polygonal region data after model slicing, and then filters it to obtain the final narrow-wall contour result, achieving the identification and extraction of narrow-wall contours and improving process production efficiency.
[0091] refer to Figure 6 , Figure 6 yes Figure 2 A detailed flowchart of step S40.
[0092] In this embodiment, step S40 specifically includes:
[0093] Step S41: Filter the initial narrow wall contour result by contour area to obtain the filtered narrow wall contour result.
[0094] It is understood that, in some embodiments, the process of filtering the initial narrow-wall profile result by area includes, but is not limited to, first calculating the area of each closed narrow-wall profile in the initial narrow-wall profile result, and then comparing the calculation result with a preset minimum process threshold to remove invalid profiles that are too small. The preset minimum process threshold is an area filtering threshold set by the user or the system, for example, it can be set to 0.01 mm. 2 .
[0095] Step S42: Perform contour shape filtering on the filtered narrow wall contour result to obtain the final narrow wall contour result.
[0096] It is understood that, in some embodiments, the process of performing contour shape filtering on the filtered narrow-wall contour results includes, but is not limited to, first detecting the geometric features of each contour in the filtered narrow-wall contour results, then identifying and removing abnormal contours based on contour shape filtering rules, and thus retaining closed contours that meet the process requirements. The geometric features of the contours include, but are not limited to, the presence of convexity, the presence of sharp corners, self-intersection, and whether they meet aspect ratio requirements. Contour shape filtering rules are contour shape requirements set by the user or the system, for example, they can be set to require that the narrow-wall contour has no convexity, no sharp corners, no self-intersection, or an aspect ratio of 6:1.
[0097] This embodiment first filters the initial narrow wall contour result by contour area, and then filters the obtained filtered narrow wall contour result by contour shape to obtain the final narrow wall contour result. This realizes the correction of the narrow wall contour result and improves the accuracy of narrow wall contour recognition and extraction.
[0098] Furthermore, after obtaining the final narrow-wall profile result, the method further includes: performing a Boolean subtraction operation based on the two-dimensional cross-sectional profile result and the final narrow-wall profile result to obtain the non-narrow-wall profile result.
[0099] It should be noted that, in some embodiments, the process of performing a Boolean subtraction operation based on the two-dimensional cross-sectional contour result and the final narrow-wall contour result includes, but is not limited to, cutting off the contour in the two-dimensional cross-sectional contour result to remove the contour in the final narrow-wall contour result. The remaining contour obtained by this process is the non-narrow-wall contour result.
[0100] It should also be noted that, in some embodiments, after extracting the final narrow-wall profile result and the non-narrow-wall profile result, the above results can be stored separately to provide data support for subsequent printing parameter configuration and path planning.
[0101] It is understood that, in some embodiments, the identified narrow-walled regions can be parametrically labeled or classified according to different printing requirements, providing a differentiated basis for subsequent path planning. Specifically, the parametric labeling or classification of narrow-walled regions involves analyzing their geometric characteristics (such as width, aspect ratio, curvature, etc.) and functional requirements to categorize them into different classes (such as A / B / C), and associating them with differentiated process parameters (such as printing speed, infill density, support strategy, etc.). This ultimately outputs structured data to provide a foundation for subsequent path planning, thereby optimizing printing quality and efficiency.
[0102] Furthermore, if the data verification result is qualified, after performing a geometric intersection operation on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain the first contour extraction result, the method further includes: performing a geometric validity verification on the first contour extraction result to obtain a contour verification result. If the contour verification result is unqualified, a new geometric intersection operation is performed on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain the first contour extraction result.
[0103] It should be noted that in some embodiments, a geometric validity check is performed on the first contour extraction result. The purpose of this check is to determine whether the contours in the first contour extraction result are closed and do not self-intersect. This process includes, but is not limited to, first determining whether the contours are closed by calculating the distance between the start and end points of each contour in the first contour extraction result, and then using the Bentley-Ottmann algorithm to scan the line segment intersection points on each contour in the first contour extraction result to determine whether the contours self-intersect. The Bentley-Ottmann algorithm is a classic scan-line algorithm in computational geometry used for efficiently detecting line segment intersection points.
[0104] It is understood that in some embodiments, if the current first contour extraction result fails the geometric validity check, in order to ensure that the contour data meets the geometric requirements of subsequent additive manufacturing, the first contour extraction result needs to be regenerated. That is, the geometric intersection operation is re-performed on the qualified polygonal region data based on the two-dimensional cross-sectional contour result to obtain a new first contour extraction result.
[0105] Reference Figure 7 , Figure 7 This is a structural block diagram of the device for extracting narrow-walled feature paths in additive manufacturing provided in the embodiments of this application. For example... Figure 7 As shown, the device for extracting narrow-walled feature paths in additive manufacturing includes a data acquisition module 10, a first extraction module 20, a second extraction module 30, and a filtering optimization module 40.
[0106] The data acquisition module 10 is used to acquire the two-dimensional cross-sectional contour results after the model is sliced.
[0107] The first extraction module 20 is used to extract the contour of the polygonal region data based on the two-dimensional cross-sectional contour result, and obtain the first contour extraction result.
[0108] The second extraction module 30 is used to perform compensation and clipping based on the first contour extraction result to obtain the initial narrow wall contour result.
[0109] The filtering optimization module 40 is used to filter and optimize the initial narrow wall profile result to obtain the final narrow wall profile result.
[0110] This embodiment first extracts the initial narrow wall contour result based on the two-dimensional cross-sectional contour result and polygon region data after model slicing, and then filters it to obtain the final narrow wall contour result. This improves the recognition and extraction effect of the narrow wall contour, solves the problems of printing distortion and low efficiency of narrow wall structures, and realizes high-precision, high-efficiency and high-reliability additive manufacturing. It is especially suitable for fields with stringent requirements for complex thin-walled structures, such as aerospace and precision medical devices.
[0111] In addition, refer to Figure 8 , Figure 8 This is a structural block diagram of a device for extracting narrow-walled feature paths in additive manufacturing, as provided in an embodiment of this application. The extraction device 2000 includes a processor 2001 and a memory 2002. The memory 2002 stores programs, instructions, or code for executing the aforementioned method for extracting narrow-walled feature paths in additive manufacturing. The processor 2001 executes the programs, instructions, or code stored in the memory 2002. The programs, instructions, or code stored in the memory 2002 are executable. Figures 2 to 6 The embodiments shown include some or all of the steps of the method for extracting narrow-walled feature paths in additive manufacturing.
[0112] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0113] Furthermore, embodiments of this application also propose a computer-readable storage medium storing a computer program, wherein the storage medium stores a program for extracting narrow-wall feature paths in additive manufacturing, and when the program for extracting narrow-wall feature paths in additive manufacturing is executed by a processor, it implements the steps of the method for extracting narrow-wall feature paths in additive manufacturing as described above.
[0114] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solution of this application. In specific applications, those skilled in the art can make settings as needed, and this application does not impose any restrictions on this.
[0115] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this application. In practical applications, those skilled in the art can select some or all of it to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0116] In addition, for technical details not described in detail in this embodiment, please refer to the method for extracting narrow-wall feature paths in additive manufacturing provided in any embodiment of this application, which will not be repeated here.
[0117] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0118] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0119] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0120] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method of extraction of narrow wall feature paths in additive manufacturing, characterized in that, The method comprises the following steps: obtaining a two-dimensional cross-section contour result after slicing a model; performing contour extraction on polygon region data based on the two-dimensional cross-section contour result to obtain a first contour extraction result; the polygon region data is set by a user; performing contour offset compensation on the first contour extraction result to obtain a second contour extraction result; performing Boolean subtraction on the first contour extraction result and the second contour extraction result to obtain an initial narrow wall contour result; performing filtering processing on the initial narrow wall contour result to obtain a final narrow wall contour result.
2. The method of claim 1, wherein, The method comprises the following steps: obtaining the polygon region data; performing verification on the polygon region data to obtain a corresponding data verification result; if the data verification result is qualified, performing geometric intersection operation on the qualified polygon region data based on the two-dimensional cross-section contour result to obtain the first contour extraction result.
3. The method of claim 2, wherein, The method comprises the following steps: performing negative bias compensation on the first contour extraction result based on a preset offset value to obtain a first contour compensation result; performing positive bias compensation on the first contour compensation result based on the preset offset value to obtain a second contour compensation result; performing morphological dilation processing on the second contour compensation result to obtain the second contour extraction result.
4. The method of claim 1 to 3, wherein, The method comprises the following steps: performing contour area filtering on the initial narrow wall contour result to obtain a filtered narrow wall contour result; performing contour shape filtering on the filtered narrow wall contour result to obtain the final narrow wall contour result.
5. The method of claim 1, wherein, After obtaining the final narrow wall contour result, the method further comprises the following steps: performing Boolean subtraction on the two-dimensional cross-section contour result and the final narrow wall contour result to obtain a non-narrow wall contour result.
6. The method of claim 1, wherein, Before performing compensation clipping on the first contour extraction result, the method further comprises the following steps: performing geometric validity verification on the first contour extraction result to obtain a contour verification result; if the contour verification result is unqualified, performing geometric intersection operation on the qualified polygon region data based on the two-dimensional cross-section contour result to obtain the first contour extraction result.
7. An apparatus for extraction of narrow wall feature paths in additive manufacturing, characterized in that, The device comprises: a data acquisition module configured to obtain a two-dimensional cross-section contour result after slicing a model; a first extraction module configured to perform contour extraction on polygon region data based on the two-dimensional cross-section contour result to obtain a first contour extraction result; the polygon region data is set by a user; a second extraction module configured to perform contour offset compensation on the first contour extraction result to obtain a second contour extraction result; and perform Boolean subtraction on the first contour extraction result and the second contour extraction result to obtain an initial narrow wall contour result; a filtering optimization module configured to perform filtering optimization on the initial narrow wall contour result to obtain a final narrow wall contour result.
8. An extraction apparatus, characterized by The extraction device comprises: a memory; a processor; One or more computer programs stored in the memory, the one or more computer programs comprising instructions that, when executed by the processor, enable the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer storage medium comprising instructions that, when executed by a processor, enable the method of any of claims 1-6.
Citation Information
Patent Citations
Melting path design method for high energy beam selective melting forming
CN105195742A
3D printing supporting area generation method based on supporting point expansion fusion
CN112861201A