A kind of projection print implementation method and its realization device
Technical field
The invention belongs to rapid shaping field, and in particular to a kind of rapid shaping implementation method of projection print and its realization
Device.
Background technology
Rapid shaping technique is the advanced manufacturing technology that the nineties grow up.Its general principle is " layering system
Make, be successively superimposed ", similar to integral process mathematically.It can need not prepare any mould, cutter and tooling fixture
In the case of, directly receive product design CAD data, quickly produce the exemplar, mould or model of new product.It is however, all kinds of fast
The fast receptible data of former are three-dimensional CAD model data, do not identify common image data, also can not be by picture
In dump come out.
Therefore, how content in photo to be printed using rapid forming equipment, can realizes and be projected under light irradiation
Go out photo content, be the still unsolved technical barrier of those skilled in the art.
The content of the invention
The invention provides a kind of projection print implementation method, picture file is used to realize, using rapid forming equipment
Print projection print.
The technical scheme that the present invention uses is:
A kind of implementation method of projection print, comprises the following steps:(1) image scaling, caption book is adjusted to close
Suitable size;(2) gray value of each pixel in picture is obtained, the colouring information of each pixel is stored with picture, is passed through
Calculate, the gray value of each pixel can be obtained;(3) different size of filling figure is generated according to each pixel gray value,
It is directly proportional to gray value to fill the size of figure, between adjacent fill pattern using line and curve connection together;(4) by step (3)
In the obtained data format that can identify of geometrical model generation rapid forming equipment, transfer data to rapid forming equipment and beat
Print.
In above-mentioned steps (1), image scaling be able to can also be redefined with self-defined ratio.
Above-mentioned steps (2) also include extraction every pixel value of picture.
Above-mentioned picture is the electronic pictures of arbitrary format, such as jpg, bmp, the format picture such as png.
Above-mentioned filling figure can have different shape, including rectangle, circular, triangle etc..
It is a further object of the present invention to provide a kind of rapid molding device that can realize above-mentioned projection print implementation method:
Including host computer, data transmission device and rapid forming equipment.The host computer can read picture, handle picture
Data, each pixel gray value in picture is calculated, and corresponding filling figure is generated with being connected according to picture gray value
Line segment.The data transmission device sets for the filling figure of host computer generation is sent into rapid shaping with connecting line segment data
It is standby.The rapid forming equipment can identify figure and segment data form, and print projection print.
Above-mentioned host computer includes desktop computer, notebook computer, smart mobile phone etc..
Above-mentioned data transmission device includes wireless data transmission device (such as bluetooth, wifi etc.) and wired data transfer device
(such as serial ports).
Above-mentioned rapid forming equipment can be a variety of rapid forming equipments:Such as fusion sediment mo(u)lding equipment (Fused
Deposition Modeling, FDM), Selective Laser Sintering (Selective Laser Sintering, SLS), three
Tie up printing device (Three-Dimensional Printing, 3DP) etc..
Brief description of the drawings
Fig. 1 is projection print two-dimensional shapes schematic diagram (filling figure is circular);
Fig. 2 schemes for projection print drop shadow effect;
Fig. 3 is projection print Making programme figure.
Embodiment
In order that those skilled in the art are better understood from the present invention program, below in conjunction with the accompanying drawings and it is embodied
The present invention is described in further detail for mode.Host computer uses smart mobile phone in this example;Rapid forming equipment uses FDM
Equipment;Data transmission device uses bluetooth.
The quick molding method for the projection print that present example is provided, including:Step (1) image scaling, by picture
Suitable size is adjusted to, because being limited by rapid forming equipment work top, dimension of picture can not be very big, should be arranged on
Within 100*100 pixels;Step (2) obtains the gray value of each pixel in picture, and the face of each pixel is stored with picture
Color information, by calculating, the gray value of each pixel can be obtained;Step (3) generates different according to each pixel gray value
The filling figure of size, select in this example circular.As shown in Figure 1, circular size and respective pixel gray value size into
Direct ratio, linked together using line segment between adjacent fill pattern.In projection print, each pixel correspond to a fixation
The region of size, regional extent are relatively suitable between 1.5mm~2mm.In this region, blocked using the circle of filling
Light.The gray value of pixel is bigger, and corresponding filling is circular bigger;The gray value of pixel is smaller, and corresponding filling is circular smaller.When filling out
When filling circular larger, more light can be blocked, dark region is shown as on the screen of projection;When filling is circular smaller
When, more light can be passed through, brighter region is shown as on the screen of projection.Connected between adjacent fill pattern using line segment
Connect, in this example, line segment end points circular edges midpoint, to ensure the globality of its structure.Pass through bright and dark light after projection
The difference of change, projection print can reduce the content of original photo.(4) by a series of fillings obtained in step (3) it is circular with
The data format that can identify of connecting line segment generation rapid forming equipment, in this example, data format that FDM equipment used can identify
For g codes.Send the g code datas of generation the printing of to FDM equipment.
The present invention also provides a kind of device that can realize appeal projection print method for fast mfg, in this example, including
Host computer is smart mobile phone, and rapid forming equipment uses FDM equipment;Data transmission device uses bluetooth.The source figure of projection print
Piece derives from taking photograph of intelligent mobile phone caption book or built-in picture, and smart mobile phone can handle picture, and it is every to obtain picture
The color value of individual pixel, and gray value is calculated.After obtaining image intensity value, each pixel can be calculated and correspondingly fill out
The size of circle and the position of connecting line segment are filled, corresponding g codes can be generated using these positions.Smart mobile phone is by above-mentioned g
Code is sent to FDM equipment by bluetooth, finally by the print job of the complete projection print of FDM equipment.
In this part, apply instantiation and the principle of the present invention is set forth with embodiment, above example is said
It is bright to be only used for helping the method for understanding the present invention.