Contour support structure generation method and device, electronic equipment and storage medium

文档序号:1914079 发布日期:2021-12-03 浏览:37次 中文

阅读说明:本技术 等高支撑结构生成方法、装置、电子设备及存储介质 (Contour support structure generation method and device, electronic equipment and storage medium ) 是由 易瑜 其他发明人请求不公开姓名 于 2021-08-27 设计创作,主要内容包括:本发明属于3D打印模型预处理技术领域,尤其涉及等高支撑结构生成方法、装置、电子设备及存储介质;所述方法包括:加载3D模型;选定目标3D模型;通过人机交互界面选择支撑类功能菜单栏中的等高分布指令模块;通过其人机交互界面为3D模型等高支撑单元的接触点选定一个A点及高度并确定生成模型支撑一次;人机交互界面显示在3D模型表面同一高度上均匀分布生成有一组多个等高支撑单元连接于3D模型和零平面平台之间;将3D模型和多个等高支撑单元的整体三维数据储存于存储单元。本方法能一次操作生成一组多个等高均匀分布等高支撑单元;添加支撑结构更高效。(The invention belongs to the technical field of 3D printing model preprocessing, and particularly relates to a method and a device for generating an equal-height supporting structure, electronic equipment and a storage medium; the method comprises the following steps: loading a 3D model; selecting a target 3D model; selecting equal-height distribution instruction modules in a support function menu bar through a human-computer interaction interface; selecting a point A and a height for a contact point of a 3D model equal-height support unit through a human-computer interaction interface of the model, and determining to generate a model support for one time; the human-computer interaction interface is displayed on the same height of the surface of the 3D model and is uniformly distributed to generate a group of a plurality of equal-height supporting units which are connected between the 3D model and the zero plane platform; and storing the 3D model and the integral three-dimensional data of the plurality of the equal-height supporting units in a storage unit. The method can generate a group of a plurality of equal-height uniformly-distributed equal-height supporting units in one operation; the addition of a support structure is more efficient.)

1. A method of creating a contoured support structure, comprising:

running 3D printing model preprocessing software by the computer and loading the 3D model;

selecting a target 3D model through a human-computer interaction interface of 3D printing model preprocessing software operated by a computer;

selecting equal-height distribution instruction modules in a support function menu bar through a human-computer interaction interface;

selecting a point A and a height for a contact point of a 3D model equal-height support unit through a human-computer interaction interface of the model, and determining to generate a model support for one time;

the human-computer interaction interface is displayed on the same height of the surface of the 3D model and is uniformly distributed to generate a group of a plurality of equal-height supporting units which are connected between the 3D model and the zero plane platform;

and storing the 3D model and the integral three-dimensional data of the plurality of the equal-height supporting units in a storage unit.

2. The method for generating an isometric support structure according to claim 1, wherein the 3D model surface generates a plurality of groups of a plurality of uniformly distributed isometric support units by repeating the operations of selecting heights of multiple points and determining to generate the isometric support units for multiple times; the parameters of the equal-height supporting units among different groups of the equal-height supporting units comprise a same group of parameters or a plurality of groups of different parameters.

3. A method for generating an equal-height supporting structure is characterized by comprising the following steps:

acquiring a triangular mesh model of the 3D model;

selecting a 3D model;

traversing and splicing all triangular meshes forming the 3D model;

selecting a point A on a triangular mesh plane of the 3D model;

a cross-sectional plane perpendicular to the Z axis is taken through the point A;

intersecting the cross section plane with all triangular meshes, and calculating to obtain a slice line segment intersected with the triangular meshes and a line segment endpoint;

sequentially connecting the slice segments of the intersected triangular meshes end to form a closed polygon;

segmenting and taking points on each side of the closed polygon by taking X millimeters as a unit, and acquiring all segmentation points, end points and points A as a first set of sampling points;

appointing a clock direction, taking the point A as an initial anchoring extraction point to successively extract sampling points with a linear distance of L plus delta X millimeters from all the sampling points in the first set in pairs, and taking all the sampling points as a second set of extraction points;

all the extraction points in the second set are used as equal-height supporting unit contact points, and a plurality of equal-height supporting units are led out downwards and connected between the 3D model and the zero plane platform;

and storing the 3D model and the integral three-dimensional data of the plurality of the equal-height supporting units in a storage unit.

4. The method of claim 3, wherein X is a positive integer or decimal; y is also a positive integer or decimal; and the delta X is an error value smaller than X.

5. A method of generating a contoured support structure according to claim 3, wherein said clock direction comprises a counter-clockwise direction or a clockwise direction; the number of the closed polygons is one or more.

6. The method of generating an iso-high support structure according to claim 1 or 3, wherein the iso-high support unit comprises: the support middle column, the support folding column and the folding column contact point are arranged on the support middle column; the folding column contact point is arranged at the tail end of the supporting folding column and is in contact connection with the surface of the 3D model; the root of the support folding column is connected to the top end of the support central column; the bottom end of the support center pillar is connected to the zero plane platform; the support middle column and the support folding column are conical, conical cylindrical, square cylindrical or rhombic cylindrical.

7. The method of generating an iso-high support structure according to claim 1 or 3, wherein the iso-high support unit comprises: a support center column, a support folding column, a folding column contact point, a bottom support platform and/or a truss; the folding column contact point is arranged at the tail end of the supporting folding column and is in contact connection with the surface of the 3D model; the root of the support folding column is connected to the top end of the support central column; the bottom end of the support center pillar is connected with the bottom support platform or the zero plane platform; the bottom supporting platform is connected to the zero plane platform; the truss is connected between the adjacent support center pillars; the support middle column, the support folding column and the truss are in the shape of a cone, a conical column, a cylinder, a square column or a rhombic column; the bottom supporting platform is in the shape of a flat square, a flat diamond, a flat circle or a flat polygon.

