Model cavity detection display method and device, electronic equipment and storage medium

By detecting and displaying the cavity contours of 3D models, the problems of inconvenient operation and inaccurate positioning in existing technologies have been solved, achieving efficient cavity detection and hole addition, and improving the production efficiency and success rate of 3D printing.

CN116811252BActive Publication Date: 2025-12-16SHENZHEN CBD TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310283634.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-15
Publication Date
2025-12-16
Estimated Expiration
2043-03-15

AI Technical Summary

Technical Problem

Existing 3D printing model preprocessing software is inconvenient to operate and inaccurate in position when detecting and displaying model cavities, resulting in low production efficiency and failing to effectively avoid printing failures in suspended positions.

Method used

By traversing the triangular mesh of the 3D model, extracting cross-sectional planes at layer height intervals, calculating the coordinates of intersection points, grouping and connecting them to form closed polygons, highlighting the target set, reconstructing the cavity outline, and rendering the model's triangular mesh as semi-transparent, users can add holes and model supports.

Benefits of technology

It enables intuitive detection and display of model cavities, improves the accuracy of user positioning in a three-dimensional view, reduces operation steps, increases production efficiency and printing success rate, and reduces the impact of negative pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116811252B_ABST
    Figure CN116811252B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of 3D printing technology, and provides a model cavity detection and display method and device, electronic equipment and storage medium, wherein the method comprises: traversing all triangular meshes of a 3D model; taking the triangular meshes of the 3D model at a plurality of cross-section planes with a layer height interval of H millimeters and calculating intersection point coordinates; grouping and connecting the intersection points on each layered cross-section plane according to a mesh adjacent relationship to form M i closed polygons; obtaining all M i -N closed polygons remaining after removing the outermost closed polygons on each cross-section plane as a target set; highlighting the closed polygons in the target set; stacking and reconstructing the highlighted closed polygons according to the cross-section plane sequence and the layer height interval as a cavity profile; and rendering and displaying the coloring of the triangular mesh plane of the 3D model as semi-transparent; and the application can automatically detect and display the cavity of the 3D model.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of 3D printing, in particular to a model cavity detection and display method and device, electronic equipment and a storage medium. BACKGROUND

[0002] In the existing light-curing forming technology, when performing 3D printing model preprocessing, for a model with a cavity, a hole needs to be added at the cavity part of the model. On the one hand, the hole enables the light-sensitive resin solution in the cavity to flow out during the printing forming process; on the other hand, for a light-curing printer with a resin tank and a bottom film, the hole can also reduce the negative pressure at the cavity position when the model is separated from the bottom film. Secondly, for a completely hidden model cavity, the user also needs to know that there is a cavity inside the model, so as to avoid the printing failure caused by the lack of model support at the suspended position.

[0003] However, the existing 3D printing model preprocessing software can only enable the user to observe the hole position and quantity inside the model according to the preview slice of the two-dimensional view in the vertical Z-axis direction in the slice preview state during model preprocessing, and the hole needs to be added by switching the function page back to the three-dimensional view, so there is no direct cavity position reference, which not only is inconvenient to use, but also causes the hole position to be inaccurate, resulting in low production efficiency. SUMMARY

[0004] The embodiments of the present application provide a model cavity detection and display method and device, electronic equipment and a storage medium, which aims to detect and display the model cavity during model preprocessing, so that the user can intuitively refer to the cavity position, on the one hand, to assist the user to accurately add a hole, and on the other hand, for a position with a larger hole, to also assist the user to add a model support.

[0005] The first aspect of the embodiments of the present application provides a model cavity detection and display method, comprising:

[0006] traversing and splicing all the triangular meshes of the 3D model;

[0007] intercepting the triangular meshes of the 3D model at a plurality of cross-section planes with a layer height interval of H millimeters and calculating the intersection point coordinates;

[0008] grouping and connecting the intersection points on each layered cross-section plane according to the grid adjacent relationship to form Mi closed polygons;

[0009] obtaining all the Mi-N closed polygons remaining after removing the outermost closed polygons on each cross-section plane as a target set;

[0010] highlighting the closed polygons in the target set;

[0011] The highlighted closed polygons are reconstructed as a cavity profile in order of cross-section planes and layer height intervals;

[0012] The coloring rendering of the 3D model triangular mesh plane is displayed as semi-transparent.

