CN116811253A - Model edge support generation method and device, electronic equipment and storage medium - Google Patents

Model edge support generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116811253A
CN116811253A CN202310707253.1A CN202310707253A CN116811253A CN 116811253 A CN116811253 A CN 116811253A CN 202310707253 A CN202310707253 A CN 202310707253A CN 116811253 A CN116811253 A CN 116811253A
Authority
CN
China
Prior art keywords
model
plane
module
zero
square
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310707253.1A
Other languages
Chinese (zh)
Inventor
谢信福
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen CBD Technology Co Ltd
Original Assignee
Shenzhen CBD Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen CBD Technology Co Ltd filed Critical Shenzhen CBD Technology Co Ltd
Priority to CN202310707253.1A priority Critical patent/CN116811253A/en
Publication of CN116811253A publication Critical patent/CN116811253A/en
Pending legal-status Critical Current

Links

Abstract

The application belongs to the technical field of 3D printing model preprocessing, and particularly relates to a model edge support generation method, a device, electronic equipment and a storage medium; the method comprises the following steps: traversing the model; obtaining a minimum model frame of a model; aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform; raising the model by H mm; dividing preset square grids on a zero plane platform; obtaining the maximum vertical projection range of the bottom plane of the model on a zero plane platform; acquiring all preset squares in a projection range as squares to be selected; acquiring a central point of a boundary square; sequentially extracting boundary square central points with the linear interval distance of L+DeltaX mm from each other in pairs and determining the central points as extraction points; straight lines are led out vertically upwards from all the extraction points and are intersected with the bottom of the model to serve as target points; the supporting units are led out downwards from each target point and are connected between the bottom edge of the model and the zero plane platform; three-dimensional data is stored. The method can automatically generate the supporting units in batches at the bottom edge of the model.

Description