8. An apparatus for generating contoured support structures, comprising:

a first model acquisition unit for causing a computer to run 3D printing model preprocessing software and load a 3D model;

the first model determining unit is used for enabling a computer to operate a 3D printing model preprocessing software man-machine interaction interface to select a 3D model;

the function selection unit is used for enabling the human-computer interaction interface to select the equal-height distribution instruction modules in the support function menu bar;

the contact point selection unit is used for enabling a human-computer interaction interface of the contact point selection unit to select a point A and a height for the contact point of the 3D model equal-height support unit and determining to generate a model support for one time;

the support unit generation display unit is used for enabling the human-computer interaction interface to be displayed on the same height of the surface of the 3D model and uniformly distributed to generate a group of a plurality of equal-height support units which are connected between the 3D model and the zero plane platform;

and the storage unit is used for storing the 3D model and the integral three-dimensional data of the plurality of equal-height supporting units in the storage unit.

9. An apparatus for generating contoured support structures, comprising:

a second model obtaining unit, configured to obtain a triangular mesh model of the 3D model;

a second model determination unit for selecting a 3D model;

the triangular mesh acquisition unit is used for traversing and splicing all triangular meshes forming the 3D model;

the grid plane point selection unit is used for selecting a point A on a triangular grid plane of the 3D model;

a cross-section plane determining unit for obtaining a cross-section plane perpendicular to the Z axis through the point A;

the slicing line segment determining unit is used for calculating the intersection of the cross section plane and all the triangular meshes to obtain slicing line segments intersected with the triangular meshes and line segment end points;

the closed polygon determining unit is used for sequentially connecting the slice line segments of the intersected triangular meshes end to form a closed polygon;

a sampling point set acquisition unit, configured to perform segmented point acquisition on each side of the closed polygon by taking X millimeters as a unit, and acquire all segmented points and end points and a point a as a first set of sampling points;

an extraction point set acquisition unit, configured to designate a clock direction, use point a as an initial anchor extraction point, to extract, in pairs, sampling points with a linear distance of L +. DELTA.X mm from all sampling points in the first set in sequence, and use all the sampling points as a second set of extraction points;

the supporting unit generating unit is used for taking all the extraction points in the second set as equal-height supporting unit contact points and leading out a plurality of equal-height supporting units downwards to be connected between the 3D model and the zero plane platform;

and the storage unit is used for storing the 3D model and the integral three-dimensional data of the plurality of equal-height supporting units in the storage unit.

10. An electronic device, comprising: at least one processor; and a memory unit communicatively coupled to the at least one processor; wherein the storage unit stores instructions executable by the at least one processor to enable the at least one processor to perform a method of generating a contoured support structure as claimed in any one of claims 3 to 7.

11. A non-transitory computer readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the contour support structure generation method as defined in any one of claims 3 to 7.

12. A computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the method of generating a contoured support structure according to any one of claims 3 to 7.

Technical Field

The invention belongs to the technical field of 3D printing model preprocessing, and particularly relates to a method and a device for generating an equal-height supporting structure, electronic equipment and a storage medium.

Background

With the rapid Development of mobile application technology, companies provide Software Development Kits (SDKs) to developers of the companies and third parties in order to promote their products and services. Various development services are integrated in the SDK, and development functions can be provided for Application (App) developers. Generally, after the development of the SDK is completed, the packaged SDK is released to a developer platform for downloading and subsequent integration.

At present, when packaging an SDK, considering that part of developers do not need all functions of the SDK, a branch needs to be pulled separately for a specific developer, the functions of the SDK are cut, and a source code is manually compiled in a local environment to generate a library file. Then, whether the package name of the library file is correct, whether a redundant class and a method exist, and whether the library file integrated into the application can be normally used are manually checked. Delivery can only be determined after all checks have passed. The whole packaging process is time-consuming and labor-consuming, and the work before the distribution needs to be repeated every time, so that the efficiency is low. Therefore, it is necessary to provide a new SDK packing method to optimize the above process.

Disclosure of Invention

Aiming at the situation in the background technology, a group of equal-height uniformly-distributed equal-height supporting units are generated at the same height position of the 3D model through one-time operation, the batch addition of local equal-height supporting units at the equal-height position is realized, and the parameters of each group of equal-height supporting units can be set as the same parameters or different parameters. Different heights are uniformly selected for the side part or the bottom part of the model, equal-height support addition is repeatedly carried out, and the support units can be quickly and massively generated and distributed on all support buried points, so that the effect of automatically adding and distributing a plurality of supports at one time is achieved. The technical scheme adopted by the invention is as follows:

according to a first aspect of the present invention, there are provided two methods of forming a contoured support structure, wherein,

method 1, a method for generating a contour support structure, based on a computer operation execution process, comprising the steps of:

running 3D printing model preprocessing software by the computer and loading the 3D model;

selecting a target 3D model through a human-computer interaction interface of 3D printing model preprocessing software operated by a computer;

selecting equal-height distribution instruction modules in a support function menu bar through a human-computer interaction interface;

selecting a point A and a height for a contact point of a 3D model equal-height support unit through a human-computer interaction interface of the model, and determining to generate a model support for one time;

the human-computer interaction interface is displayed on the same height of the surface of the 3D model and is uniformly distributed to generate a group of a plurality of equal-height supporting units which are connected between the 3D model and the zero plane platform;

and storing the 3D model and the integral three-dimensional data of the plurality of the equal-height supporting units in a storage unit.

In the method, as an optimization, the heights of multiple points are selected through repeated operation, the equal-height supporting units are determined to be generated for multiple times, and multiple groups of equal-height supporting units which are uniformly distributed are generated on the surface of the 3D model respectively; the parameters of the equal-height supporting units among different groups of the equal-height supporting units comprise a same group of parameters or a plurality of groups of different parameters.