[0013] Optionally, the H is a positive integer or a decimal number; the Mi and N are also positive integers or decimal numbers.

[0014] Optionally, the highlighting of the closed polygons in the target set includes highlighting, darkening color, or coloring.

[0015] Further, the obtaining of the remaining total Mi-N closed polygons as the target set after removing the outermost closed polygons on each cross-section plane includes:

[0016] Obtaining the Mi closed polygons obtained by cutting the triangular mesh of each layered cross-section plane;

[0017] Selecting N outermost closed polygons from the Mi closed polygons on each layered cross-section plane according to the inclusion, intersection, and separation relationship between the closed polygons;

[0018] Removing the N outermost closed polygons and retaining the remaining total Mi-N closed polygons as the target set.

[0019] Further, the model cavity detection display method further includes:

[0020] Adding a hole to the 3D model according to the highlighted position;

[0021] Storing the overall three-dimensional data of the 3D model and the hole in a computer storage unit.

[0022] Further, the model cavity detection display method further includes:

[0023] Slicing the overall three-dimensional data and obtaining slice image data;

[0024] Slicing the 3D model and importing the slice image data into a 3D printing device for 3D exposure printing.

[0025] A second aspect of the embodiments of the present application provides a model cavity detection display device, including:

[0026] A model mesh traversal module for traversing all triangular meshes of the 3D model;

[0027] A cross-section intersection module for cutting the triangular mesh of the 3D model with layer height intervals of H millimeters and calculating intersection coordinates;

[0028] a closed polygon grouping module, configured to group and connect the intersection points on each layered cross section plane according to the grid adjacency relationship to form Mi closed polygons;

[0029] a target polygon obtaining module, configured to obtain all the Mi-N closed polygons remaining after removing the outermost closed polygons on each cross section plane as a target set;

[0030] a target polygon highlighting module, configured to highlight the closed polygons in the target set;

[0031] a cavity profile reconstructing module, configured to reconstruct the highlighted closed polygons according to the cross section sequence and layer height interval to stack and reconstruct a cavity profile;

[0032] a 3D model grid semi-transparent display module, configured to display the color rendering of the 3D model triangular grid plane as semi-transparent.

[0033] Further, the target polygon obtaining module comprises:

[0034] a closed polygon obtaining module, configured to obtain Mi closed polygons obtained by intercepting the triangular grid on each layered cross section plane;

[0035] an outermost closed polygon selecting module, configured to select N outermost closed polygons from the Mi closed polygons on each layered cross section plane according to the containing, intersecting and separating relationship between the closed polygons;

[0036] a target polygon screening module, configured to remove the N outermost closed polygons and retain all the Mi-N closed polygons remaining as a target set.

[0037] Further, the model cavity detection and display device further comprises:

[0038] a hole adding module, configured to add a hole to the 3D model according to the highlighted position;

[0039] a three-dimensional data storage module, configured to store the overall three-dimensional data of the 3D model and the hole in a computer storage unit.

[0040] Further, the model cavity detection and display device further comprises:

[0041] a slice processing module, configured to perform slice processing on the overall three-dimensional data and obtain slice image data;

[0042] a 3D printing device, configured to perform slice processing on the 3D model and import the slice image data into the 3D printing device for 3D exposure printing.

[0043] A third aspect of the embodiment of the application provides an electronic device, comprising:

[0044] at least one processor; and a storage unit connected to the at least one processor in communication;

[0045] The storage unit stores instructions executable by the at least one processor, and the at least one processor implements the steps of the model cavity detection and display method according to any one of the above embodiments when executing the instructions.

[0046] The fourth aspect of the embodiments of the present application provides a non-transitory computer-readable storage medium storing a computer program, and the computer program is executed by a processor to implement the steps of the model cavity detection and display method according to any one of the above embodiments.

[0047] The fifth aspect of the embodiments of the present application provides a computer program product, which includes computer instructions, and the computer instructions are executed by a computer to implement the steps of the model cavity detection and display method according to any one of the above embodiments.

[0048] Compared with the prior art, the beneficial effects of the present application are:

[0049] 1. The model cavity detection and display method provided by the first aspect of the embodiments of the present application can detect the cavity profile inside the model in the model preprocessing stage, and especially after making the model shell semi-transparent, the cavity profile inside the model can be highlighted, color rendered, color deepened, and other highlighted, which facilitates the user to intuitively observe and refer to the accurate position of the cavity.

