3D printing collapse prevention bracket construction method based on visual control
Technical Field
The application relates to the technical field of 3D printing, in particular to a 3D printing collapse-preventing bracket construction method based on visual control.
Background
3D printing (3 DP), a type of rapid prototyping technology, also known as additive manufacturing, is a technology that builds objects by means of layer-by-layer printing, using bondable materials such as powdered metal or plastic, based on digital model files.
3D printing is typically implemented using a digital technology material printer. Are often used in the fields of mould manufacturing, industrial design, etc. for manufacturing models, and then gradually used for directly manufacturing some products, and parts printed by using the technology already exist;
At present, miniaturized 3D printing equipment is also used for education or personal work of some professions in the market, and the 3D printing of the current three-dimensional scanned model requires technical staff to build a collapse-preventing bracket for the scanned model so as to ensure the stability of the model during 3D printing;
The existing collapse-preventing support is very troublesome to build, 3D printing cannot be rapidly performed after three-dimensional scanning, and the use of a person without modeling technology is inconvenient, so that miniaturization and popularization of household 3D printing equipment are inconvenient.
Disclosure of Invention
The application aims to provide a method for rapidly performing 3D printing after scanning, which is characterized in that the method comprises the following specific method processes:
a1, firstly, constructing a collapse prevention bracket database;
B1, performing visual image recognition on an object, and generating three-dimensional imaging of the object in a top-placed three-dimensional image layer;
B2, selecting a bracket model from the bracket database, and generating a three-dimensional overlapped bracket model in the overlapped three-dimensional image layer;
B3, overlapping and overlapping the top three-dimensional image layer and the overlapped three-dimensional image layer, and removing redundant areas of the three-dimensional overlapped bracket model to obtain a visual bracket construction image;
b4, synchronously changing the brackets on the visual image by adjusting parameters of the stereoscopic superposition bracket model in the superposition stereoscopic image layer;
after confirming the bracket model, removing the top three-dimensional image layer and the overlapping area of the top three-dimensional image layer and the model of the overlapped three-dimensional image layer to obtain an anti-collapse bracket model;
C1, performing three-dimensional scanning on an object to generate three-dimensional modeling;
c2, combining the three-dimensional modeling and the collapse prevention support model to directly obtain an object three-dimensional model with the collapse prevention support;
and C3, inputting the three-dimensional model into slicing software, setting printing parameters, and generating a printing path by using the slicing software.
According to the scheme, before the object fine three-dimensional model to be printed is obtained, the collapse prevention support of the object is built in advance in a visualized mode, so that the needed collapse prevention support model is obtained quickly, and after the object is scanned in a three-dimensional mode, the obtained three-dimensional model can be combined with the collapse prevention support model directly, so that a printing path can be generated quickly after the object is scanned in the three-dimensional mode.
Optionally, the size boundary of the top stereo image layer is matched with the size boundary of the superimposed stereo image layer, and the boundary height of the top stereo image layer and the superimposed stereo image layer is matched with the height of the identified object.
The three-dimensional superposition bracket model is characterized in that the three-dimensional superposition bracket model is obtained by a plurality of bracket models distributed at equal intervals in the vector direction, wherein the selected area is the three-dimensional imaging overlook plane outline of an object in the overhead three-dimensional image layer, the value of L is the height of the object identified by the visual image, the construction modulus of the three-dimensional superposition bracket model is reduced, and the load of a processor is reduced.
Optionally, the redundant area in the step B3 comprises a part, extending to the three-dimensional imaging surface of the object, of the top boundary of the three-dimensional superposition bracket model when the top stereo image layer is superposed and superposed with the superposition stereo image layer.
Optionally, the redundant area in the step B3 comprises an area where the stereo superposition bracket model is not contacted with the three-dimensional imaging of the object when the top stereo image layer is superposed and superposed with the superposition stereo image.
Optionally, the stent parameters adjusted in the step B4 comprise stent types, stent distribution density, stent types and stent thickness.
Optionally, after removing the overlapping area, the section of the support is shrunk after the movable collapse-preventing support model in the step B5, and when the collapse-preventing support model is combined with the object three-dimensional scanning model subsequently, the contact surface of the support and the object model is reduced, so that the collapse-preventing support on the printed model is convenient to detach.
Optionally, including a vision control 3D printing system, vision control 3D printing system includes location platform, vision image recognition device, laser scanning device and display terminal, is connected with the treater on the display terminal, and location platform, vision image recognition device and laser scanning device all are connected with the treater, are connected with stereogram layer processing module, model slicing software, printing route generation module and support database on the treater.
Optionally, both the top stereoscopic image layer and the superimposed stereoscopic image layer may be visually displayed on the display terminal.
Optionally, the laser scanning device comprises a plurality of high definition camera devices and 3D sensors, and the positioning platform comprises a rotatable platform.
Compared with the prior art, the application has the advantages that:
(1) The method can realize that before the object fine three-dimensional model to be printed is obtained, the collapse prevention support of the object is pre-built in a visualized manner so as to quickly obtain the needed collapse prevention support model, and after the object is subjected to three-dimensional scanning, the obtained three-dimensional model can be directly combined with the collapse prevention support model so as to quickly generate a printing path after the object is subjected to three-dimensional scanning.
(2) The three-dimensional superimposed bracket model is obtained by a plurality of bracket models distributed at equal intervals in the extending length L of the maximum cross section in the top three-dimensional image layer in the vector direction, the numerical value of L is the height of an object identified by a visual image, the building modulus of the three-dimensional superimposed bracket model is reduced, and the load of a processor is reduced.
(3) And B5, after the overlapping area of the movable collapse-preventing support model is removed, the support section is contracted, and when the collapse-preventing support model is combined with the object three-dimensional scanning model, the contact surface of the support and the object model is reduced, so that the collapse-preventing support on the printed model is convenient to detach.
Drawings
FIG. 1 is a flow chart of the method of the present application;
FIG. 2 is a diagram of the operation of the present application;
FIG. 3 is a schematic illustration of the present application when a top-set stereoscopic image layer is superimposed with a superimposed stereoscopic image layer;
FIG. 4 is a schematic illustration of the present application when a collapse prevention stent model is obtained;
FIG. 5 is a schematic illustration of the present application when a three-dimensional model of an object with collapse prevention brackets is obtained;
FIG. 6 is a schematic view of a partial structure of a stent pattern cut surface after shrinkage treatment according to the present application;
fig. 7 is a system block diagram of the present application.
The reference numerals in the figures illustrate:
1 positioning platform, 2 visual image recognition device, 3 laser scanning device, 4 display terminal.
Detailed Description
The embodiments of the present application will be described in detail and fully with reference to the accompanying drawings, and it is intended that all other embodiments of the application, which are apparent to one skilled in the art without the inventive faculty, are included in the scope of the present application.
Example 1:
The invention provides a 3D printing collapse prevention bracket construction method based on visual control, referring to fig. 1-6, the 3D printing collapse prevention bracket construction method based on visual control comprises the following specific method flows:
And (3) constructing a support database:
A1, firstly, constructing a collapse prevention bracket database (wherein the bracket database comprises bracket models with different structures, such as tree brackets, column brackets and the like, and a person skilled in the art selects a proper bracket model to load into the database);
Pre-constructing a visual support and acquiring an anti-collapse support model;
B1, in the embodiment, an object is placed in the middle of a positioning platform 1 for visual image recognition, the visual image recognition device 2 is used for carrying out image recognition on the object, so that three-dimensional imaging of the object is generated in a top-placed three-dimensional image layer, and the three-dimensional imaging is obtained through a three-dimensional 3D imaging technology or a structured light projection 3D imaging technology;
B2, selecting a bracket model from the bracket database, and generating a three-dimensional overlapped bracket model in the overlapped three-dimensional image layer;
B3, overlapping and overlapping the top three-dimensional image layer and the overlapped three-dimensional image layer, and removing redundant areas of the three-dimensional overlapped bracket model to obtain a visual bracket construction image;
B4, synchronously changing the brackets on the visual image by adjusting parameters of a three-dimensional superposition bracket model in the superposition three-dimensional image layer, wherein the adjusted bracket parameters comprise bracket types, bracket distribution density, bracket types and bracket thickness;
after confirming the bracket model, removing the top three-dimensional image layer and the overlapping area of the top three-dimensional image layer and the model of the overlapped three-dimensional image layer to obtain an anti-collapse bracket model;
the redundant area in the step B3 comprises the following steps:
1) When the top-placed stereoscopic image layer and the overlapped stereoscopic image layer are overlapped and weighted, the top boundary of the stereoscopic overlapped bracket model extends to the part of the three-dimensional imaging surface of the object;
2) When the top stereo image layer is overlapped and weighted with the overlapped stereo image, the stereo overlapped bracket model is not in contact with the three-dimensional imaging of the object.
The boundary of the top stereo image layer is matched with the size boundary of the overlapped stereo image layer, the boundary height of the top stereo image layer and the overlapped stereo image layer is matched with the height of the object to be identified, and the bottom boundary center points of the overlapped stereo image layer and the overlapped stereo image layer are anchored at the middle point of the positioning platform 1.
The three-dimensional superimposed support model is obtained by a plurality of support models distributed at equal intervals in a vector direction, wherein the selected area is a three-dimensional imaging overlook plane outline of an object in a set-top three-dimensional image layer, the value of L is the height of the object identified by a visual image, the building modulus of the three-dimensional superimposed support model is reduced, and the load of a processor is reduced.
Combining the collapse prevention bracket model with the refined object three-dimensional model:
C1, carrying out three-dimensional scanning on an object through a laser scanning device 3 to generate a refined three-dimensional modeling of the object;
c2, combining the three-dimensional modeling and the collapse prevention support model to directly obtain an object three-dimensional model with the collapse prevention support;
and C3, inputting the three-dimensional model obtained in the last step into slicing software, setting printing parameters, and generating a printing path by using the slicing software.
Referring to fig. 2 and 7, a visual control 3D printing system includes a positioning platform 1, a visual image recognition device 2, a laser scanning device 3 and a display terminal 4, wherein the display terminal 4 is connected with a processor, and a top stereoscopic image layer and a superimposed stereoscopic image layer can be visually displayed on the display terminal 4.
The laser scanning device 3 comprises a plurality of high-definition camera devices and a 3D sensor, and performs three-dimensional image reconstruction on the object on the platform 1 to be positioned on the top of the top three-dimensional image layer based on machine vision through the plurality of high-definition camera devices;
the positioning platform 1 comprises a rotatable platform, and an object is placed on the positioning platform 1 and can be freely rotated;
the positioning platform 1, the visual image recognition device 2 and the laser scanning device 3 are all connected with a processor, and the processor is connected with a three-dimensional image layer processing module, a model processing module, model slicing software, a printing path generating module and a bracket database.
The stereoscopic image layer processing module is used for processing the top stereoscopic image layer and the overlapped stereoscopic image layer, and the model processing module can modify and adjust models in the top stereoscopic image layer and the overlapped stereoscopic image layer;
Model slicing software and print path generation module may decompose the stent model into multiple layers of contours by generating path functions and provide paths for building each layer. When generating the path, the deformation condition of the bracket model in the printing process needs to be considered so as to ensure that the path of each layer can correctly support the layer above, and the model slicing software and the printing path generating module are in the prior art.
Example 2:
referring to fig. 6, wherein the same or corresponding parts as in embodiment 1 are designated by the same reference numerals as in embodiment 1, only the differences from embodiment 1 are described below for the sake of brevity. This embodiment 2 is different from embodiment 1 in that:
Step B5, after removing the overlapping area, the movable collapse-preventing support model is subjected to shrinkage treatment on the support section;
Chamfering the cut surface of the bracket model, lofting and grooving the cut surface as a base surface, and the like, so as to reduce the size of the joint surface when the bracket is combined with the subsequent 3D scanning model (a shrinkage processing program is preset by a person skilled in the art, so that the collapse-preventing bracket model is quickly reduced in the cut surface after the overlapping area is removed);
When the collapse preventing support model is combined with the object three-dimensional scanning model, the contact surface of the support and the object model is reduced, and the collapse preventing support on the printed model is convenient to detach.
According to the scheme, before the object fine three-dimensional model to be printed is obtained, the collapse-preventing support of the object can be visually displayed by the display terminal 4 to be pre-built, a user can quickly adjust the type and parameters of the support to quickly obtain the required collapse-preventing support model, after the object is subjected to three-dimensional scanning, the obtained three-dimensional model can be directly combined with the collapse-preventing support model, and a printing path is directly generated by the combined model through slicing software, so that 3D printing work can be conveniently and quickly performed after the three-dimensional scanning.
The foregoing is merely illustrative of the best modes of carrying out the application in connection with the actual requirements, and the scope of the application is not limited thereto.