The method 2 is a method for generating an equal-height support structure, is used for explaining the generation process of equal-height support units, and comprises the following steps of:

acquiring a triangular mesh model of the 3D model;

selecting a 3D model;

traversing and splicing all triangular meshes forming the 3D model;

selecting a point A on a triangular mesh plane of the 3D model;

a cross-sectional plane perpendicular to the Z axis is taken through the point A;

intersecting the cross section plane with all triangular meshes, and calculating to obtain a slice line segment intersected with the triangular meshes and a line segment endpoint;

sequentially connecting the slice segments of the intersected triangular meshes end to form a closed polygon;

segmenting and taking points on each side of the closed polygon by taking X millimeters as a unit, and acquiring all segmentation points, end points and points A as a first set of sampling points;

appointing a clock direction, taking the point A as an initial anchoring extraction point to successively extract sampling points with a linear distance of L plus delta X millimeters from all the sampling points in the first set in pairs, and taking all the sampling points as a second set of extraction points;

all the extraction points in the second set are used as equal-height supporting unit contact points, and a plurality of equal-height supporting units are led out downwards and connected between the 3D model and the zero plane platform;

and storing the 3D model and the integral three-dimensional data of the plurality of the equal-height supporting units in a storage unit.

In the present method, preferably, X is a positive integer or decimal; y is also a positive integer or decimal; and the delta X is an error value smaller than X.

In the method, preferably, the clock direction includes a counterclockwise direction or a clockwise direction; the number of the closed polygons is one or more.

In the method 1 or 2, preferably, the contour support unit includes: the support middle column, the support folding column and the folding column contact point are arranged on the support middle column; the folding column contact point is arranged at the tail end of the supporting folding column and is in contact connection with the surface of the 3D model; the root of the support folding column is connected to the top end of the support central column; the bottom end of the support center pillar is connected to the zero plane platform; the support middle column and the support folding column are conical, conical cylindrical, square cylindrical or rhombic cylindrical.

In the method 1 or 2, preferably, the contour support unit includes: a support center column, a support folding column, a folding column contact point, a bottom support platform and/or a truss; the folding column contact point is arranged at the tail end of the supporting folding column and is in contact connection with the surface of the 3D model; the root of the support folding column is connected to the top end of the support central column; the bottom end of the support center pillar is connected with the bottom support platform or the zero plane platform; the bottom supporting platform is connected to the zero plane platform; the truss is connected between the adjacent support center pillars; the support middle column, the support folding column and the truss are in the shape of a cone, a conical column, a cylinder, a square column or a rhombic column; the bottom supporting platform is in the shape of a flat square, a flat diamond, a flat circle or a flat polygon.

According to a second aspect of the present invention, there are provided two contoured support structure creating apparatuses, wherein,

device 1, an equal-height support structure generating device, characterized by comprising:

a first model acquisition unit for causing a computer to run 3D printing model preprocessing software and load a 3D model;

the first model determining unit is used for enabling a computer to operate a 3D printing model preprocessing software man-machine interaction interface to select a 3D model;

the function selection unit is used for enabling the human-computer interaction interface to select the equal-height distribution instruction modules in the support function menu bar;

the contact point selection unit is used for enabling a human-computer interaction interface of the contact point selection unit to select a point A and a height for the contact point of the 3D model equal-height support unit and determining to generate a model support for one time;

the support unit generation display unit is used for enabling the human-computer interaction interface to be displayed on the same height of the surface of the 3D model and uniformly distributed to generate a group of a plurality of equal-height support units which are connected between the 3D model and the zero plane platform;

and the storage unit is used for storing the 3D model and the integral three-dimensional data of the plurality of equal-height supporting units in the storage unit.

Apparatus 2, an isometric support structure generating apparatus, comprising:

a second model obtaining unit, configured to obtain a triangular mesh model of the 3D model;

a second model determination unit for selecting a 3D model;

the triangular mesh acquisition unit is used for traversing and splicing all triangular meshes forming the 3D model;

the grid plane point selection unit is used for selecting a point A on a triangular grid plane of the 3D model;

a cross-section plane determining unit for obtaining a cross-section plane perpendicular to the Z axis through the point A;

the slicing line segment determining unit is used for calculating the intersection of the cross section plane and all the triangular meshes to obtain slicing line segments intersected with the triangular meshes and line segment end points;

the closed polygon determining unit is used for sequentially connecting the slice line segments of the intersected triangular meshes end to form a closed polygon;

a sampling point set acquisition unit, configured to perform segmented point acquisition on each side of the closed polygon by taking X millimeters as a unit, and acquire all segmented points and end points and a point a as a first set of sampling points;

an extraction point set acquisition unit, configured to designate a clock direction, use point a as an initial anchor extraction point, to extract, in pairs, sampling points with a linear distance of L +. DELTA.X mm from all sampling points in the first set in sequence, and use all the sampling points as a second set of extraction points;

the supporting unit generating unit is used for taking all the extraction points in the second set as equal-height supporting unit contact points and leading out a plurality of equal-height supporting units downwards to be connected between the 3D model and the zero plane platform;

and the storage unit is used for storing the 3D model and the integral three-dimensional data of the plurality of equal-height supporting units in the storage unit.

According to a third aspect of the present invention, there is provided an electronic apparatus comprising:

at least one processor; and

a memory unit communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the storage unit stores instructions executable by the at least one processor to enable the at least one processor to perform a method of generating a contoured support structure as claimed in any one of claims 3 to 6.

According to a fourth aspect of the present invention, there is provided a non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the high support structure generation method as recited in any one of claims 3 to 6.

According to a fifth aspect of the present invention, there is provided a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform a method of generating a high support structure as defined in any one of claims 3 to 6.

Compared with the prior art, the invention has the beneficial effects that:

1. according to the method 1 for generating the equal-height supporting structure, a user can conveniently generate a group of a plurality of equal-height uniformly-distributed equal-height supporting units at the same height position of the 3D model through one-time operation, batch addition of local equal-height supporting units at the equal-height position is achieved, and the operation of adding the equal-height supporting units is faster during pretreatment of the 3D model, so that the workload is reduced, and the efficiency is improved.

2. According to the method for generating the equal-height supporting structure provided by the method 1, multiple points of heights are selected through repeated operation and equal-height supporting units are determined to be generated for multiple times, multiple groups of equal-height supporting units which are uniformly distributed can be generated on the surface of the 3D model respectively, and the quick effect that multiple equal-height supporting units are added to the whole model automatically at one time can be achieved through relatively uniform point selection at different heights.

3. According to the method 1 for generating the equal-height supporting structure, when the equal-height supporting unit parameters among different groups of the equal-height supporting units adopt different parameters, the equal-height supporting unit parameters can be set with parameters of different diameters, different shapes and the like according to different special positions of the 3D model, so that the requirement of strengthening the supporting of the special positions of the 3D model is met.

4. The method for generating the equal-height supporting structure provided by the method 2 of the invention provides a feasible program execution method; segmenting and taking points on each side of the closed polygon by taking X millimeters as a unit, and acquiring all segmentation points, end points and A points as a first set of sampling points; the density of sampling points can be controlled by regulating and controlling the size of X millimeter, when X is small and the sampling points are denser, the sampling points with the linear distance of L plus delta X millimeter are extracted pairwise in the next step

A higher uniformity can be achieved.

5. The method for generating the equal-height supporting structure provided by the method 2 of the invention provides a feasible program execution method; segmenting and taking points on each side of the closed polygon by taking X millimeters as a unit, and acquiring all segmentation points, end points and A points as a first set of sampling points; then appointing a clock direction, taking the point A as an initial anchoring extraction point to successively extract sampling points with a linear distance of L plus delta X millimeters from all the sampling points in the first set in pairs, and taking all the sampling points as a second set of extraction points; the density degree of contact points of the equal-height supporting units and the number of the equal-height supporting units can be controlled by regulating the value of L, when X is larger and the value of L is also larger, the operation amount of a CPU (central processing unit) of the computer can be reduced due to the reduction of the number of sampling points, and the speed and the response speed of adding and generating the equal-height supporting units when the computer runs 3D printing model preprocessing software are improved.

Drawings

FIG. 1 is a flow chart of a method 1 for forming a high-support structure according to an embodiment of the invention;

FIG. 2 is a flow chart of a method 2 for forming a high-support structure according to an embodiment of the invention;

FIG. 3 is a three-dimensional schematic view of a 3D model triangular mesh according to an embodiment of the present invention;

FIG. 4 is a schematic cross-sectional view of a triangular mesh and a cross-sectional plane of a 3D model according to an embodiment of the present invention;

FIG. 5 is a schematic top view of the intersection of the triangular mesh of the 3D model and the cross-sectional plane according to the embodiment of the present invention;

FIG. 6 is a schematic view of a closed polygon of a slicing segment according to an embodiment of the present invention;

FIG. 7 is a schematic diagram illustrating the sectional point fetching of each side of a closed polygon according to an embodiment of the present invention;

FIG. 8 is a schematic diagram of the sampling point uniform extraction of the embodiment of the present invention 1;

FIG. 9 is a schematic diagram of the sampling point sequential extraction according to the embodiment of the present invention 2;

FIG. 10 is a diagram illustrating an embodiment of the present invention in which extraction points are mapped from a two-dimensional coordinate system to a three-dimensional coordinate system;

FIG. 11 is a schematic diagram of an embodiment of the invention illustrating the formation of a high support unit;

FIG. 12 is a schematic diagram of an embodiment of the invention illustrating the formation of a high support unit;

FIG. 13 shows an embodiment 1 of the invention for forming a high support unit;

FIG. 14 shows a schematic view of an embodiment 2 of the invention for forming a high support unit;

FIG. 15 shows an embodiment 3 of the invention for forming a high support unit;

FIG. 16 shows a schematic view of an embodiment 4 of the invention for forming a high support unit;

FIG. 17 is a block diagram of a high support structure forming apparatus 1 according to an embodiment of the present invention;

FIG. 18 is a block diagram of a high support structure forming apparatus 2 according to an embodiment of the present invention;

FIG. 19 is a block diagram of an electronic device 1 for implementing a method for forming a high-support structure according to an embodiment of the invention;

FIG. 20 is a block diagram 2 of an electronic device configured to implement a method for forming a high-support structure according to an embodiment of the invention;

FIG. 21 is a flowchart 1 illustrating a subsequent fabrication process of a method 1 for forming a high-support structure according to an embodiment of the invention;

fig. 22 is a flowchart 2 of a subsequent manufacturing process of the method 1 for forming a high-support structure according to an embodiment of the invention.

Description of reference numerals:

a triangular mesh model 1; a closed polygon 10; a triangular mesh 11; point A12; an endpoint 13; a slicing segment 14; a segmentation point 15; an extraction point 16; a cross-sectional plane 20; the equal-height supporting units 30; a 3D model 100; a support center pillar 301; a support folding post 302; a folded post contact 303; a bottom support platform 304; hidden contour lines 305; a truss 306; a zero plane platform 40; a first model obtaining unit 501; a first model determination unit 502; a function selection unit 503; a contact point selection unit 504; a support unit generation display unit 505; a storage unit 506; a second model acquisition unit 601; a second model determination unit 602; a triangular mesh acquisition unit 603; a grid plane point selection unit 604; a cross-sectional plane determination unit 605; a slice line segment determination unit 606; a closed polygon determination unit 607; a sampling point set acquisition unit 608; an extraction point set acquisition unit 609; a supporting unit generating unit 610; an electronic device 70; a processor 701; a computer program 702; a bus 703; an input unit 704; an output unit 705; a removable storage device 71; a 3D printing device 72; a print model 73; a mouse 7041; a keyboard 7042.