[0050] 2. The model cavity detection and display method provided by the first aspect of the embodiments of the present application can detect the cavity profile inside the model in the model preprocessing stage, which facilitates the user to intuitively observe and refer to the accurate position of the cavity under the three-dimensional perspective. Compared with the existing method of observing the cavity position and number by sliding the progress bar in the two-dimensional perspective through the slice preview, the method of observing and displaying the cavity is more direct and accurate, the operation steps are fewer, and the efficiency is higher.

[0051] 3. The model cavity detection and display method provided by the first aspect of the embodiments of the present application can detect the cavity profile inside the model in the model preprocessing stage, which facilitates the user to intuitively observe and refer to the accurate position of the cavity, and further facilitates the user to add holes to the cavity position, thereby improving the production efficiency when processing multiple models.

[0052] 4. The model cavity detection and display method provided by the first aspect of the embodiments of the present application can detect the cavity profile inside the model in the model preprocessing stage, so as to facilitate the user to intuitively observe and refer to the accurate position of the cavity, and then facilitate the user to add a hole at the cavity position, so as to enable the model to be printed and formed, and the resin solution can be discharged through the hole, which is also beneficial to reduce the negative pressure when the cavity position is printed and formed and demolded.

[0053] 5. The model cavity detection and display method provided by the first aspect of the embodiments of the present application can detect the cavity profile inside the model in the model preprocessing stage, so as to facilitate the user to intuitively observe and refer to the accurate position of the cavity, and when the model cavity is large, the user can be conveniently reminded to add a model support at the cavity position, so as to improve the model printing success rate. BRIEF DESCRIPTION OF DRAWINGS

[0054] Figure 1A Flowchart 1 of the model cavity detection and display method of the embodiments of the present application;

[0055] Figure 1B Flowchart 2 of the model cavity detection and display method of the embodiments of the present application;

[0056] Figure 2A Structure diagram 1 of the model cavity detection and display device of the embodiments of the present application;

[0057] Figure 2B Structure diagram 2 of the model cavity detection and display device of the embodiments of the present application;

[0058] Figure 3A Process schematic diagram of the model cavity detection and display method of the embodiments of the present application;

[0059] Figure 4A C is a schematic diagram of the screening process under the target polygon relative relationship described in the present application;

[0060] Figure 4D F is a schematic diagram of the screening process under the target polygon containing relationship described in the present application;

[0061] Figure 5A B is a schematic diagram of the effect of the model cavity detection and display of the embodiments of the present application;

[0062] Figure 6A B is a schematic diagram of the effect of the model cavity detection and display of the embodiments of the present application;

[0063] Figure 7A Structure block diagram of an electronic device for implementing the model cavity detection and display method of the embodiments of the present application;

[0064] Figure 7B Schematic diagram of the preprocessing and slicing of a 3D model by the electronic device of the embodiments of the present application;

[0065] Figure 8A Structure block diagram of 3D printing equipment for realizing the cavity detection and display method of the model in the application;

[0066] Figure 8B Schematic diagram of importing the image data obtained by slicing after implementing the method in the application into the 3D printing equipment.

[0067] Label explanation:

[0068] Electronic device 7; computer program 70; processor 71; storage unit 72; 3D printing equipment 8; controller 81; memory 82; printing control program 80; mobile storage device 9;

[0069] Model 301; cavity 302; intersection 303; outermost closed polygon 304; target polygon 305; cross section plane 306; platform 307; semi-transparent triangular mesh plane 501; reconstructed cavity profile 502; hole mesh structure 503; hole 504;

[0070] Model mesh traversal module 100; cross section intersection module 150; closed polygon grouping module 200; target polygon acquisition module 250; closed polygon acquisition module 252; outermost closed polygon selection model 254; target polygon screening module 256; target polygon highlighting module 300; cavity profile reconstruction module 350; 3D model mesh semi-transparent display module 400; hole adding module 450; three-dimensional data storage module 500; slicing processing module 550; 3D printing equipment 600. DETAILED DESCRIPTION

[0071] In order to make the purpose, characteristics and advantages of the application more obvious and easy to understand, the technical solutions in the embodiments of the application will be described clearly and completely below in combination with the drawings in the embodiments of the application. Obviously, the embodiments described below are only some of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the application.