Model edge support generation method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of 3D printing model preprocessing, and particularly relates to a model edge support generation method, a device, electronic equipment and a storage medium.
Background
In the existing photo-curing molding technology, a support unit is required to be added to a model in the stage of preprocessing the model by a computer; in particular, in order to promote the printing quality of the bottom edge of the model and to ensure successful printing of the entire model, it is also necessary to make the bottom edge of the model generate a sufficient number of support units; at present, the mode of adding supports by a model is generally adopted, wherein the supports are added manually one by one or are added automatically in a whole;
if the supporting unit is added to the edge of the bottom of the model, the mode of manually and gradually taking points is adopted, so that the density uniformity of the supporting unit is difficult to control, and the efficiency is low; if the mode of integrally and automatically adding supports is adopted, in order to enable the support units to be generated on the bottom edge of the model more, the overall density of the support units needs to be improved on an XY plane, and the disadvantage is that on one hand, the operation amount is increased, the support generation process is slow, the program is seriously crashed due to insufficient calculation force, and on the other hand, too dense support units can increase excessive workload for support cutting links after printing is completed.
Disclosure of Invention
The embodiment of the application provides a model edge support generation method, a device, electronic equipment and a storage medium, which aim to enable the model bottom edge to automatically generate support units in batches in a targeted manner in the model preprocessing process, correspondingly, a sparse number of support units are automatically added to the model bottom non-edge position on the basis, so that the printing quality of the model bottom edge can be improved, the printing success of the model can be ensured, the total number of support units at the model bottom can be reduced, the calculation force requirement is further reduced, and the workload of supporting and cutting links is reduced.
A first aspect of an embodiment of the present application provides a method for generating a model edge support, including:
traversing and splicing all triangular grids forming a model;
obtaining a minimum model frame of a model;
aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
raising the model by H mm;
dividing preset square grids with side length of Y millimeters on a zero plane platform by taking an origin as a center;
selecting a plane at the bottom of the model and acquiring the maximum vertical projection range of the plane on a zero-plane platform;
acquiring all preset squares with the center points of the preset squares in the maximum vertical projection range as squares to be selected;
obtaining boundary square grids and center points of the boundary square grids according to all the square grids to be selected;
designating a clock direction, sequentially extracting boundary square central points with the distance L+DeltaX mm between every two straight lines by taking the central point of a boundary square as an initial extraction point, and determining the boundary square central points as extraction points;
the intersection of the straight line and the bottom plane of the model is vertically and upwardly led out from each extraction point, and the intersection point is taken as a target point;
the supporting units are led out downwards from each target point and are connected between the edge of the bottom plane of the model and the zero plane platform;
and storing the whole three-dimensional data of the model and the supporting unit in a storage unit.
Further, selecting a plane at the bottom of the model and obtaining the maximum vertical projection range of the plane on the zero plane platform includes:
selecting a triangular grid on the bottom plane of the model;
acquiring triangular grids which are the same as the normal vector of the selected triangular grid and are continuously co-sided as a similar triangular grid group;
and obtaining the maximum vertical projection range of each triangular grid endpoint and line segment in the triangular grid group on the zero plane platform.
Further, the model edge support generating method further comprises the following steps:
slicing the whole three-dimensional data and obtaining slice image data;
and importing the slice image data into 3D printing equipment for exposure printing.
Optionally, the assigning a clock direction to sequentially extract the central points of the boundary squares with the distance between the straight lines of l+Δx mm by two pairs with the central point of one boundary square as the initial extraction point, and determining the central point as the extraction point includes:
sequentially extracting boundary square center points with the linear interval distance of L+DeltaX mm from each other by taking the center points of the boundary square with the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values as initial extraction points in the anticlockwise direction, and determining the boundary square center points as extraction points;
or sequentially extracting boundary square lattice center points with the linear interval distance of L+DeltaX mm from each other by taking the center points of the boundary square lattices with the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values as initial extraction points in the clockwise direction, and determining the boundary square lattice center points as the extraction points.
Optionally, the H, Y, L is a positive integer or decimal; the Δx is an error value less than L.
A second aspect of an embodiment of the present application provides a model edge support generating apparatus, including:
the model grid traversing module is used for traversing and splicing all triangular grids forming the model;
the minimum model frame acquisition module is used for acquiring a minimum model frame of the model;
the model alignment module is used for aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
the model lifting module is used for lifting the model by H millimeters;
the preset square dividing module is used for dividing preset square with the side length of Y millimeters on the zero plane platform by taking the origin as the center;
the model plane selecting and projecting module is used for selecting a plane at the bottom of the model and acquiring the maximum vertical projection range of the plane on the zero plane platform;
the grid to be selected acquisition module is used for acquiring all preset grids with the preset grid center points in the maximum vertical projection range as the grid to be selected;
the boundary square grid acquisition module is used for acquiring boundary square grids and boundary square grid center points according to all the square grids to be selected;
the extraction point determining module is used for designating a clock direction, sequentially extracting boundary square central points with the linear interval distance of L+DeltaX mm by every two with the central point of one boundary square as an initial extraction point, and determining the central point as the extraction point;
the target point determining module is used for vertically and upwards leading out the intersection of the straight line and the bottom plane of the model from each extraction point and taking the intersection point as a target point;
the edge support generating module is used for leading out a support unit downwards from each target point to be connected between the edge of the bottom plane of the model and the zero plane platform;
and the three-dimensional data storage module is used for storing the whole three-dimensional data of the model and the supporting unit in the storage unit.
Further, the model plane selecting and projecting module includes:
the triangular mesh selecting module is used for selecting one triangular mesh on the bottom plane of the model;
the similar triangular mesh group acquisition module is used for acquiring triangular meshes which are the same as the normal vector of the selected triangular mesh and are continuously co-edge-shared as a similar triangular mesh group;
and the maximum vertical projection range acquisition module is used for acquiring the maximum vertical projection range of each triangular grid endpoint and line segment in the triangular grid-like group on the zero plane platform.
Further, the model edge support generating device further comprises:
the slice processing module is used for carrying out slice processing on the whole three-dimensional data and obtaining slice image data;
and the 3D printing device is used for importing the slice image data to the 3D printing device for exposure printing.
A third aspect of an embodiment of the present application provides an electronic device, including:
at least one processor; and a memory unit communicatively coupled to the at least one processor;
the storage module stores instructions executable by the at least one processor, and the at least one processor implements any of the steps of the model edge support generation method when executing the instructions.
A fourth aspect of the embodiments of the present application provides a non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of any of the model edge support generation methods described above.
A fifth aspect of an embodiment of the present application provides a computer program product comprising computer instructions which, when executed by a computer, implement the steps of the model edge support generation method of any of the above.
Compared with the prior art, the application has the beneficial effects that:
1. according to the model edge support generation method provided by the embodiment of the application, the support units can be generated in batches aiming at the edge position of the model bottom plane, and compared with the mode of manually adding the support units to the model bottom edge, the model edge support generation method is faster and more convenient to use and has higher efficiency.
2. According to the model edge support generation method provided by the embodiment of the application, the support units can be generated in batches aiming at the edge positions of the model bottom plane, and on the basis, the whole support unit generation method is used for automatically adding a sparse number of support units to the non-edge positions of the model bottom, so that the whole support density of the model can be reduced, the demand on calculation force is reduced, and the workload of supporting and cutting links is reduced.
3. According to the method for generating the model edge support, which is provided by the embodiment of the application, the support can be added to the flat plane at the bottom of the model, and the support can be added to the plane with the holes at the bottom of the model, so that the method is high in adaptability.
4. According to the model edge support generation method provided by the first aspect of the embodiment of the application, the user can conveniently control the degree of the density of the support unit by adjusting the side length of the preset square and the linear interval distance of the extraction points, and the user can conveniently set the support unit for use.
Drawings
FIG. 1 is a flow chart of a model edge support generation method according to an embodiment of the present application;
FIG. 2 is a block diagram of a model edge support generating apparatus according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of model plane selection and projection according to an embodiment of the present application;
FIG. 4 is a block diagram of model plane selection and projection in accordance with an embodiment of the present application;
FIGS. 5-10 are schematic views of a portion of a model edge support generation method according to an embodiment of the present application;
FIGS. 11-12 are effect examples 1 of model edge generation support of an embodiment of the present application;
FIGS. 13-14 are effect example 2 of model edge generation support of an embodiment of the present application;
FIG. 15 is a block diagram of an electronic device implementing a model edge support generation method according to an embodiment of the present application;
FIG. 16 is a schematic diagram of an electronic device pre-processing a slice of a model in accordance with an embodiment of the present application;
FIG. 17 is a block diagram of a 3D printing device implementing the method of the present application for model edge support generation;
fig. 18 is a schematic diagram of the image data obtained by slicing after the implementation of the method of the present application being imported into a 3D printing apparatus.
Description of the reference numerals:
an electronic device 7; a computer program 70; a processor 71; a storage unit 72; a 3D printing device 8; a controller 81; a memory 82; a print control program 80; a mobile storage device 9;
a model 401; triangular mesh 402; zero plane platform 403; presetting a square 404; a maximum vertical projection range 405; a range of tiles to be selected 406; grid center point 407; a boundary square range 408; extracting points 409; a target point 411; a top support column 412; a main support column 413; a bottom raft 414; reinforcing posts 415;
a model mesh traversal module 100; a minimum model frame acquisition module 150; a model alignment module 200; a model elevation module 250; a preset square dividing module 300; a model plane selection and projection module 350; triangle mesh selection module 352; a triangulated mesh group acquisition module 354; a maximum vertical projection range acquisition module 356; a to-be-selected pane acquisition module 400; a border cell acquisition module 450; an extraction point determination module 500; a target point determination module 550; an edge support generation module 600; a three-dimensional data storage module 650; the slice processing module 700.
Detailed Description
In order to make the objects, features and advantages of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Fig. 1 is a flowchart of a model edge support generation method according to an embodiment of the present application. As shown in the figure, the model edge support generation method of the application comprises the following basic steps:
s100, traversing and splicing all triangular grids forming a model;
s150, acquiring a minimum model frame of a model;
s200, aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
s250, lifting the model by H millimeters;
s300, dividing preset square grids with side length of Y millimeters on a zero plane platform by taking an origin as the center;
s350, selecting a plane at the bottom of the model and acquiring the maximum vertical projection range of the plane on a zero-plane platform;
s400, acquiring all preset squares with the center points of the preset squares in the maximum vertical projection range as squares to be selected;
s450, obtaining boundary square grids and boundary square grid center points according to all the square grids to be selected;
s500, designating a clock direction, sequentially extracting boundary square central points with the distance between every two straight lines of L+DeltaX millimeters by taking the central point of one boundary square as an initial extraction point, and determining the central point as an extraction point;
s550, vertically and upwards leading out the intersection of the straight line and the bottom plane of the model from each extraction point, and taking the intersection point as a target point;
s600, leading out supporting units downwards from each target point to be connected between the edge of the bottom plane of the model and the zero plane platform;
s650, storing the whole three-dimensional data of the model and the supporting unit in a storage unit.
In addition, the method further comprises the following optional steps in addition to the steps:
s700, slicing the whole three-dimensional data and obtaining slice image data;
s750, importing the slice image data into 3D printing equipment for exposure printing.
Specifically, H, Y, L is a positive integer or decimal; the Δx is an error value less than L.
Specifically, in the step S500, the step of designating a central point of a boundary square in a clock direction with a central point of a boundary square as a start extraction point, sequentially extracting the central points of the boundary square with a linear interval distance of l+Δx mm, and determining the central points as extraction points includes:
sequentially extracting boundary square center points with the linear interval distance of L+DeltaX mm from each other by taking the center points of the boundary square with the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values as initial extraction points in the anticlockwise direction, and determining the boundary square center points as extraction points;
or sequentially extracting boundary square lattice center points with the linear interval distance of L+DeltaX mm from each other by taking the center points of the boundary square lattices with the minimum/maximum X coordinate values and/or the minimum/maximum Y coordinate values as initial extraction points in the clockwise direction, and determining the boundary square lattice center points as the extraction points.
Fig. 2 is a block diagram of a model edge support generating apparatus according to an embodiment of the present application. As shown in the drawing, the model edge support generating apparatus of the present application includes:
the model grid traversing module 100 is used for traversing and splicing all triangular grids forming a model;
a minimum model frame acquisition module 150, configured to acquire a minimum model frame of a model;
a model alignment module 200 for aligning to the origin of the zero-plane platform with the bottom center point of the minimum model frame;
a model elevation module 250 for elevating the model by H millimeters;
the preset square dividing module 300 is used for dividing preset square with a side length of Y millimeters on the zero plane platform by taking an origin as a center;
the model plane selecting and projecting module 350 is configured to select a plane at the bottom of the model and obtain a maximum vertical projection range of the plane on the zero-plane platform;
the to-be-selected square grid obtaining module 400 is configured to obtain all preset square grids with the preset square grid center points within the maximum vertical projection range as to-be-selected square grids;
a border cell obtaining module 450, configured to obtain border cells and border cell center points according to all the to-be-selected cells;
the extraction point determining module 500 is configured to designate a clock direction, sequentially extract the central points of the boundary squares with the distance between the straight lines of l+Δx millimeters from each other by taking the central point of one boundary square as a starting extraction point, and determine the central point as an extraction point;
a target point determination module 550 for vertically and upwardly extracting the intersection of the straight line and the bottom plane of the model from each extraction point and taking the intersection point as a target point;
the edge support generating module 600 is used for leading out the support units downwards from each target point to be connected between the edge of the bottom plane of the model and the zero plane platform;
the three-dimensional data storage module 650 is configured to store the model and the overall three-dimensional data of the support unit in the storage unit.
In addition, the method further comprises the following optional modules:
the slice processing module 700 is configured to perform slice processing on the overall three-dimensional data and obtain slice image data;
and the 3D printing device 8 is used for importing the slice image data to the 3D printing device for exposure printing.
Specifically, H, Y, L is a positive integer or decimal; the Δx is an error value less than L.
FIG. 3 is a flow chart of a model plane selection and projection method according to an embodiment of the present application. As shown in the figure, step S350 in fig. 1, selecting a plane at the bottom of the model and obtaining the maximum vertical projection range of the plane on the zero plane platform, includes the following steps:
s352, selecting a triangular mesh from the bottom plane of the model;
s354, acquiring triangular grids which are the same as the normal vector of the selected triangular grid and are continuously co-sided as a similar triangular grid group;
s356, obtaining the maximum vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh group on the zero plane platform.
Fig. 4 is a block diagram of a model plane selection and projection module according to an embodiment of the present application. As shown, the model plane selection and projection module 350 in fig. 2 includes:
the triangular mesh selecting module 352 is configured to select a triangular mesh in a bottom plane of the model;
a triangulated mesh group acquisition module 354 for acquiring a triangulated mesh which is the same as the normal vector of the selected triangulated mesh and continuously co-operates as a triangulated mesh group;
the maximum vertical projection range obtaining module 356 is configured to obtain a maximum vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh-like group on the zero plane platform.
Fig. 5-10 are schematic views of a part of the process of the model edge support generating method according to the embodiment of the application. The process of steps 300-550 in the method shown in fig. 1 is specifically illustrated. As shown, fig. 5 illustrates a model 401, which is made up of a plurality of triangular meshes 402; also illustrated is a zero plane platform 403 divided by a plurality of pre-set squares 404 of side length Y mm; according to step 352 in fig. 3, a triangular mesh 402 is selected on the bottom plane of the model 401, specifically, after the point a is selected, a punctiform filling schematic triangular mesh M1 where the point a is located is obtained, and the normal vector of the triangular mesh is n1; according to step 354 in fig. 3, triangular meshes which are identical to the normal vector of the selected triangular mesh and are continuously co-sided are acquired as a group of similar triangular meshes; because the other triangular grid M2 and the triangular grid M1 are positioned on the same plane, the normal vectors n1 and n2 are co-oriented, and the triangular grid M2 and the triangular grid M1 are co-edged, so after the point A is selected, all triangular grids with the same normal vector and continuous co-edges are obtained, and a similar triangular grid group is formed; then according to step 356 in fig. 3, the maximum vertical projection range of each triangular mesh endpoint and line segment in the triangular mesh-like group on the zero plane platform is obtained; the maximum vertical projection range 405 of the triangular meshes M1 and M2 on the zero-plane platform 403 can be obtained as shown in the figure.
Fig. 6 illustrates step S400 in fig. 1 on the basis of fig. 5, where all preset squares having the center points of the preset squares in the maximum vertical projection range are obtained as candidate squares; as shown, the outer boundary of the maximum vertical projection range 405 just passes through the grid center points 407 of the series of preset grids 404, that is, the grid center points 407 are on the boundary of the outer boundary of the maximum vertical projection range 405, so that the grid center points 407 are also in the maximum vertical projection range 405; the area of all preset tiles 404 occupied by the maximum vertical projection range 405 is the required to obtain the range of the candidate tiles 406.
Fig. 7 is a view of fig. 6, after the range of squares to be selected 406 is obtained, next, a range of boundary squares 408 is required to be obtained according to each square to be selected in the range of squares to be selected 406; specifically, a plurality of boundary squares with closed paths under a grid pattern can be obtained according to a freeman chain code algorithm in computer graphics.
Fig. 8, based on fig. 7, acquires the grid center points 407 of the respective boundary grids in the boundary grid range 408; step S450 in fig. 1 can thus be implemented to acquire the border cell and the border cell center point from all the candidate cells.
Fig. 9, based on fig. 8, selects, as the initial extraction points, the upper left corner border center point having the largest Y coordinate value and the smallest X coordinate value for each border center point 407, and extracts the border center points 407 one by one in order of two at a linear distance of l+Δx mm and clockwise to form extraction points 409. Specifically, in the present figure, since the linear distance L is just twice the square side length Y, Δx is zero.
Fig. 10, on the basis of fig. 9, according to step S550 in fig. 1, straight lines are drawn vertically upward from the respective extraction points to intersect with the bottom triangular mesh plane of the model and the intersection points are taken as target points, that is, the respective target points 411 on the model 401 are obtained; depending on these target points 411, the downward leading support unit can be connected between the edge of the bottom plane of the model 401 and the zero-plane platform 403.
Accordingly, as can be seen from the above-described schematic processes of fig. 5 to 10, the number and density of the supporting units at the bottom edge of the model can be adjusted by adjusting the value of the side length Y of the preset square lattice and the value of the linear interval distance L.
Fig. 11-12 are effect examples 1 of model edge generation support of an embodiment of the present application. As shown, the mold 401 illustrated in FIG. 11 is a complete square with a bottom plane, and using the method of FIG. 1 of the present application, it is possible to create uniformly distributed top support columns 412 at the bottom edge of the mold 401.
Fig. 12 shows, on the basis of fig. 11, the complete bottom edge support of the mould, the upper ends of the top support columns 412 being connected to the bottom edge of the mould, the lower ends of the top support columns 412 being connected to the main support columns 413, the bottom of the main support columns 413 being connected to the bottom raft 414, the bottom raft 414 resting on a zero-plane platform, where the zero-plane platform is omitted, and reinforcement columns 415 being also interconnected between the respective main support columns 413 for reinforcing the overall support unit frame and strength.
Fig. 13-14 are effect examples 2 of model edge support generation in accordance with an embodiment of the present application. As shown in the figure, the mold 401 illustrated in fig. 13 is a square block with a hollow bottom plane and through square holes, and the method shown in fig. 1 of the present application can also be used to simultaneously generate uniformly distributed top support columns 412 on the outer edge and the inner edge of the bottom of the mold 401.
Fig. 14 shows the complete bottom edge support of the mould on the basis of fig. 13, with the top support columns 412 connected to the bottom edge of the mould at their upper ends and the top support columns 412 connected to the main support columns 413 at their lower ends, with the bottom of the main support columns 413 connected to the bottom raft 414, the bottom raft 414 resting on a zero-plane platform, where the zero-plane platform is omitted and the reinforcement columns 415 are not created in this figure.
In particular, comparing the effects of the inner and outer edge support generation at the bottom of the model in fig. 14 and 12, it can be deduced that the model edge support generation method of the present application has better applicability to different types of models.
Fig. 15 is a block diagram of an electronic device for implementing a model edge support generating method according to an embodiment of the present application. As shown, the electronic device 7 in this figure is exemplified as having one processing unit 71. As shown, an electronic device 7 includes a processing unit 71 and a storage unit 72; the storage unit 72 stores therein a computer program 70 or instructions executable by the processing unit 71, the computer program 70 or instructions being executable by the processing unit 71 to enable the processing unit 71 to perform steps S100-S650 as in fig. 1, or to perform steps S100-S700 as in fig. 1, or to perform steps S352-S356 as in fig. 3.
The storage unit 72 is a third aspect of the present application, and a non-transitory computer readable storage medium is provided. The storage unit 72 stores instructions executable by the at least one processing unit 71, so that the at least one processing unit 71 implements steps S100-S650 in fig. 1, steps S100-S700 in fig. 1, or steps S352-S356 in fig. 3 when executed.
The storage unit 72 is used as a non-transitory computer readable storage medium for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as implementing program instructions/modules corresponding to steps S100-S650 in fig. 1, or implementing program instructions/modules corresponding to steps S100-S700 in fig. 1, or implementing program instructions/modules corresponding to steps S352-S356 in fig. 3, when executed. The processing unit 71 executes various functional applications of the server and data processing, i.e. the implementation of the steps involving the computer and the processor in the embodiments corresponding to fig. 1 or 3 described above, by running the non-transitory computer program 70, instructions and modules stored in the storage unit 72.
The storage unit 72 may include a storage program area that may store an operating system, at least one application program required for a function, and a storage data area; the storage data area may store data created when the electronic device 7 uses the method, and the like. In addition, the memory unit 72 may include a high-speed random access memory module, and may also include a non-transitory memory module, such as at least one disk memory module, flash memory device, or other non-transitory solid-state memory module. In some embodiments, the storage unit 72 may optionally include storage modules remotely located relative to the processing unit 71 that may be connected to the support structure-generated electronics via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input unit, and at least one output device.
These computer programs 70 (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may 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 used to provide machine instructions and/or data to a programmable processor.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the disclosed embodiments are achieved, and are not limited herein.
Fig. 16 is a schematic diagram of an electronic device preprocessing a slice of a model according to an embodiment of the present application. As shown in the figure, a user runs 3D slicing software through electronic equipment 7 to generate edge supports on the bottom edge of a model by using the method for generating model edge supports provided by the first aspect of the embodiment of the application; and then step S700 is performed to slice the whole three-dimensional data and obtain slice image data.
Fig. 17 is a block diagram of a 3D printing apparatus implementing the method of the present application for model edge support generation. As shown, a 3D printing apparatus 8 includes a controller 81 and a memory 82; the memory 82 stores therein a print control program 80 or instructions executable by the controller 81, the print control program 80 or instructions being executed by the controller 81 to enable the controller 81 to perform step S750 as in fig. 1, thereby obtaining an overall print of the model for generating the edge support.
Fig. 18 is a schematic diagram of the image data obtained by slicing after the implementation of the method of the present application being imported into a 3D printing apparatus. As shown in the figure, the user uses the mobile storage device 9 to import the whole slice image data and/or the printing parameters of the model with the generated edge support, which are obtained by processing by the electronic device 7, into the 3D printing device 8 for 3D exposure printing, so as to obtain a whole printed piece of the model with the generated edge support.
The above embodiments do not limit the scope of the present application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application should be included in the scope of the present application.

Claims (10)

1. A model edge support generation method, characterized by comprising:
traversing and splicing all triangular grids forming a model;
obtaining a minimum model frame of a model;
aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
raising the model by H mm;
dividing preset square grids with side length of Y millimeters on a zero plane platform by taking an origin as a center;
selecting a plane at the bottom of the model and acquiring the maximum vertical projection range of the plane on a zero-plane platform;
acquiring all preset squares with the center points of the preset squares in the maximum vertical projection range as squares to be selected;
obtaining boundary square grids and center points of the boundary square grids according to all the square grids to be selected;
designating a clock direction, sequentially extracting boundary square central points with the distance L+DeltaX mm between every two straight lines by taking the central point of a boundary square as an initial extraction point, and determining the boundary square central points as extraction points;
the intersection of the straight line and the bottom plane of the model is vertically and upwardly led out from each extraction point, and the intersection point is taken as a target point;
the supporting units are led out downwards from each target point and are connected between the edge of the bottom plane of the model and the zero plane platform;
and storing the whole three-dimensional data of the model and the supporting unit in a storage unit.
2. The method for generating model edge support according to claim 1, wherein selecting a plane at the bottom of the model and obtaining a maximum vertical projection range of the plane on a zero-plane platform comprises:
selecting a triangular grid on the bottom plane of the model;
acquiring triangular grids which are the same as the normal vector of the selected triangular grid and are continuously co-sided as a similar triangular grid group;
and obtaining the maximum vertical projection range of each triangular grid endpoint and line segment in the triangular grid group on the zero plane platform.
3. The model edge support generation method according to claim 1, further comprising:
slicing the whole three-dimensional data and obtaining slice image data;
and importing the slice image data into 3D printing equipment for exposure printing.
4. The model edge support generation method of claim 1, wherein H, Y, L is a positive integer or decimal; the Δx is an error value less than L.
5. A model edge support generating apparatus, characterized by comprising:
the model grid traversing module is used for traversing and splicing all triangular grids forming the model;
the minimum model frame acquisition module is used for acquiring a minimum model frame of the model;
the model alignment module is used for aligning the bottom center point of the minimum model frame to the origin of the zero-plane platform;
the model lifting module is used for lifting the model by H millimeters;
the preset square dividing module is used for dividing preset square with the side length of Y millimeters on the zero plane platform by taking the origin as the center;
the model plane selecting and projecting module is used for selecting a plane at the bottom of the model and acquiring the maximum vertical projection range of the plane on the zero plane platform;
the grid to be selected acquisition module is used for acquiring all preset grids with the preset grid center points in the maximum vertical projection range as the grid to be selected;
the boundary square grid acquisition module is used for acquiring boundary square grids and boundary square grid center points according to all the square grids to be selected;
the extraction point determining module is used for designating a clock direction, sequentially extracting boundary square central points with the linear interval distance of L+DeltaX mm by every two with the central point of one boundary square as an initial extraction point, and determining the central point as the extraction point;
the target point determining module is used for vertically and upwards leading out the intersection of the straight line and the bottom plane of the model from each extraction point and taking the intersection point as a target point;
the edge support generating module is used for leading out a support unit downwards from each target point to be connected between the edge of the bottom plane of the model and the zero plane platform;
and the three-dimensional data storage module is used for storing the whole three-dimensional data of the model and the supporting unit in the storage unit.
6. The model edge support generating apparatus of claim 5, wherein the model plane selection and projection module comprises:
the triangular mesh selecting module is used for selecting one triangular mesh on the bottom plane of the model;
the similar triangular mesh group acquisition module is used for acquiring triangular meshes which are the same as the normal vector of the selected triangular mesh and are continuously co-edge-shared as a similar triangular mesh group;
and the maximum vertical projection range acquisition module is used for acquiring the maximum vertical projection range of each triangular grid endpoint and line segment in the triangular grid-like group on the zero plane platform.
7. The model edge support generating apparatus according to claim 5, further comprising:
the slice processing module is used for carrying out slice processing on the whole three-dimensional data and obtaining slice image data;
and the 3D printing device is used for importing the slice image data to the 3D printing device for exposure printing.
8. An electronic device, comprising:
at least one processor; and a memory unit communicatively coupled to the at least one processor;
wherein the storage module stores instructions executable by the at least one processor, which when executed, implement the steps of the model edge support generation method of any of claims 1 to 4.
9. A non-transitory computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the model edge support generation method according to any one of claims 1 to 4.
10. A computer program product comprising computer instructions which, when executed by a computer, implement the steps of the model edge support generation method of any of claims 1 to 4.
CN202310707253.1A 2023-06-14 2023-06-14 Model edge support generation method and device, electronic equipment and storage medium Pending CN116811253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310707253.1A CN116811253A (en) 2023-06-14 2023-06-14 Model edge support generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310707253.1A CN116811253A (en) 2023-06-14 2023-06-14 Model edge support generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116811253A true CN116811253A (en) 2023-09-29

Family

ID=88119681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310707253.1A Pending CN116811253A (en) 2023-06-14 2023-06-14 Model edge support generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116811253A (en)

Similar Documents

Publication Publication Date Title
CN104252558A (en) BIM (Building Information Modeling) platform-based numerical control machining pretreatment method of non-standard building enclosure component
CN111177814B (en) Transformer substation engineering three-dimensional modeling method and system based on DEM data
CN112733486B (en) Intelligent wiring method and system for chip design
CN105631939B (en) A kind of three-dimensional point cloud distortion correction method and its system based on curvature filtering
CN106919009B (en) Figure preprocess method before optical near-correction
KR20150093391A (en) Method for rendering terrain
CN109872394A (en) Long-narrow triangular mesh grid optimization method based on least square method supporting vector machine
CN111126212A (en) Matting identification method and system based on distribution box primary system diagram and storage medium
CN110598358A (en) Additive manufacturing stress deformation simulation method, device, equipment and storage medium
CN105204791A (en) Three-dimensional printed object structure optimizing algorithm based on stress analysis
CN109785427A (en) The method of three-dimensional modeling is quickly carried out using X-Y scheme
CN116451291A (en) Quantitative evaluation method and system for layout quality of engineering drawing
CN109115773A (en) Tire information verification method, device and storage medium
CN113792458B (en) Optimization method and device for finite element triangle mesh
CN116811253A (en) Model edge support generation method and device, electronic equipment and storage medium
CN111508054A (en) Terrain construction method, device and equipment
CN116721228B (en) Building elevation extraction method and system based on low-density point cloud
CN116787771A (en) Designated plane support generation method and device, electronic equipment and storage medium
CN116852716A (en) Edge irregular distance support generation method and device, electronic equipment and storage medium
CN104890236A (en) Stereo lithography rapid moulding scanning-path ordering method for 3D printing
CN106651993A (en) Method for filling non self-intersecting polygon in FPGA
CN111462280A (en) Picture generation method and device, electronic equipment and computer storage medium
US20180181688A1 (en) Improved computer-implemented method for defining the points of development of supporting elements of an object made by means of a stereolithography process
CN110853007B (en) Self-adaptive drawing file segmentation method based on graphic characteristics and galvanometer processing characteristics
CN116394520A (en) Grid support structure generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination