Support adding method and device for industrial part model, computer equipment and readable storage medium
By automating the identification and addition of different area patches of industrial part models, the problem of time-consuming and labor-intensive manual support addition in existing technologies has been solved, achieving efficient and accurate support addition and improving the stability of 3D printing.
Patent Information
- Application Number
- CN202511459343.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-13
- Publication Date
- 2026-01-27
AI Technical Summary
In existing technologies, adding supports to industrial part models requires a lot of manual operation, which is time-consuming and labor-intensive, and it is difficult to meet the printing requirements of complex structures.
By acquiring industrial part models, different areas and patches are identified and marked as selected. Based on preset conditions, block supports, line supports, and composite supports are automatically added, including accurate identification and support addition for bottom areas, model edge lines, lower surface areas, and areas with holes.
It enables the automated addition of industrial part model supports, improving efficiency, reducing labor and time costs, and enhancing the accuracy of support addition and the stability of 3D printing.
Smart Images

Figure CN121413050A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial component model design technology, and in particular to a method, apparatus, computer device, computer-readable storage medium, and computer program product for supporting and adding industrial component models. Background Technology
[0002] In 3D printing, it's often necessary to add suitable support structures to industrial part models to improve their stability after printing. However, due to the complexity of industrial part models, it's difficult to find a single support system that meets all the printing requirements. Therefore, existing support addition methods typically require manual adjustment, resulting in significant manpower and time consumption. Summary of the Invention
[0003] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for supporting the addition of industrial part models that can achieve automated addition, in order to address the above-mentioned technical problems.
[0004] Firstly, this application provides a method for adding support to an industrial part model, including:
[0005] Obtain industrial part models;
[0006] Identify the bottom area patch in the industrial part model according to a preset bottom height threshold, mark the bottom area patch as a first selected state, and add block support to the bottom area patch based on the first selected state;
[0007] Extract the model edge lines from the industrial part model, use the first preset conditions to judge the angle of the facets on both sides of the model edge lines and the points through which the model edge lines pass, select the model edge lines that meet the first preset conditions as target lines, and add line support to the target lines;
[0008] Extract the lower surface region from the industrial part model, identify the perforated area in the lower surface region, mark the perforated area as a second selected state, and add composite support to the perforated area based on the second selected state.
[0009] In one embodiment, extracting the lower surface region from the industrial part model and identifying the perforated area patches within the lower surface region includes:
[0010] The surface area, dihedral angle, and boundary information of each area patch in the lower surface region are judged using the second preset condition, and the area patches that meet the second preset condition are selected as planar area patches;
[0011] The dihedral angle of the inner boundary adjacent facets of the planar region facets is judged by a preset angle threshold, and the inner boundary adjacent facets with an angle greater than the preset angle threshold are selected as the inner boundary adjacent facets of the hole.
[0012] The hole bounding box height, hole bounding box area, hole bounding box length, and hole diameter of the adjacent surface of the hole inner boundary are judged by the third preset condition. The adjacent surface of the hole inner boundary that meets the third preset condition is selected as the surface of the hole area, and the unsupported state of the surface of the hole area is cleared.
[0013] In one embodiment, the method further includes:
[0014] For adjacent facets of the inner boundary of the hole that do not meet the third preset condition, the adjacent area is expanded in a plane, and during the expansion process, the facets of the hole area marked as the second selected state and the facets of the unsupported state are bypassed to obtain the expanded plane area.
[0015] The extended planar region is marked as unsupported.
[0016] The step of adding composite support to the perforated area patch based on the second selected state includes:
[0017] Composite supports are added to the perforated area patch in the second selected state (unsupported structure), while simultaneously bypassing the extended planar area marked as unsupported.
[0018] In one embodiment, the method further includes:
[0019] Identify the outer boundary adjacent patches of the planar region patch, mark the outer boundary adjacent patches as the second selected state, and clear the unsupported state of the outer boundary adjacent patches;
[0020] Composite supports are added to the adjacent surfaces of the outer boundary of the second selected state, which is an unsupported structure.
[0021] In one embodiment, the method further includes:
[0022] The target point is determined based on the height of each point in the industrial component model;
[0023] Extend the region based on the target height where the target point is located to obtain the suspended region, and clear the unsupported state of the suspended region.
[0024] Add block support to the suspended area.
[0025] In one embodiment, the method further includes:
[0026] Identify target area patches in the industrial part model whose angles are within a preset range;
[0027] The target area patch is marked as a first selected state, and block support is added to the target area patch based on the first selected state.
[0028] Secondly, this application also provides a support and addition device for an industrial part model, comprising:
[0029] The model acquisition module is used to acquire industrial part models;
[0030] The block support addition module is used to identify the bottom area patch in the industrial part model according to a preset bottom height threshold, mark the bottom area patch as a first selected state, and add block support to the bottom area patch based on the first selected state.
[0031] The line support addition module is used to extract the model edge lines in the industrial part model, and use a first preset condition to judge the angle of the facets on both sides of the model edge line and the points passed by the model edge line, and select the model edge lines that meet the first preset condition as target lines, and add line support to the target lines.
[0032] The composite support addition module is used to extract the lower surface region in the industrial part model, identify the perforated area in the lower surface region, mark the perforated area as a second selected state, and add composite support to the perforated area based on the second selected state.
[0033] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method for adding support to an industrial part model as described in any of the embodiments of the first aspect.
[0034] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the method for adding support to an industrial part model as described in any of the embodiments of the first aspect.
[0035] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the method for adding support to an industrial part model as described in any of the embodiments of the first aspect.
[0036] The aforementioned method, apparatus, computer equipment, computer-readable storage medium, and computer program product for adding supports to industrial part models automatically add different types of supports to different areas, reducing manual operation and thus significantly improving the efficiency of adding supports to industrial part models and reducing labor and time costs. Furthermore, because the aforementioned method for adding supports to industrial part models utilizes preset conditions or marked states to add specified types of support structures to specified areas, the accuracy of support addition can be improved. Simultaneously, since the aforementioned method for adding supports to industrial part models uses preset conditions or marked states to add specified types of support structures to specified areas, the accuracy of support addition can also be improved. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a flowchart illustrating a method for adding support to an industrial component model in one embodiment;
[0039] Figure 2 This is a flowchart illustrating the process of identifying perforated area patches in one embodiment;
[0040] Figure 3 This is a flowchart illustrating the planar expansion steps of an adjacent region in one embodiment;
[0041] Figure 4 This is a flowchart illustrating the method for adding support to an industrial component model in another embodiment;
[0042] Figure 5A This is a schematic diagram of an industrial component model with added support structures in one embodiment;
[0043] Figure 5B A schematic diagram of an industrial component model with added support structures in another embodiment;
[0044] Figure 6A structural block diagram of a support adding device 600 for an industrial part model in one embodiment;
[0045] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0046] 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.
[0047] It should be noted that the data involved in this application (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0048] In one exemplary embodiment, such as Figure 1 As shown, a method for adding support to an industrial component model is provided. This embodiment illustrates the application of this method to a terminal. It is understood that this method can also be applied to a server, and further to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0049] Step S102: Obtain the industrial part model.
[0050] Among them, the industrial part model can be a three-dimensional model used for three-dimensional printing of industrial parts.
[0051] For example, the terminal can run 3D modeling software and import industrial part models into the 3D modeling software through local databases, data communication networks, or cloud storage spaces.
[0052] Step S104: Identify the bottom area patch in the industrial part model according to the preset bottom height threshold, mark the bottom area patch as the first selected state, and add block support to the bottom area patch based on the first selected state.
[0053] Among them, the bottom height threshold can be used to characterize the bottom limit height value of the industrial part model.
[0054] For example, the terminal may store a preset bottom height threshold. The height data of the industrial part model is acquired, and areas below the bottom height threshold are designated as bottom areas. These bottom areas are marked as a first selected state. Data operation logic corresponding to the first selected state is executed to automatically add block supports, such as stereolithography SLA supports, to the bottom areas marked with the first selected state. Optionally, in some embodiments, a height limit for the block supports can be set to ensure the stability of 3D printing of the industrial part model after subsequent addition of block supports.
[0055] Step S106: Extract the model edge lines from the industrial part model, use the first preset conditions to judge the angle of the facets on both sides of the model edge lines and the points through which the model edge lines pass, select the model edge lines that meet the first preset conditions as target lines, and add line support to the target lines.
[0056] Among them, the model edge lines can be used to characterize the lines with large dihedral angles on both sides of the facet.
[0057] The target line can be used to characterize the lowest line in an industrial part model.
[0058] For example, the terminal can store a first preset condition including the following conditions: there are facets on both sides of the line that meet the support angle; the line is a model edge line; there is only one vertical inflection point; and the point it passes through has a lowest point. The model edge line is identified based on the dihedral angles of the facets on both sides of each line in the industrial part model. The first preset condition is used to determine whether there are facets on both sides of the model edge line that meet the support angle; whether the number of vertical inflection points in the model edge line is one; and whether the model edge line passes through the lowest point of the industrial part model. Model edge lines that meet the first preset condition are selected as target lines. Line supports with intersecting structures are added to the target lines.
[0059] Step S108: Extract the lower surface region from the industrial part model, identify the perforated area in the lower surface region, mark the perforated area as the second selected state, and add composite support to the perforated area based on the second selected state.
[0060] For example, the terminal can determine the lower surface region in the industrial part model based on the physical properties of the industrial part, and detect planar regions with inner ring boundaries within the lower surface region. Perforated area patches are identified based on the inner ring boundaries. The perforated area patches are marked as a second selected state. Data operation logic corresponding to the second selected state is executed to automatically add composite supports, such as smart supports, to the perforated area patches marked with the second selected state.
[0061] In the aforementioned method for adding supports to industrial part models, bottom area patches in the industrial part model are identified based on a preset bottom height threshold. These bottom area patches are marked as a first selected state, and block supports are added to them based on this first selected state. Model edge lines are extracted from the industrial part model, and the angles of the patches on both sides of the edge lines and the points traversed by the edge lines are judged using a first preset condition. Model edge lines that meet the first preset condition are selected as target lines, and line supports are added to these target lines. The lower surface area of the industrial part model is extracted, and perforated area patches within this area are identified. These perforated area patches are marked as a second selected state, and composite supports are added to them based on this second selected state. This method can automatically add different types of supports to different areas, reducing manual operations and significantly improving the efficiency of adding supports to industrial part models while reducing labor and time costs. Furthermore, since the aforementioned method for adding supports to industrial part models utilizes preset conditions or marked states to add specified types of support structures to specified area patches, the accuracy of support addition can also be improved.
[0062] In one exemplary embodiment, such as Figure 2 As shown, step S108 may include steps S202 to S206. Wherein:
[0063] Step S202: The surface area, dihedral angle and boundary information of each area patch in the lower surface region are judged by the second preset conditions, and the area patches that meet the second preset conditions are selected as planar area patches.
[0064] For example, the terminal may store a second preset condition including the following conditions: surface area greater than a preset area threshold (e.g., 10 square millimeters); dihedral angle less than a preset angle value (e.g., 20°); and planar regions with inner ring boundaries. The second preset condition is used to determine whether the surface area of each region in the lower surface region is greater than the preset area threshold, whether the dihedral angle is less than the preset angle value, and whether it has an inner ring boundary. Regions that meet the second preset condition are then selected as planar region patches.
[0065] Step S204: Use a preset angle threshold to judge the dihedral angle of the inner boundary adjacent facets of the planar area facets, and select the inner boundary adjacent facets that are greater than the preset angle threshold as the inner boundary adjacent facets of the hole.
[0066] For example, the terminal can traverse the boundary of each region of the planar area patch to obtain the dihedral angle of the adjacent inner boundary patches. A preset angle threshold (e.g., 180°) is used to compare the dihedral angles of the adjacent inner boundary patches, and inner boundary patches with dihedral angles greater than the preset angle threshold are selected as inner boundary patches of the hole. Optionally, in some embodiments, the terminal can also remove inner boundary patches with fewer than 10 inner boundary points during the process of obtaining inner boundary patches to eliminate recognition errors.
[0067] Optionally, in some other embodiments, if the dihedral angle of an inner boundary adjacent surface is less than a preset angle threshold, then the inner boundary adjacent surface is considered a raised inner boundary adjacent surface. No supporting structure needs to be added to the raised inner boundary adjacent surface; therefore, the raised inner boundary adjacent surface is not processed.
[0068] Step S206: Using the third preset condition, the hole bounding box height, hole bounding box area, hole bounding box length and hole diameter of the adjacent surface of the hole boundary are judged, and the adjacent surface of the hole boundary that meets the third preset condition is selected as the surface of the hole area, and the unsupported state of the surface of the hole area is cleared.
[0069] For example, the terminal may store any of the following conditions: the Z-axis height of the hole apex bounding box is less than a preset height value (e.g., 5 mm); the ratio of the hole bounding box area to the outer hole bounding box area is less than a first preset ratio (e.g., 0.001); the ratio of the hole bounding box area to the plane area is less than a second preset ratio (e.g., 0.1); the length of the hole bounding box in both the X and Y axes is greater than a preset length value (e.g., 50 mm) and the ratio of the hole bounding box area to the plane area is greater than a third preset ratio (e.g., 0.5); and a third preset condition that the hole diameter is greater than a preset diameter value (e.g., 20 mm).
[0070] The terminal can use a third preset condition to determine whether the height of the hole bounding box corresponding to the adjacent surface of the hole inner boundary is less than a preset height value, whether the ratio of the hole bounding box area to the outer hole bounding box area is less than a first preset ratio, whether the ratio of the hole bounding box area to the plane area is less than a second preset ratio, whether the length in the X-axis and Y-axis directions is greater than a preset length value and whether the ratio of the hole bounding box area to the plane area is greater than a third preset ratio. If any of the above conditions are met, the terminal can then determine whether the hole diameter is greater than a preset diameter value. This allows the terminal to filter out the adjacent surface of the hole inner boundary that meets the third preset condition as the surface with the hole, and clear the unsupported state of the surface with the hole (a state that restricts the surface of the specified area from adding support), which helps to add composite support to the surface with the hole in the future.
[0071] In this embodiment, planar area patches are selected from the lower surface region using surface area, dihedral angle, and boundary information. A preset angle threshold is used to identify the inner boundary adjacent patches of holes from the inner boundary adjacent patches of the planar area patches. A third preset condition is used to judge the height, area, length, and hole diameter of the hole bounding box in the inner boundary adjacent patches of holes, and to select perforated area patches. This enables fine-grained division of the lower surface region and accurate identification of perforated area patches that require the addition of composite supports.
[0072] In one exemplary embodiment, such as Figure 3 As shown, the method for adding support to the industrial part model provided in this application may further include the following steps S302 to S306. Wherein:
[0073] Step S302: For the adjacent surface of the hole boundary that does not meet the third preset condition, the adjacent area is expanded in a plane, and during the expansion process, the area with holes marked as the second selected state and the area without support are bypassed to obtain the expanded plane area.
[0074] Step S304: Mark the extended planar region as unsupported.
[0075] Among them, the extended planar region can be used to characterize the planar region inside the hole that does not require the addition of a support structure.
[0076] Optionally, in some embodiments, the terminal can identify the location of the hole in the adjacent surface of the hole boundary that does not meet the third preset condition provided in the above embodiments, obtain the surface adjacent to the hole, interpolate based on a preset expansion direction (e.g., horizontal, vertical, or surface angle matching direction) and the surface position to obtain a new surface center point, generate a new surface using the new surface center point as the center point of the expanded plane, and if it is detected that the new surface will overlap with the surface of the hole area marked as the second selected state and the surface of the unsupported state, the newly generated surface is deleted, thereby bypassing the surface of the hole area marked as the second selected state and the surface of the unsupported state during the expansion process to obtain the expanded planar region. Since the expanded planar region is usually a planar region inside the hole that does not require the addition of a support structure, the expanded planar region can be marked as unsupported.
[0077] Step S306: Add composite support to the perforated area patch with unsupported structure in the second selected state, while bypassing the extended planar area marked as unsupported.
[0078] For example, during the process of adding a composite support to the perforated area patch with the current unsupported structure based on the second selected state, if the terminal detects an area patch marked as unsupported, it bypasses that unsupported area without processing. Finally, a composite support structure corresponding to the perforated area patch marked as the second selected state is automatically generated, bypassing the extended planar area marked as unsupported.
[0079] In this embodiment, by expanding the adjacent area of the adjacent surface of the hole boundary that does not meet the third preset condition, and by bypassing the surface of the hole area marked as the second selected state and the surface of the unsupported state, an expanded planar area is obtained. The expanded planar area is marked as unsupported. By bypassing the unsupported expanded planar area during the automatic addition of composite support, it is possible to avoid adding support to the expanded planar area inside the hole that does not need support, thereby improving the accuracy of composite support addition and reducing support addition cost.
[0080] In an exemplary embodiment, the support addition method for the industrial part model provided in this application may further include: identifying the outer boundary adjacent facets of the planar region facets, marking the outer boundary adjacent facets as a second selected state, and clearing the unsupported state of the outer boundary adjacent facets; adding composite supports based on the outer boundary adjacent facets with the second selected state being an unsupported structure.
[0081] For example, the terminal can also perform the following operations on planar region patches that meet the second preset conditions: traverse the adjacent regions of the planar region patch, identify the outer boundary adjacent patches of the planar region patch, and for each outer boundary adjacent patch visited, mark the currently visited outer boundary adjacent patch as a second selected state, and clear the unsupported state of the currently visited outer boundary adjacent patch. After the traversal is completed, add composite supports to the outer boundary adjacent patches with the second selected state of unsupported structure.
[0082] In this embodiment, by identifying the outer boundary adjacent facets of the planar region facets that meet the second preset conditions, marking the outer boundary adjacent facets as the second selected state and clearing the unsupported state, and adding composite supports to the outer boundary adjacent facets based on the second selected state, it can help improve the stability of the subsequent 3D printing of industrial part models.
[0083] In one exemplary embodiment, such as Figure 4 As shown, the method for adding support to the industrial part model provided in this application may further include the following steps S402 to S406, wherein:
[0084] Step S402: Determine the target point based on the height of each point in the industrial part model.
[0085] Step S404: Extend the region based on the target height of the target point to obtain the suspended region, and clear the unsupported state of the suspended region.
[0086] Step S406: Add block support to the suspended area.
[0087] The target point can be used to characterize the lowest point in the industrial part model.
[0088] For example, the terminal can obtain the height of each point in the industrial part model, compare the heights of each point, and select the point with the lowest height as the target point. Starting from the target point, using the target height of the target point as the Z-axis height of the extended region, the region is extended towards the boundary points (maximum / minimum points of X-coordinate and Y-coordinate) of the industrial part model on the X and Y axes, resulting in a suspended region with the Z-axis height as the target height and the boundary points of the region as the boundary points on the X and Y axes of the industrial part model. The unsupported state of the suspended region is cleared. Unsupported suspended regions are identified, and block supports are automatically added to the suspended regions.
[0089] Since supports must be added to the suspended areas during the 3D printing process of industrial parts models to ensure the printing stability of the industrial parts models, in this embodiment, the lowest point of the industrial parts model is detected as the target point, the area is extended based on the target point, the suspended area where the target point is located is determined, the unsupported state of the suspended area is cleared, and block supports are added to the suspended area, which can help improve the stability of the subsequent 3D printing of industrial parts models.
[0090] In an exemplary embodiment, the method for adding support to an industrial part model provided in this application may further include: identifying a target area patch in the industrial part model whose angle is within a preset range; marking the target area patch as a first selected state; and adding block support to the target area patch based on the first selected state.
[0091] For example, the terminal can identify the angles of various regions within the industrial part model and match these angles with a preset range (e.g., 0-40°) to identify target regions with angles within the preset range. Since regions with angles within the preset range typically require additional support structures, the target regions can be marked as a first selected state. Block supports are then added to the target regions based on this first selected state. Optionally, in some implementations, the height of the block supports can be limited to improve the stability of the 3D printing of the industrial part model.
[0092] In this embodiment, by identifying target area patches in the industrial part model whose angles are within a preset range, marking the target area patches as a first selected state, and adding block support to the target area patches based on the first selected state, it can help improve the stability of subsequent 3D printing of the industrial part model.
[0093] In one exemplary embodiment, such as Figure 4 As shown, a method for adding supports to an industrial part model is also provided, including the following steps S402 to S422. Wherein:
[0094] Step S402: Obtain the industrial part model.
[0095] For example, the terminal can acquire an industrial part model and import it into a 3D printing modeling application. In the modeling application, the following automatic support addition operation is performed.
[0096] Step S404: Identify the bottom area patch in the industrial part model according to the preset bottom height threshold, mark the bottom area patch as the first selected state, and add block support to the bottom area patch based on the first selected state.
[0097] For example, the terminal can identify areas in the industrial part model whose height is lower than a bottom height threshold as bottom areas and mark them as a first selected state. Block supports are added to the bottom areas marked with the first selected state, and the support height is limited.
[0098] Step S406: Identify the target area patch in the industrial part model whose angle is within a preset range, mark the target area patch as the first selected state, and add block support to the target area patch based on the first selected state.
[0099] For example, the terminal can identify all target area patches in the industrial part model that face downwards within a preset range (e.g., 0-40°), designate the target area patches as support areas, and mark them as a first selected state. Block supports are added to the target area patches marked with the first selected state, and the support height is limited.
[0100] Step S408: Extract the model edge lines from the industrial part model, use the first preset conditions to judge the angle of the facets on both sides of the model edge lines and the points through which the model edge lines pass, select the model edge lines that meet the first preset conditions as target lines, and add line support to the target lines.
[0101] For example, the terminal can automatically identify the lowest line in the industrial part model that meets the following first preset conditions: there are facets on both sides of the line that meet the support angle; the line is a model edge line (i.e., a line with a large dihedral angle formed by the facets on both sides of the line); there is only one vertical inflection point; and the point it passes through has a lowest point. The line that meets the first preset conditions is taken as the target line, and line supports with intersecting structures are added to the target line. Optionally, in some embodiments, a selected state corresponding to adding line supports to the target line can be used, and line supports with intersecting structures can be added to the target line based on the marked selected state corresponding to the line supports.
[0102] Step S410: Use the second preset conditions to judge the surface area, dihedral angle and boundary information of each area patch in the lower surface region, select the area patch that meets the second preset conditions as the planar area patch, and traverse each adjacent area of the planar area patch.
[0103] For example, the terminal can perform a subdivision operation on the lower surface region of the industrial part model: automatically acquire all planar regions on the lower surface of the industrial part model with a surface area greater than 10 square millimeters and a dihedral angle less than 20°. Based on the boundary information (region boundaries) of the planar regions acquired in the previous operation, select the planar regions with inner ring boundaries as planar region patches that meet the second preset condition. Then, traverse each adjacent region of the planar region patch and perform the following steps S412 to S418.
[0104] Step S412: Identify the outer boundary adjacent facets of the planar region facets, mark the outer boundary adjacent facets as the second selected state, and clear the unsupported state of the outer boundary adjacent facets.
[0105] For example, the terminal can identify the adjacent patches of the outer boundary of the planar region patch, mark the adjacent patches of the outer boundary as the second selected state S, the visited state V, and clear the unsupported state, so that the subsequent step S422 can add composite support to the adjacent patches of the outer boundary.
[0106] Step S414: Use a preset angle threshold to judge the dihedral angle of the inner boundary adjacent facets of the planar area facets, and select the inner boundary adjacent facets that are greater than the preset angle threshold as the inner boundary adjacent facets of the hole.
[0107] For example, the terminal can identify the inner boundary adjacent faces of a planar region. Inner boundary adjacent faces with fewer than 10 inner boundary points are deleted. Subsequent operations are performed on the remaining inner boundary adjacent faces: inner boundary adjacent faces with a dihedral angle greater than 180° are identified as inner boundary adjacent faces of holes. Inner boundary adjacent faces with a dihedral angle less than 180° are typically convex inner boundary adjacent faces, requiring no additional support and thus no further processing.
[0108] Step S416: Using the third preset condition, the hole bounding box height, hole bounding box area, hole bounding box length and hole diameter of the adjacent surface of the hole boundary are judged, and the adjacent surface of the hole boundary that meets the third preset condition is selected as the surface of the hole area, the second selected state is added and the unsupported state is cleared.
[0109] For example, the terminal can search for any of the following third preset conditions: the Z-axis height of the hole vertex bounding box is less than 5 mm; the ratio of the hole bounding box area to the outer hole bounding box area is less than 0.001; the ratio of the hole bounding box area to the planar area is less than 0.1; the length of the hole bounding box in both the X and Y axes is greater than 50 mm and the ratio of the hole bounding box area to the planar area is greater than 0.5; and the adjacent facets of the inner boundary of the hole with a hole diameter greater than 20 mm are selected as the perforated area facets that satisfy the third preset conditions. A second selected state S and a visited state V are added to the perforated area facets, and the unsupported state of the perforated area facets is cleared.
[0110] Step S418: For the adjacent facets of the hole boundary that do not meet the third preset condition, perform planar expansion of the adjacent region, and during the expansion process, bypass the facets with holes marked as the second selected state and the facets in the unsupported state to obtain the expanded planar region, and mark the expanded planar region as the unsupported state.
[0111] For example, the terminal can refer to the extended planar region construction method provided in the above embodiments to expand to obtain an extended planar region inside the hole that does not require additional support, and mark the extended planar region as unsupported.
[0112] Step S420: Add composite support based on the area patch with the second selected state of no support structure and the area patch with the cleared state of no support, and bypass the area patch with the state of no support.
[0113] For example, the terminal can add composite smart supports to the unsupported area patches marked with the second selected state (such as the outer boundary adjacent area patches and the perforated area patches that meet the third preset conditions) and the area patches with the unsupported state cleared, and bypass the area patches marked with the first selected state, the suspended area, the second selected state S, the visited state V and the unsupported state (such as the extended planar area mentioned above).
[0114] Step S422: Determine the target point based on the height of each point in the industrial part model, extend the area at the target height of the target point to obtain the suspended area, clear the unsupported state of the suspended area, and add block support.
[0115] For example, the terminal can compare the heights of various points in the industrial part model and automatically identify the lowest point in the industrial part model as the target point. A suspended area is obtained by extending from the target height of the target point. The unsupported state of the suspended area is cleared, and block supports are automatically added to the suspended area. Optionally, in some implementations, a selected state corresponding to the block support can also be added to the suspended area. Based on the marked selected states corresponding to the block support, block supports are automatically added to the suspended area, and the support height is limited.
[0116] Alternatively, in some implementations, such as Figure 5A and Figure 5B As shown, the terminal can also display industrial part models and various support structures added to them to users in the modeling software. Figure 5A The yellow support structure is a composite support, while the green support structure is a block support. Figure 5B The orange support structure is a composite support. The terminal can also respond to adjustments to currently added support structures, changing their size, position, deleting, or adding new support structures. For example, it can... Figure 5B Add a new purple support structure to the area corresponding to the red box in the image.
[0117] In this embodiment, by adding height-limiting block supports to the bottom of the industrial part model, adding height-limiting line supports with intersecting structures to the lowest line passing through the lowest point of the industrial part model, adding block supports to the suspended area with the lowest point of the industrial part model and an area angle of less than 40°, subdividing the lower surface area of the industrial part model, identifying holes located on the large plane, marking the areas without support structures around the holes, marking the areas without support within the holes, and adding composite smart supports that avoid the inside of the holes to the model, it is possible to achieve one-click automated and accurate addition of different types of support structures, reducing the labor and time costs of manual operation, reducing the technical difficulty of adding supports to the industrial part model, and subsequently achieving high stability in 3D printing of the industrial part model with added support structures, realizing the optimal consumables for support.
[0118] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0119] Based on the same inventive concept, this application also provides a support-adding device for industrial part models to implement the support-adding method for industrial part models described above. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the support-adding device for industrial part models provided below can be found in the limitations of the support-adding method for industrial part models described above, and will not be repeated here.
[0120] In one exemplary embodiment, such as Figure 6 As shown, a support addition device 600 for an industrial part model is provided, including: a model acquisition module 602, a block support addition module 604, a line support addition module 606, and a composite support addition module 608, wherein:
[0121] The model acquisition module 602 is used to acquire industrial part models.
[0122] The block support addition module 604 is used to identify the bottom area patch in the industrial part model according to the preset bottom height threshold, mark the bottom area patch as the first selected state, and add block support to the bottom area patch based on the first selected state.
[0123] The line support addition module 606 is used to extract the model edge lines in the industrial part model. It uses a first preset condition to judge the angle of the facets on both sides of the model edge line and the points through which the model edge line passes, and selects the model edge lines that meet the first preset condition as target lines, and adds line support to the target lines.
[0124] The composite support addition module 608 is used to extract the lower surface area in the industrial part model, identify the perforated area in the lower surface area, mark the perforated area as a second selected state, and add composite support to the perforated area based on the second selected state.
[0125] In an exemplary embodiment, the composite support addition module 608 includes a hole recognition unit, used to judge the surface area, dihedral angle, and boundary information of each area patch in the lower surface region using a second preset condition, and select area patches that meet the second preset condition as planar area patches; to judge the dihedral angle of the inner boundary adjacent patches of the planar area patches using a preset angle threshold, and select inner boundary adjacent patches with an angle greater than the preset angle threshold as hole inner boundary adjacent patches; to judge the hole bounding box height, hole bounding box area, hole bounding box length, and hole diameter corresponding to the hole inner boundary adjacent patches using a third preset condition, select hole inner boundary adjacent patches that meet the third preset condition as hole-patterned area patches, and clear the unsupported state of the hole-patterned area patches.
[0126] In an exemplary embodiment, the composite support adding module 608 is further configured to perform planar expansion of the adjacent area of the adjacent surface of the hole boundary that does not meet the third preset condition, and during the expansion process, bypass the perforated area surface marked as the second selected state and the unsupported area surface to obtain an expanded planar area; mark the expanded planar area as unsupported; add composite support based on the perforated area surface surface with the second selected state of unsupported structure, while bypassing the expanded planar area marked as unsupported.
[0127] In an exemplary embodiment, the composite support adding module 608 further includes an outer boundary marking unit, used to identify the outer boundary adjacent facets of the planar region facets, mark the outer boundary adjacent facets as a second selected state, and clear the unsupported state of the outer boundary adjacent facets; and add composite supports based on the outer boundary adjacent facets with the second selected state being an unsupported structure.
[0128] In an exemplary embodiment, the block support adding module 604 is further configured to determine a target point based on the height of each point in the industrial part model; extend the region at the target height of the target point to obtain a suspended region; clear the unsupported state of the suspended region; and add block support to the suspended region.
[0129] In an exemplary embodiment, the block support adding module 604 is further configured to identify target area patches in the industrial part model whose angles are within a preset range; mark the target area patches as a first selected state; and add block support to the target area patches based on the first selected state.
[0130] Each module in the support and addition device 600 of the aforementioned industrial component model can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0131] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a method for supporting and adding industrial part models. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0132] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0133] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0134] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.
[0135] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.
[0136] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0137] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0138] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for adding supports to an industrial part model, characterized in that, The method includes: Obtain industrial part models; Identify the bottom area patch in the industrial part model according to a preset bottom height threshold, mark the bottom area patch as a first selected state, and add block support to the bottom area patch based on the first selected state; Extract the model edge lines from the industrial part model, use the first preset conditions to judge the angle of the facets on both sides of the model edge lines and the points through which the model edge lines pass, select the model edge lines that meet the first preset conditions as target lines, and add line support to the target lines; Extract the lower surface region from the industrial part model, identify the perforated area in the lower surface region, mark the perforated area as a second selected state, and add composite support to the perforated area based on the second selected state.
2. The method according to claim 1, characterized in that, The step of extracting the lower surface region from the industrial part model and identifying the perforated area patches within the lower surface region includes: The surface area, dihedral angle, and boundary information of each area patch in the lower surface region are judged using the second preset condition, and the area patches that meet the second preset condition are selected as planar area patches; The dihedral angle of the inner boundary adjacent facets of the planar region facets is judged by a preset angle threshold, and the inner boundary adjacent facets with an angle greater than the preset angle threshold are selected as the inner boundary adjacent facets of the hole. The hole bounding box height, hole bounding box area, hole bounding box length, and hole diameter of the adjacent surface of the hole inner boundary are judged by the third preset condition. The adjacent surface of the hole inner boundary that meets the third preset condition is selected as the surface of the hole area, and the unsupported state of the surface of the hole area is cleared.
3. The method according to claim 2, characterized in that, The method further includes: For adjacent facets of the inner boundary of the hole that do not meet the third preset condition, the adjacent area is expanded in a plane, and during the expansion process, the facets of the hole area marked as the second selected state and the facets of the unsupported state are bypassed to obtain the expanded plane area. The extended planar region is marked as unsupported. The step of adding composite support to the perforated area patch based on the second selected state includes: Composite supports are added to the perforated area patch in the second selected state (unsupported structure), while simultaneously bypassing the extended planar area marked as unsupported.
4. The method according to claim 2, characterized in that, The method further includes: Identify the outer boundary adjacent patches of the planar region patch, mark the outer boundary adjacent patches as the second selected state, and clear the unsupported state of the outer boundary adjacent patches; Composite supports are added to the adjacent surfaces of the outer boundary of the second selected state, which is an unsupported structure.
5. The method according to claim 1, characterized in that, The method further includes: The target point is determined based on the height of each point in the industrial component model; Extend the region based on the target height where the target point is located to obtain the suspended region, and clear the unsupported state of the suspended region. Add block support to the suspended area.
6. The method according to claim 1, characterized in that, The method further includes: Identify target area patches in the industrial part model whose angles are within a preset range; The target area patch is marked as a first selected state, and block support is added to the target area patch based on the first selected state.
7. A support and addition device for an industrial part model, characterized in that, The device includes: The model acquisition module is used to acquire industrial part models; The block support addition module is used to identify the bottom area patch in the industrial part model according to a preset bottom height threshold, mark the bottom area patch as a first selected state, and add block support to the bottom area patch based on the first selected state. The line support addition module is used to extract the model edge lines in the industrial part model, and use a first preset condition to judge the angle of the facets on both sides of the model edge line and the points passed by the model edge line, and select the model edge lines that meet the first preset condition as target lines, and add line support to the target lines. The composite support addition module is used to extract the lower surface region in the industrial part model, identify the perforated area in the lower surface region, mark the perforated area as a second selected state, and add composite support to the perforated area based on the second selected state.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.