[0072] It should be understood that when used in the specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should also be understood that the terms used in the specification of the application are only for the purpose of describing specific embodiments and are not intended to limit the application.

[0073] Figure 1AThe flow chart 1 of the model cavity detection display method of the embodiments of the present application. As shown, the model cavity detection display method of the present application comprises the following basic steps:

[0074] S100, traversing all triangular meshes of the 3D model spliced to form a 3D model;

[0075] S150, taking the triangular meshes of the 3D model at a plurality of cross-section planes with a layer height interval of H millimeters and calculating the intersection point coordinates;

[0076] S200, grouping and connecting the intersection points on each layered cross-section plane according to the grid adjacent relationship to form Mi closed polygons;

[0077] S250, obtaining all Mi-N closed polygons remaining after removing the outermost closed polygons on each cross-section plane as a target set;

[0078] S300, highlighting the closed polygons in the target set;

[0079] S350, stacking and reconstructing the highlighted closed polygons into a cavity profile according to the cross-section plane sequence and layer height interval;

[0080] S400, color rendering and displaying the triangular mesh plane of the 3D model as semi-transparent.

[0081] In addition, the following optional steps are further included in addition to the above steps:

[0082] S450, adding a hole to the 3D model according to the highlighted position;

[0083] S500, storing the overall three-dimensional data of the 3D model and the hole in the computer storage unit.

[0084] In addition, the following optional steps are further included in addition to the above steps:

[0085] S550, slicing the overall three-dimensional data and obtaining slice image data;

[0086] S600, slicing the 3D model and importing the slice image data into a 3D printing device for 3D exposure printing.

[0087] Specifically, H is a positive integer or a decimal number; Mi and N are also positive integers or decimal numbers, where i corresponds to the layer sequence of each layer cross-section.

[0088] Specifically, the highlighting of the closed polygons in the target set in the step S300 includes highlighting, deepening the color, or color display.

[0089] Figure 1BFlow chart 2 of the model cavity detection display method of the embodiments of the present application. As shown in the figure, the model cavity detection display method of the present application, in Figure 1A On the basis of step S250, the model cavity detection display method further includes the following steps:

[0090] S252, obtaining Mi closed polygons from the triangular mesh of each layered cross section;

[0091] S254, selecting N outermost closed polygons from the Mi closed polygons on each layered cross section according to the inclusion, intersection and separation relationship between the closed polygons;

[0092] S256, removing the N outermost closed polygons and retaining the remaining total Mi-N closed polygons as the target set.

[0093] Figure 2A Structure diagram 1 of the model cavity detection display device of the embodiments of the present application. As shown in the figure, the model cavity detection display device of the present application includes:

[0094] The model mesh traversal module 100 is configured to traverse all triangular meshes of the 3D model;

[0095] The cross section intersection module 150 is configured to take the triangular meshes of the 3D model at a plurality of cross section planes with a layer height interval of H millimeters and calculate the intersection point coordinates;

[0096] The closed polygon grouping module 200 is configured to group and connect the intersection points on each layered cross section according to the grid adjacency relationship to form Mi closed polygons;

[0097] The target polygon acquisition module 250 is configured to obtain the total Mi-N closed polygons remaining after removing the outermost closed polygons on each cross section as the target set;

[0098] The target polygon highlighting module 300 is configured to highlight the closed polygons in the target set;

[0099] The cavity contour reconstruction module 350 is configured to stack and reconstruct the highlighted closed polygons into a cavity contour according to the cross section order and layer height interval;

[0100] The 3D model mesh semi-transparent display module 400 is configured to render and display the coloring of the triangular mesh plane of the 3D model as semi-transparent.

[0101] In addition, the model cavity detection display device of the present application further includes the following optional modules:

[0102] A hole adding module 450 is configured to add holes to the 3D model according to the highlighted position;

[0103] A three-dimensional data storage module 500 is configured to store the overall three-dimensional data of the 3D model and the holes in a computer storage unit.

[0104] In addition, the following optional modules are further included:

[0105] A slicing processing module 550 is configured to slice the overall three-dimensional data and obtain slice image data;

[0106] A 3D printing device 600 is configured to slice the 3D model and import the slice image data into the 3D printing device for 3D exposure printing.

[0107] Figure 2B FIG. 2 is a structural diagram of a model cavity detection and display device according to an embodiment of the present application. As shown in the figure, the target polygon obtaining module 250 in the model cavity detection and display device according to the present application includes:

[0108] A closed polygon obtaining module 252 is configured to obtain Mi closed polygons obtained by slicing the triangular mesh on each layer cross-section plane;

[0109] An outermost closed polygon selection model 254 is configured to select N outermost closed polygons from the Mi closed polygons on each layer cross-section plane according to the inclusion, intersection and separation relationship between the closed polygons;

[0110] A target polygon screening module 256 is configured to remove the N outermost closed polygons and retain the remaining Mi-N closed polygons as a target set.

[0111] Figure 3A FIG. 4 is a process schematic diagram of a model cavity detection and display method according to an embodiment of the present application. As shown in the figure, Figure 3A In FIG. 4, a pentagonal column model 301 is exemplified, and the model 301 has a pentagonal column cavity 302;

[0112] Figure 3B In FIG. 4, the triangular mesh of the model 301 is sliced by a plurality of cross-section planes 306 with a layer height interval of H1 millimeters, and the lines of the triangular mesh are omitted in the figure;

[0113] Figure 3C In FIG. 4, after the model 301 is sliced by the plurality of cross-section planes 306, the outermost closed polygon 304 and the target polygon 305 located in the inner circle can be obtained according to the intersection points 303 obtained by slicing the triangular mesh on each layer cross-section plane 306;

[0114] Figure 3DAn example is shown in Fig. 1, which is a schematic diagram of a cavity model in a three-dimensional space according to the present application. As shown in the figure, Figure 1A In step S250, all the Mi-N closed polygons remaining after removing the outermost closed polygon on each cross section plane are obtained as the target set; after removing the outermost closed polygon 304, all the target polygons 305 in the inner circle can be obtained;

[0115] Figure 3E An example is shown in Fig. 1, which is a schematic diagram of a cavity model in a three-dimensional space according to the present application. As shown in the figure, Figure 1A In step S200 and step S350, the closed polygons in the target set are highlighted; and the highlighted closed polygons are stacked and reconstructed as a cavity profile according to the cross section plane sequence and layer height interval; by stacking and reconstructing the target polygons 305 on each cross section plane 306 as a cavity profile according to the sequence and layer height interval,

[0116] Figure 3F An example is shown in Fig. 1, which is a schematic diagram of a cavity model in a three-dimensional space according to the present application. As shown in the figure, Figure 3E Based on the above, the interval of the cross section plane 305 is reduced from H1 mm to H2 mm, so that the number of target polygons 305 is larger and more dense, and therefore a sufficient number of target polygons 305 can form an intuitive cavity profile.

[0117] Figure 4A -C is a schematic diagram of the screening process of the target polygons according to the present application. As shown in the figure, Figure 4A An example of a U-shaped air pipe model in a three-dimensional space is shown in Fig. 1, which is a schematic diagram of a cavity model in a three-dimensional space according to the present application. As shown in the figure, Figure 1A In step S150 and step S200, the U-shaped air pipe model is cut by cross section planes L01-L04 to obtain closed polygons in a two-dimensional plane;

[0118] Figure 4B An example is shown in Fig. 1, which is a schematic diagram of a cavity model in a three-dimensional space according to the present application. As shown in the figure, Figure 4A The four groups of closed polygons obtained on the cross section planes L01-L04 in the above example; in particular, the closed polygons are replaced by circles in this figure for illustration; on the cross section plane L01, a group of inner and outer contained closed polygons are obtained; on the cross section planes L02-L04, two groups of inner and outer contained closed polygons are obtained respectively; the dashed line patterns in the figure illustrate the closed polygons obtained by cutting the cavity grid by the cross section plane, and the solid line patterns illustrate the closed polygons obtained by cutting the model shell grid by the cross section plane;

[0119] Figure 4C An example is shown in Fig. 1, which is a schematic diagram of a cavity model in a three-dimensional space according to the present application. As shown in the figure, Figure 4B Based on the four groups of closed polygons in the above example, according to Figure 1A In step S250, by using the exclusion method, after removing the outer circle solid line closed polygon, the inner circle dashed line closed polygon is obtained, which is equivalent to Figure 3E or Figure 3F The target polygons 305 shown in the above example; and according toFigure 1A In step S350, these inner closed polygons can be used to reconstruct the cavity to be displayed by stacking them according to the cross-sectional plane order and layer height interval.

[0120] Figure 4D -F is a schematic diagram illustrating the filtering process under the target polygon inclusion relationship described in this application. As shown in the figure... Figure 4D The example demonstrates a three-dimensional double-hollow cylinder model, based on... Figure 1A In steps S150 and S200, the double-hollow cylindrical model is cut off with the cross-sectional planes L01-L04, which can obtain a closed polygon on the two-dimensional plane.

[0121] Figure 4E The example is by Figure 4D The four sets of closed polygons obtained on the cross-sectional planes L01-L04 are shown in the figure. In particular, circles are used to represent closed polygons for illustration. On the cross-sectional planes L01-L04, a set of closed polygons containing both inner and outer polygons are obtained respectively. The dashed lines in the figure illustrate the closed polygons obtained by cutting the cavity mesh with the cross-sectional plane, and the solid lines illustrate the closed polygons obtained by cutting the outer shell mesh of the model with the cross-sectional plane.

[0122] Figure 4F The example is in Figure 4E Based on the four sets of closed polygons, according to Figure 1A In step S250, using the process of elimination, after removing the outer solid-line closed polygons, the remaining inner dashed-line closed polygons are obtained. These remaining inner closed polygons are equivalent to... Figure 3E or Figure 3F The example target polygon is 305; then according to Figure 1A In step S350, these inner closed polygons can be used to reconstruct the cavity to be displayed by stacking them according to the cross-sectional plane order and layer height interval.

[0123] In particular, when dealing with different models, there may be multiple outer polygons; for example, comparing the above... Figure 4B and Figure 4E The obtained closed polygon can be seen in... Figure 4B On any cross-sectional plane between L02 and L04, there exist two sets of disjoint closed polygons, and each set of closed polygons contains two polygons that are contained within each other; while... Figure 4E In any cross-sectional plane of L01-L04, an outer polygon simultaneously contains two inner polygons; however, regardless of the model being considered, such as Figure 1A In step S250, or more specifically as Figure 1BIn steps S252-S256, the method of removing the outermost closed polygon and retaining the remaining inner polygon can quickly obtain the target polygon for reconstructing the cavity feature, and thus the model data algorithm processing of the computer is more convenient and fast.

[0124] Figure 5A -B is the effect diagram of the model cavity detection and display method of the embodiment of the present application. As shown in the figure, Figure 5A The software applying the model cavity detection and display method of the present application is loaded into a model 301 and placed on a platform 307; the model has a non-through cavity 302.

[0125] Figure 5B The effect of the model cavity detection and display method of the present application after the software applying the model cavity detection and display method of the present application performs cavity detection and display on the model 301; the surface of the semi-transparent triangular mesh plane 501 of the model in the figure is displayed as semi-transparent after being rendered and colored; the reconstructed cavity contour 502 in the figure is highlighted by deepening the color display. Therefore, through the model cavity detection and display method of the present application, the user can very conveniently and intuitively see the position and shape of the internal cavity of the model when the model cavity detection and display is performed on the model.

[0126] Figure 6A -B is the effect diagram of the model cavity detection and display method of the embodiment of the present application. As shown in the figure, Figure 6A The software applying the model cavity detection and display method of the present application is loaded into a model 301 and placed on a platform 307; the model has a non-through cavity 302. Figure 5B The hole mesh structure 503 is generated by directly adding a hole to the position of the reconstructed cavity contour 502 on the basis of

[0127] Figure 6B The effect diagram of the model 301, the cavity 302, and the hole 504 after the entity display is restored after the cavity detection and display function is turned off on the basis of Figure 6A

[0128] Figure 7A To realize the electronic device structure of the model cavity detection and display method of the embodiment of the present application. As shown in the figure, the electronic device 7 in the figure takes a processing unit 71 as an example. As shown in the figure, an electronic device 7 includes a processing unit 71 and a storage unit 72; the storage unit 72 stores a computer program 70 or instructions that can be executed by the processing unit 71, and the computer program 70 or instructions is executed by the processing unit 71, so that the processing unit 71 can execute steps S100-S400 in Figure 1A , or execute steps S252-S256 in Figure 1B , or execute steps S100-S400 in Figure 1A ​steps S100-S550 in FIG. 1.