Detailed Description

Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

Fig. 1 is a flowchart of a method 1 for generating a high-support structure according to an embodiment of the present invention. As shown, the computer-based operation performs a process, which includes the steps of:

s01, running 3D printing model preprocessing software by the computer and loading the 3D model;

s02, selecting a target 3D model through a human-computer interaction interface of 3D printing model preprocessing software operated by a computer;

s03, selecting equal-height distribution instruction modules in the support function menu bar through the human-computer interaction interface;

s04, selecting a point A and a height for a contact point of a high-support unit such as a 3D model through a human-computer interaction interface of the model, and determining to generate a model support for one time;

s05, displaying a human-computer interaction interface, uniformly distributing the human-computer interaction interface on the same height of the surface of the 3D model, and generating a group of a plurality of equal-height supporting units which are connected between the 3D model and the zero plane platform;

and S06, storing the 3D model and the whole three-dimensional data of the plurality of equal-height supporting units in a storage unit.

Furthermore, the manufacturing based on subsequent slicing and 3D printing further comprises the subsequent steps of:

s07, slicing the whole three-dimensional data and storing the whole three-dimensional sliced data in a computer storage unit;

and S08, importing the whole three-dimensional slice data into a 3D printing device through a movable storage device for additive printing manufacturing.

In step S04 of the method, selecting heights of multiple points and determining that equal-height supporting units are generated multiple times by repeated operations, and generating multiple groups of equal-height supporting units which are uniformly distributed on the surface of the 3D model; the parameters of the equal-height supporting units among different groups of the equal-height supporting units comprise a same group of parameters or a plurality of groups of different parameters.

Fig. 2 is a flowchart of a method 2 for generating a high-support structure according to an embodiment of the invention. As shown, the generation process of the contour support unit is illustrated, which includes the following steps:

SS01, obtaining a triangular mesh model of the 3D model;

SS02, selecting a 3D model;

SS03, traversing and splicing all triangular meshes forming the 3D model;

SS04, selecting a point A on a triangular mesh plane of the 3D model;

SS05, a cross-sectional plane perpendicular to the Z axis is taken through the point A;

SS06, intersecting the cross section plane with all triangular meshes, and calculating to obtain a slice line segment intersected with the triangular meshes and a line segment end point;

SS07, sequentially connecting the slicing line segments of the intersected triangular meshes end to form a closed polygon;

SS08, segmenting and taking points for each side of the closed polygon by taking X millimeter as a unit, and acquiring all segmentation points, end points and A point as a first set of sampling points;

SS09, appointing a clock direction, taking the point A as an initial anchoring extraction point, sequentially extracting sampling points with a linear distance of L +. DELTA.X mm from all the sampling points in the first set in pairs, and taking all the sampling points as a second set of extraction points;

SS10, taking all the extraction points in the second set as equal-height support unit contact points and leading out a plurality of equal-height support units downwards to be connected between the 3D model and the zero plane platform;

and SS11, storing the 3D model and the integral three-dimensional data of the plurality of the equal altitude support units in a storage unit.

In the method steps S08, S09, X is a positive integer or decimal, and Y is also a positive integer or decimal; and the delta X is an error value smaller than X.

Fig. 3 is a schematic perspective view of a 3D model triangular mesh according to an embodiment of the present invention. As shown in the figure, after the computer runs the 3D printing model preprocessing software and loads the 3D model; a triangular mesh model 1 of the 3D model can be obtained; the surface of the entire 3D model is approximately constituted by a triangular mesh 11; in the method 1, a user randomly selects an A point 12 on the surface of the 3D model by using a mouse; one a point 12 is selected at the plane of the triangular mesh 11 of the 3D model, corresponding to step SS04 in method 2. Specifically, in actual operation, a projection point of the coordinate position of the mouse on the screen on the human-computer interaction interface projected on the plane of the triangular grid 11 is the point a 12.

Fig. 4 is a schematic perspective view of the intersection of the 3D model triangular mesh and the cross-sectional plane according to the embodiment of the present invention. As shown, corresponding to step SS05 of method 2, point a 12 is taken through a cross-sectional plane 20 perpendicular to the Z-axis; the intersection of the cross-section plane 20 with all the triangular meshes 11 in the figure results in a series of slicing segments 14 and end points 13 of the slicing segments on the cross-section plane 20.

Fig. 5 is a schematic top view of the intersection of the triangular mesh of the 3D model and the cross-sectional plane according to the embodiment of the present invention. As shown, in the same way as in fig. 4, corresponding to step SS05 of method 2, point a 12 is taken through a cross-sectional plane 20 perpendicular to the Z-axis; the intersection of the cross-section plane 20 with all the triangular meshes 11 in the figure results in a series of slicing segments 14 and end points 13 of the slicing segments on the cross-section plane 20.

FIG. 6 is a schematic diagram of a closed polygon of a slicing line segment according to an embodiment of the present invention. As shown, all the triangular meshes 11 are intersected by the cross-sectional plane 20 in fig. 4 and 5, the slicing line segments 14 and the end points 13 of the slicing line segments of each triangular mesh; corresponding to step SS07 in method 2, the slicing line segments 14 of each triangular mesh 11 are sequentially connected end to form a closed polygon 10; the position of the a point 12 in the figure falls in the middle of one slice segment 14 because the point taken for the a point 12 in figure 3 falls in the middle of the plane of the triangular mesh 11.

FIG. 7 is a schematic diagram of piecewise fetching points of each side of a closed polygon according to an embodiment of the present invention. As shown in the figure, point segmentation is performed on each side of the closed polygon 10 by taking X millimeters as a unit corresponding to the method 2, all segmentation points 15 and end points 13 are obtained, then the point a 12 is added, and the sampling points are used as a first set; the reason for adding the point a 12 is that the subsequent equal-height support units 30 will be uniformly arranged clockwise or counterclockwise with the point a as the initial contact point.

FIG. 8 is a schematic diagram of sampling point sequential extraction in accordance with an embodiment of the present invention 1. As shown in the figure, corresponding to step SS09 in method 2, a clock direction is assigned to take point a as the initial anchor extraction point to successively extract two sampling points with a linear distance of L +. DELTA.X mm from all the sampling points in the first set, and all the sampling points are taken as the second set of extraction points; in the figure, starting in the counterclockwise direction, sequentially measuring the distance between a point A and each subsequent sampling point from the point A, and when the distance between a certain sampling point and the point A is measured to be less than L millimeters, the point is not an extraction point; when the distance between a certain sampling point and the point A is measured to be larger than or equal to L mm in sequence, the point is changed into an extraction point; then starting with the extraction point, sequentially measuring the distance between the point change and each subsequent sampling point, and when the distance between a certain sampling point and the point is measured to be less than L millimeters, determining that the point is not the extraction point; when the distance between a certain sampling point and the point is measured to be greater than or equal to L mm in sequence, the point is an extraction point; analogizing in sequence until all the extraction points are obtained; it should be noted that, in step SS09, L + Δ X mm is for the case that when the end of the L length is just between two sampling points, the extraction point needs to obtain a sampling point greater than the L length as the extraction point, so Δ X is an error value smaller than X for point correction. This ensures that successive equal-height support units 30 are relatively more uniformly spaced from one another.

FIG. 9 is a schematic diagram of sampling point sequential extraction according to an embodiment of the present invention 2. As shown in the figure, the fine segmentation points 15 are omitted from the figure relative to fig. 8, so the overall schematic diagram is more concise. The circled points in the figure are the locations of the extraction points 16, all of which are taken as a second set, and these points will be taken as the points of contact of the contour support units 30 with the model surface.

FIG. 10 is a diagram illustrating a two-dimensional coordinate system corresponding to a three-dimensional coordinate system of an extraction point according to an embodiment of the present invention. As shown in the figure, the extraction points encircled by each circle in the closed polygon 10 under the XY two-dimensional coordinate system correspond to the XYZ three-dimensional coordinate system, and the extraction points 16 are uniformly distributed on the same hidden contour 305.

Fig. 11 is a schematic diagram of the generation of the high-support unit according to the embodiment of the invention 1. As shown in the figure, after the method 1 or the method 2 is applied to the 3D model 100, and after one a point 12 is taken from the surface of the 3D model 100, in combination with the processes of fig. 3 to fig. 10, 9 extraction points 16 that are uniformly distributed can be finally obtained from the surface of the 3D model 100, and the 9 extraction points 16 are located on the same hidden contour 305; these 9 extraction points 16 are also the contact points of the equal-height support units in step SS10 of method 2; the extraction point 16 is located at the same position as the folding column contact point 303;

on this basis, corresponding to step SS10 in method 2, the 9 extraction points 16 are used as the contact points of the equal-height supporting units and a plurality of equal-height supporting units 30 are led out downwards to be connected between the 3D model 100 and the zero-plane platform 40; in this figure, the contour support unit 30 includes: a support central pillar 301, a support folding pillar 302, and a folding pillar contact point 303; the folding column contact point 303 is arranged at the tail end of the support folding column 302 and is in contact connection with the surface of the 3D model 100; the root of the support folding column 302 is connected with the top end of the support central column 301; the bottom end of the support center pillar 301 is connected to the zero plane platform 40; the support center pillar 301 and the support folding pillar 302 may be in the shape of a cone, a cylinder, a square, or a prism, in which the support center pillar 301 is in the shape of a cylinder and the support folding pillar 302 is in the shape of a cone;

corresponding to step S05 in method 1, the human-computer interface is displayed such that a group of 9 contour supporting units 30 are generated to be uniformly distributed on the same height of the surface of the 3D model 100, i.e. on the same hidden contour 305, and connected between the 3D model 100 and the zero plane platform 40.

Fig. 12 is a schematic diagram of the generation of the high-support unit according to the embodiment of the invention 2. As shown, on the basis of fig. 11. A bottom support platform 304 is added to each of the contour support units 30 in this figure; the bottom end of the support center pillar 301 is connected to the bottom support platform 304; the bottom support platform 304 is connected to the zero plane platform 40; in the figure, the support central pillar 301 is a cylindrical shape, and the support folding pillar 302 is a tapered pillar shape; the bottom supporting platform can be in the shape of a flat square, a flat diamond, a flat circle or a flat polygon; the bottom support platform 40 in this figure is a flat square.

FIG. 13 shows an embodiment 1 of the present invention for forming a high-support unit. As shown, the 3D model 100 in the shape of a bat is taken as an example of the present figure, and a plurality of pillar-bending contact points 303 are uniformly distributed on the hidden contour line 305 in the example; correspondingly, a plurality of equal-height supporting units 30 are led out downwards from the folding column contact points 303 and are connected between the upper sphere of the 3D model 100 and the zero plane platform 40; wherein each of the contour support units 30 includes: a support center pillar 301, a support folding pillar 302, a folding pillar contact point 303 and a bottom support platform 304; the folding column contact point 303 is arranged at the tail end of the support folding column 302 and is in contact connection with the surface of the 3D model 100; the root of the support folding column 302 is connected with the top end of the support central column 301; the bottom end of the support center pillar 301 is connected to the bottom support platform 304; the bottom support platform 304 is connected to the zero plane platform 40; in this figure, the overlapping positions of the bottom supporting platforms 304 are combined into a whole, which is beneficial to enhancing the adhesion between the whole model supporting structure and the 3D printer forming platform and preventing the model from falling off in the 3D printing link. Specifically, the included angle between the support folding column 302 and the support central column 301 may be any angle, but in general practical use, when the included angle is smaller than 90 degrees, printing failure is likely to occur in a 3D printing link, and when necessary, the included angle between the support folding column 302 and the support central column 301 may be 180 degrees, and at this time, the equal-height support unit 30 is generally supported at the lowest point of the 3D model.

Fig. 14 shows an embodiment 2 of the invention for forming a high-support unit. As shown in the figure, on the basis of fig. 13, a truss 306 is added between a plurality of equal-height supporting units 30, and the truss 306 is connected between adjacent supporting center columns 301; the shape is conical, conical cylindrical, square cylindrical or rhombic cylindrical; the truss 306 is used for enhancing the transverse stability of the support center pillar 301, so that the plurality of equal-height support units 30 are transversely connected into a whole, the stability of the whole model support structure is enhanced, and the printing failure of the whole model caused by the fracture of a single support column in a 3D printing link is prevented. The truss 306 in this figure is formed by criss-crossing two cylinders to enhance the connection strength between the post 301 of the post-print model support.

Fig. 15 shows an embodiment 3 of the invention for forming a high-support unit. As shown, the figure takes a 3D model 100 of a square shaped notch as an example, and a plurality of broken pillar contact points 303 are uniformly distributed on a hidden contour line 305 in the example; correspondingly, a plurality of equal-height supporting units 30 are led out downwards from the folding column contact points 303 and are connected between the upper sphere of the 3D model 100 and the zero plane platform 40; wherein each of the contour support units 30 includes: a support center pillar 301, a support folding pillar 302, a folding pillar contact point 303 and a bottom support platform 304; the folding column contact point 303 is arranged at the tail end of the support folding column 302 and is in contact connection with the surface of the 3D model 100; the root of the support folding column 302 is connected with the top end of the support central column 301; the bottom end of the support center pillar 301 is connected to the bottom support platform 304; the bottom support platform 304 is connected to the zero plane platform 40; in this figure, the overlapping positions of the bottom supporting platforms 304 are combined into a whole, which is beneficial to enhancing the adhesion between the whole model supporting structure and the 3D printer forming platform and preventing the model from falling off in the 3D printing link.

The particularity of this figure compared to fig. 13 is that it has two sets of hidden contours 305 at the same height at the lower position of the 3D model 100; this is because the cross-sectional plane 20 cross-sectional model yields two closed polygons; therefore, in combination with the method 2 of the present invention, it can be known that when the 3D model 100 has a plurality of branch features, the number of the closed polygons is plural when a plurality of independent closed plane figures are obtained after the cross-sectional plane 20 intersects with the 3D model 100.

In particular, in this embodiment, since according to method 2, when the cross-sectional plane crosses the position of the hidden contour 305, two closed polygons are generated, and the point a falls on only one of the closed polygons, and therefore the initial anchor extraction point is not specified on the other closed polygon, the contour supporting unit contact point is obtained by combining the method of step SS09 in method 2, where a random segmentation point or end point on the closed polygon is designated as the initial anchor extraction point, or the segmentation point or end point on the closed polygon farthest or closest to the point a is designated as the initial anchor extraction point.

Figure 16 shows an embodiment 4 of the invention for forming a high support unit. As shown in the figure, on the basis of fig. 15, a truss 306 is added between a plurality of equal-height supporting units 30, and the truss 306 is connected between adjacent supporting center columns 301; the shape is conical, conical cylindrical, square cylindrical or rhombic cylindrical; the truss 306 is used for enhancing the transverse stability of the support center pillar 301, so that the plurality of equal-height support units 30 are transversely connected into a whole, the stability of the whole model support structure is enhanced, and the printing failure of the whole model caused by the fracture of a single support column in a 3D printing link is prevented.

Fig. 17 is a structural view of the high-support-structure creating apparatus 1 according to the embodiment of the present invention. As shown in the drawings, an embodiment of the present invention provides an apparatus for generating a contour supporting structure, including:

a first model obtaining unit 501, configured to enable a computer to run 3D printing model preprocessing software and load a 3D model;

a first model determining unit 502, configured to enable a computer to run a 3D printing model preprocessing software human-computer interaction interface to select a 3D model;

the function selection unit 503 is configured to enable the human-computer interaction interface to select an equal-height distribution instruction module in the support function menu bar;

a contact point selecting unit 504, configured to select a point a and a height for a human-computer interaction interface of the contact point of the high-support unit such as the 3D model, and determine that the generated model supports once;

a support unit generation display unit 505, configured to enable a human-computer interaction interface to be displayed on the same height of the surface of the 3D model, and a group of multiple equal-height support units are generated and connected between the 3D model and the zero plane platform;

and the storage unit 506 is used for storing the 3D model and the integral three-dimensional data of the plurality of equal-height supporting units in the storage unit.

Fig. 18 is a structural view of the high-support-structure creating apparatus 2 according to the embodiment of the present invention. As shown in the drawings, an embodiment of the present invention provides an apparatus for generating a contour supporting structure, including:

a second model obtaining unit 601, configured to obtain a triangular mesh model of the 3D model;

a second model determination unit 602 for selecting a 3D model;

a triangular mesh obtaining unit 603, configured to traverse and splice all triangular meshes that form the 3D model;

a mesh plane point selecting unit 604, configured to select a point a on a triangular mesh plane of the 3D model;

a cross-sectional plane determining unit 605 for taking a cross-sectional plane perpendicular to the Z axis through the point a;

a slice segment determining unit 606, configured to perform intersection calculation on the cross-section plane and all triangular meshes to obtain slice segments and segment endpoints that intersect the triangular meshes;

a closed polygon determining unit 607, configured to sequentially connect the slice segments of the intersecting triangular meshes end to form a closed polygon;