[0129] The storage unit 72 is a non-transitory computer readable storage medium according to a third aspect of the present disclosure. The storage unit 72 stores instructions executable by the at least one processing unit 71 for causing the at least one processing unit 71 to perform the steps S100-S400 in FIG. 1, or the steps S252-S256 in FIG. 2, or the steps S100-S550 in FIG. 5. Figure 1A Figure 1B The storage unit 72 is a non-transitory computer readable storage medium according to a third aspect of the present disclosure. The storage unit 72 stores instructions executable by the at least one processing unit 71 for causing the at least one processing unit 71 to perform the steps S100-S400 in FIG. 1, or the steps S252-S256 in FIG. 2, or the steps S100-S550 in FIG. 5. Figure 1A

[0130] The storage unit 72 is a non-transitory computer readable storage medium according to a third aspect of the present disclosure. The storage unit 72 stores instructions executable by the at least one processing unit 71 for causing the at least one processing unit 71 to perform the steps S100-S400 in FIG. 1, or the steps S252-S256 in FIG. 2, or the steps S100-S550 in FIG. 5. Figure 1A Figure 1B The storage unit 72 is a non-transitory computer readable storage medium according to a third aspect of the present disclosure. The storage unit 72 stores instructions executable by the at least one processing unit 71 for causing the at least one processing unit 71 to perform the steps S100-S400 in FIG. 1, or the steps S252-S256 in FIG. 2, or the steps S100-S550 in FIG. 5. Figure 1A The storage unit 72 is a non-transitory computer readable storage medium according to a third aspect of the present disclosure. The storage unit 72 stores instructions executable by the at least one processing unit 71 for causing the at least one processing unit 71 to perform the steps S100-S400 in FIG. 1, or the steps S252-S256 in FIG. 2, or the steps S100-S550 in FIG. 5. Figure 1A Figure 1B The steps involving the computer and the processor in the above-described embodiments.

[0131] The storage unit 72 can include a program storage area and a data storage area. The program storage area can store an operating system and application programs required by at least one function. The data storage area can store data created by the electronic device 7 during use, etc. In addition, the storage unit 72 can include a high-speed random access memory module and can also include a non-transitory storage module, such as at least one disk storage module, a flash memory device, or other non-transitory solid-state storage module. In some embodiments, the storage unit 72 can optionally include storage modules that are remotely located with respect to the processing unit 71, and these remote storage modules can be connected to the electronic device generated by the support structure through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0132] ​​​​Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0133] These computer programs (also known as programs, software, software applications or code) include machine instructions for the programmable processor, and can be implemented in a high-level procedural and / or object-oriented programming language, and / or in assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus and / or device (e.g., magnetic discs, optical disks, memory modules, programmable logic devices (PLDs)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal that a machine is able to read.

[0134] It should be understood that the processes shown in the figures above can be re-ordered, additional or fewer steps can be used, and the steps can be performed in parallel, in series, or in different orders, without departing from the scope of the technology disclosed herein.

[0135] Figure 7B A schematic diagram of the pre-processing and slicing of a 3D model by an electronic device according to an embodiment of the present application is shown in Figure 4. As shown, a user runs 3D slicing software on an electronic device 7 to perform cavity detection and display on a model having a cavity using the method for displaying a model cavity according to the first aspect of the present application, and then performs steps S450-S550 to add a hole to the 3D model according to the highlighted position, and stores the overall 3D data of the 3D model and the hole in a computer storage unit. Then, the overall 3D data is sliced and slice image data is obtained in step S550.

[0136] Figure 8AA structure block diagram of a 3D printing device for implementing the cavity detection and display method of the model according to the present application is shown in the figure. As shown in the figure, a 3D printing device 8 comprises a controller 81 and a memory 82; wherein the memory 82 stores a printing control program 80 or instructions executable by the controller 81, and the printing control program 80 or instructions is executed by the controller 81 to enable the controller 81 to execute the steps S600 in the method according to the present application, and further obtain the overall printed part of the model with added holes. Figure 1A

[0137] Figure 8B A schematic diagram of importing the image data obtained by slicing the model according to the method of the present application into a 3D printing device is shown in the figure. As shown in the figure, a user uses a mobile storage device 9 to import the model slice image data and / or printing parameters obtained by processing the model with holes by the electronic device 7 into the 3D printing device 8 for 3D exposure printing, and further obtain the overall printed part of the model with added holes.

[0138] The above detailed description does not constitute a limitation on the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.​

Claims

1. A model cavity detection display method characterized by, The method comprises: traversing and splicing all the triangular meshes of the 3D model; taking the triangular meshes of the 3D model at a plurality of cross-section planes with a layer height interval of H millimeters and calculating the coordinates of the intersection points; The intersection points on each layered cross section plane are grouped and connected in a grid adjacent relationship to form M i closed polygons; M = number of closed polygons in the target set i -N closed polygons as the target set; highlighting the closed polygons in the target set; stacking and reconstructing the highlighted closed polygons into a cavity profile according to the cross-section plane sequence and the layer height interval; and color rendering and semi-transparent display of the 3D model triangular mesh plane.

2. The model cavity detection display method according to claim 1, wherein said obtaining the remaining total M of the outermost closed polygons removed on each cross-sectional plane i -N closed polygons as a target set, comprising: M closed polygons are obtained by taking cross sections of the triangular mesh at each layering cross plane i ; M i N outermost closed polygons are selected according to the containing, intersecting and separating relationship between the closed polygons on each layered cross section. Remove N outermost closed polygons and keep the rest all M i - N closed polygons as the target set.

3. The model cavity detection display method according to claim 1, wherein The method further comprises: adding a hole to the 3D model according to the highlighted position; and storing the overall three-dimensional data of the 3D model and the hole in a computer storage unit.

4. The model cavity detection display method according to claim 1, wherein The method further comprises: slicing the overall three-dimensional data and obtaining slice image data; and slicing the 3D model and importing the slice image data into a 3D printing device for 3D exposure printing.

5. A model cavity detection display device, characterized by, The method comprises: a model mesh traversal module for traversing and splicing all the triangular meshes of the 3D model; a cross-section intersection module for taking the triangular meshes of the 3D model at a plurality of cross-section planes with a layer height interval of H millimeters and calculating the coordinates of the intersection points; a closed polygon grouping module for grouping the intersection points on each hierarchical cross section plane in a grid adjacency relationship to form M i closed polygons; The target polygon obtaining module is configured to obtain all M remaining after removing the outermost closed polygon on each cross section plane i N closed polygons as the target set; a target polygon highlighting module for highlighting the closed polygons in the target set; a cavity profile reconstruction module for stacking and reconstructing the highlighted closed polygons into a cavity profile according to the cross-section plane sequence and the layer height interval; and a 3D model mesh semi-transparent display module for color rendering and semi-transparent display of the 3D model triangular mesh plane.

6. The model cavity detection display apparatus according to claim 5, wherein The target polygon acquisition module comprises: The closed polygon obtaining module is configured to obtain M i closed polygons obtained by intercepting the triangular mesh by each hierarchical cross section plane. The outermost circle closed polygon selection model is used to select N outermost circle closed polygons from M i closed polygons on each layer cross section plane according to the inclusion, intersection and separation relationship among the closed polygons. a target polygon filtering module for removing N outermost closed polygons and keeping the remaining M i N closed polygons as the target set.

7. The model cavity detection display apparatus according to claim 5, wherein The method further comprises: a hole adding module for adding a hole to the 3D model according to the highlighted position; and a three-dimensional data storage module for storing the overall three-dimensional data of the 3D model and the hole in a computer storage unit.

8. The model cavity detection display apparatus according to claim 5, wherein The method further comprises: a slicing module for slicing the overall three-dimensional data and obtaining slice image data; and a 3D printing device for slicing the 3D model and importing the slice image data into the 3D printing device for 3D exposure printing.

9. An electronic device, comprising: The method comprises: at least one processor; and a storage unit in communication connection with the at least one processor; wherein the storage unit stores instructions executable by the at least one processor, and the at least one processor executes the instructions to implement the steps of the model cavity detection and display method according to any one of claims 1 to 4.

10. A non-transitory computer-readable storage medium, comprising: The non-transient computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the model cavity detection and display method according to any one of claims 1 to 4.

11. A computer program product, characterised in that, The computer program product comprises computer instructions, and the computer instructions are executed by a computer to implement the steps of the model cavity detection and display method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Data processing method and photo-shaping device

    JP1995276506A

  • Data output regulation device for molding three-dimensional object

    JP2018075754A