a sampling point set obtaining unit 608, configured to perform segmented point taking on each side of the closed polygon by taking X millimeters as a unit, and obtain all segmented points and end points and a point a as a first set of sampling points;

an extraction point set acquisition unit 609, configured to designate a clock direction, where the point a is used as an initial anchor extraction point, to successively extract, two sampling points with a linear distance of L +. DELTA.X mm from all sampling points in the first set, and use all the sampling points as a second set of extraction points;

the support unit generating unit 610 is used for taking all the extraction points in the second set as equal-height support unit contact points and leading out a plurality of equal-height support units downwards to be connected between the 3D model and the zero plane platform;

and the storage unit 506 is used for storing the 3D model and the integral three-dimensional data of the plurality of equal-height supporting units in the storage unit.

Fig. 19 is a block diagram 1 of an electronic device for implementing a method for generating a high-support structure according to an embodiment of the invention. As shown, an electronic device 70 includes a processor 701 and a memory unit 506; the storage unit 506 stores instructions executable by the processor 701, and the instructions are executed by the processor 701 to enable the processor 701 to execute the contour support structure generation method according to method 2 of the present invention.

Fig. 20 is a block diagram 2 of an electronic device for implementing a method for generating a high-support structure according to an embodiment of the invention. In this figure, the electronic device 70 is exemplified by a processor 701. As shown, an electronic device 70 includes: a storage unit 506, a processor 701, a bus 703, an input unit 704, an output unit 705, and interfaces for connecting the respective components, including a high-speed interface and a low-speed interface. The various components are interconnected using a bus 703 and may be mounted on a common motherboard or in other manners as desired. The processor 703 may process instructions for execution within the electronic device, including instructions to display graphical information for a GUI either stored in the storage unit 506 or on an external output unit 705 (such as a display device coupled to an interface); including storage in the storage unit 506 or an external input unit 704 (such as a mouse, keyboard, touch screen, etc. command input device coupled to the interface). In other embodiments, multiple processors 701 and/or multiple buses 703 may be used, along with multiple memory units 506, if desired. Also, multiple electronic devices 70 may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system).

The storage unit 506 is a non-transitory computer readable storage medium provided by the fourth aspect of the present invention. The storage unit 506 stores instructions executable by at least one processor, so that the at least one processor performs the method for generating a high-support structure according to method 2 of the present invention. The non-transitory, non-transitory computer-readable storage medium of the present invention stores computer instructions for causing a computer to perform the contour support structure generation method provided by the method 2 of the present invention.

The storage unit 506, which is a non-transitory, non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the contour support structure generation method in the embodiment of the present invention (e.g., the first model acquisition unit 501, the first model determination unit 502, the function selection unit 503, the contact point selection unit 504 shown in fig. 17; the second model acquisition unit 601, the second model determination unit 602, the mesh plane selection unit 604 shown in fig. 18). The processor 701 executes various functional applications of the server and data processing by executing the non-transitory software programs, instructions and modules stored in the storage unit 506, that is, implements the contour support structure generation method in the embodiment corresponding to fig. 2.

The storage unit 506 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the electronic device generated by the support structure, and the like. In addition, the storage unit 506 may include a high-speed random access storage unit, and may further include a non-transitory storage unit, such as at least one magnetic disk storage unit, a flash memory device, or other non-transitory solid state storage unit. In some embodiments, the storage unit 506 optionally includes storage units remotely located from the processor 701, which may be connected to the support structure generated electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The input unit 704 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device generated by the support structure, such as an input unit of a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or the like.

The output devices 705 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.

Specifically, step S02, step S03, step S04 in the method 1 of the present invention are combined; it is necessary to select a 3D model, or select a contour distribution command module, or select an a point through the input unit 704.

Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input unit, and at least one output device.

These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. 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, storage units, 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 used to provide machine instructions and/or data to a programmable processor.

To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.

The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present invention can be achieved.

Fig. 21 is a flowchart 1 illustrating a subsequent manufacturing process of the method 1 for forming a high-support structure according to an embodiment of the invention. As shown in the figure, the electronic device 70 in the figure is a computer, and the output device 705 thereof adopts a computer display as the human-computer interaction display interface of the method 1 or 2 of the present invention; the input device 704 uses a mouse 7041 and a keyboard 7042 as input devices for human-computer interaction commands.

As can be seen from step S07 in fig. 1, the entire three-dimensional data is sliced and stored in the computer storage unit; it is also necessary to import the whole three-dimensional slice data to the 3D printing device 72 for additive printing manufacturing through the removable storage device 71, through step S08. In the figure, the removable storage device 71 mainly stores the whole three-dimensional slice data, and the 3D printing device 72 performs additive printing manufacturing to generate the printing model 73 after importing the whole three-dimensional slice data in the removable storage device 71.

Fig. 22 is a flowchart 2 of a subsequent manufacturing process of the method 1 for forming a high-support structure according to an embodiment of the invention. As shown in the figure, the electronic device 70 in the figure is a computer, and the output device 705 thereof adopts a computer display as the human-computer interaction display interface of the method 1 or 2 of the present invention; the input device 704 uses a mouse 7041 and a keyboard 7042 as input devices for human-computer interaction commands.

As can be seen from step S07 in fig. 1, the entire three-dimensional data is sliced and stored in the computer storage unit; it is also necessary to import the whole three-dimensional slice data to the 3D printing device 72 for additive printing manufacturing through the removable storage device 71, through step S08. The movable storage device 71 mainly stores the whole three-dimensional slice data, and the 3D printing device 72 performs additive printing and manufacturing to generate a printing model 73 after importing the whole three-dimensional slice data in the movable storage device 71; in connection with the embodiment of the present invention of fig. 13-16, the printing model 73 is made up of contoured support elements 30 and a 3D model 100.

The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

30页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种纳米颗粒/高分子材料复合功能器件、其制备和应用

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!