Automatic paint spraying method for artware
By disassembling the three-dimensional diagram of the craft into a sub-paint and dividing the independent surface area, using mechanical painting technology to spray paint each independent surface separately, and impregnating and protecting the other surfaces before spraying, the problem of inaccurate painting of complex crafts is solved, improving the efficiency of large-scale production and reducing costs.
Patent Information
- Application Number
- CN202510428964.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-06-13
AI Technical Summary
Existing handicraft painting technology is difficult to achieve accurate paint at the color boundary on handicrafts of complex shapes, resulting in color mixing, crossing or no paint, and low production efficiency and high labor costs during large-scale production.
By disassembling the three-dimensional diagram of the handicraft into several sub-three-dimensional diagrams, separate surface areas are divided according to each sub-three-dimensional diagram, and each independent surface is sprayed separately by mechanical painting technology, and other surfaces are immersed and protected before spraying to ensure that each surface is sprayed only once.
It has achieved the avoidance of color mixing, crossing or paintless conditions at the color boundaries on complex crafts, which has improved the production efficiency of large-scale production and reduced labor costs.
Smart Images

Figure CN120133112A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of handicraft painting, and particularly to an automatic painting method for handicrafts. Background Art
[0002] Handicrafts are a type of items with ornamental value, collection value, and practical value, including but not limited to sculptures, ceramics, glass products, wood products, metal products, etc. For handicrafts in the shape of figures or animals, etc., it is necessary to spray paint their surfaces to complete the coloring of the handicrafts. The method of spray painting can not only make the surface of the handicrafts smoother and the color more uniform, enhancing their visual effects, but also play a protective role and extend the service life of the handicrafts.
[0003] Due to the complex shapes of handicrafts, the surfaces between each face are often not smooth and continuous. If mechanical equipment is used for spray painting, it is easy to have situations such as color mixing, overstepping the boundary, or no spray painting at the color demarcation points on the handicrafts. Therefore, currently, manual spray painting is generally used for the spray painting of such handicrafts.
[0004] Using manual spray painting can effectively reduce the occurrence of situations such as color mixing, overstepping the boundary, or no spray painting at the color demarcation points on the handicrafts. However, the method of manual spray painting is suitable for small-scale production. If large-scale production is required, there are problems of low production efficiency and high labor costs. Summary of the Invention
[0005] Based on this, in view of the above problems, it is necessary to provide an automatic painting method for handicrafts.
[0006] The embodiment of the present invention is implemented as follows. An automatic painting method for handicrafts, the automatic painting method for handicrafts includes:
[0007] S101, disassemble the three-dimensional drawing of the handicraft into several sub-three-dimensional drawings, and manufacture the corresponding parts according to each sub-three-dimensional drawing;
[0008] S102, for each part, determine the dividing line on the part according to the color distribution of the corresponding part of the three-dimensional drawing;
[0009] S103, distinguish the independent faces divided by the dividing line on the part into open faces or non-open faces according to the dividing line;
[0010] S104, for the part with the number of non-open faces being 0, spray paint the open faces of the part respectively;
[0011] S105. For a part where the number of non-open surfaces is not zero, select a non-open surface A from the non-open surfaces of this part, impregnate and protect all the independent surfaces other than the non-open surface A, and spray paint the non-open surface A.
[0012] S106. After each spray painting, remove the protective film formed by impregnation and protection, and remove the non-open surface A from the division of non-open surfaces.
[0013] S107. Repeat S104 - S106 until all the independent surfaces of all parts are spray painted.
[0014] Preferably, the process of disassembling the three-dimensional drawing of the handicraft into several sub-three-dimensional drawings and manufacturing the parts corresponding to the sub-three-dimensional drawings includes:
[0015] Determine the main structure and branch structure of the handicraft in the three-dimensional drawing of the handicraft.
[0016] Disassemble the three-dimensional drawing of the handicraft according to the main structure and branch structure of the handicraft to obtain the main three-dimensional drawing and branch three-dimensional drawing of the handicraft.
[0017] Manufacture the main part and branch part according to the main three-dimensional drawing and branch three-dimensional drawing of the handicraft.
[0018] Preferably, the process of determining the dividing line on this part according to the color distribution of the corresponding partial three-dimensional drawing of this part includes:
[0019] For each pixel of the corresponding partial three-dimensional drawing of this part, judge whether the RGB value of this pixel is the same as that of the adjacent pixel. If not, determine this pixel as an edge pixel.
[0020] Connect the edge pixels with the same RGB value and adjacent to each other to obtain an edge pixel connection band.
[0021] Determine the junction of adjacent edge pixel connection bands as the junction line.
[0022] Map the position of the junction line on the partial three-dimensional drawing of this part to this part to obtain the dividing line.
[0023] Preferably, the process of distinguishing the independent surfaces divided by the dividing line on this part into open surfaces or non-open surfaces includes:
[0024] For this part where the number of dividing lines is zero, determine the entire area of this part as an open surface.
[0025] For this part where the number of dividing lines is not zero, judge whether the independent surfaces divided by the dividing line on this part are respectively adjacent to two dividing lines. If so, determine them as non-open surfaces. If not, determine them as open surfaces.
[0026] Preferably, the painting of the open surfaces of the part respectively includes:
[0027] S501, number the open surfaces of the part;
[0028] S502, select an open surface B of the part according to the order of the numbers;
[0029] S503, perform impregnation protection on all open surfaces other than open surface B, and paint open surface B;
[0030] S504, every time after painting, remove the protective film formed by impregnation protection;
[0031] S505, repeat S502 - S504 until all open surfaces of the part are painted.
[0032] Preferably, before performing impregnation protection on all independent surfaces other than non - open surface A, it further includes:
[0033] For each independent surface other than non - open surface A, determine whether the independent surface is to be painted. If so, set an air injection part on the independent surface;
[0034] If the independent surface is not to be painted, do nothing.
[0035] Preferably, the impregnation protection of all independent surfaces other than non - open surface A includes:
[0036] Determine the dividing line in contact with non - open surface A;
[0037] For any dividing line in contact with non - open surface A, vertically immerse the sub - part on the side outside the dividing line and not including non - open surface A into the protective liquid;
[0038] When the lowest point of the dividing line contacts the liquid level of the protective liquid, adjust the angle of the part so that a protective film is formed on the sub - part on the side outside the dividing line and not including non - open surface A to complete the impregnation protection.
[0039] Preferably, the painting of non - open surface A includes:
[0040] Determine the paint a of the color corresponding to non - open surface A;
[0041] Use paint a to paint non - open surface A all - around.
[0042] Preferably, the removal of the protective film formed by impregnation protection includes:
[0043] For an independent surface with an air injection component, inject compressed air into the air inlet of the air injection component using an air injection needle to cause the protective film formed by immersion protection to rapidly expand and separate from the part, and remove the protective film after separation;
[0044] For an independent surface without an air injection component, use a tool to cut open and remove the protective film formed by immersion protection.
[0045] Preferably, the automated painting method for handicrafts further includes:
[0046] After each painting, dry the independent surface that has been painted.
[0047] After all independent surfaces have been painted, splice different parts according to the three-dimensional drawing of the handicraft to form a handicraft.
[0048] An automated painting method for handicrafts provided by an embodiment of the present invention disassembles the three-dimensional drawing of the handicraft into several sub-three-dimensional drawings, and manufactures the parts corresponding to the sub-three-dimensional drawings according to each sub-three-dimensional drawing; for each part, determine the dividing line on the part according to the color distribution of the corresponding partial three-dimensional drawing of the part; distinguish the independent surfaces divided by the dividing line on the part into open surfaces or non-open surfaces according to the dividing line; for a part with the number of non-open surfaces being 0, spray paint the open surfaces of the part respectively; for a part with the number of non-open surfaces not being 0, select a non-open surface A from the non-open surfaces of the part, perform immersion protection on all independent surfaces other than the non-open surface A, and spray paint the non-open surface A; after each painting, remove the protective film formed by immersion protection, and remove the non-open surface A from the division of non-open surfaces; repeat the steps of immersion protection, painting, and removing the protective film formed by immersion protection until all independent surfaces of all parts have been painted. The present invention first disassembles the handicraft into several parts, distinguishes the independent surfaces on each part into open surfaces or non-open surfaces, sprays paint on each open surface or non-open surface separately, and performs immersion protection on other open surfaces or non-open surfaces before spraying paint on each open surface or non-open surface separately to ensure that only one open surface or non-open surface is sprayed with paint separately. In this way, when using mechanical painting, there will be no situation of color mixing, overstepping, or unpainted areas at the color boundaries on the handicraft, solving the problems of low production efficiency and high labor costs when large-scale production is required. Description of the Drawings
[0049] Figure 1 It is a flowchart of an automated painting method for handicrafts in an embodiment;
[0050] Figure 2 It is a simple diagram of the shape of a handicraft in an embodiment;
[0051] Figure 3Structural diagram of the gas injection part in an embodiment. Detailed implementation manners
[0052] In order to make the objectives, technical solutions and advantages of the present invention more clear and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0053] It can be understood that the terms "first", "second", etc. used in the present invention can be used in this document to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of the present invention, the first xx script can be called the second xx script, and similarly, the second xx script can be called the first xx script.
[0054] As Figure 1 shown, in one embodiment, an automated painting method for handicrafts is proposed, which may specifically include the following steps:
[0055] S101, disassemble the three-dimensional handicraft drawing into several sub-three-dimensional drawings, and manufacture the parts corresponding to each sub-three-dimensional drawing according to each sub-three-dimensional drawing;
[0056] S102, for each part, determine the dividing line on the part according to the color distribution of the corresponding partial three-dimensional drawing of the part;
[0057] S103, according to the dividing line, distinguish the independent surface areas divided by the dividing line on the part into open surfaces or non-open surfaces;
[0058] S104, for the parts where the number of non-open surfaces is 0, spray paint the open surfaces of the parts respectively;
[0059] S105, for the parts where the number of non-open surfaces is not 0, select a non-open surface A from the non-open surfaces of the part, impregnate and protect all the independent surfaces other than the non-open surface A, and spray paint the non-open surface A;
[0060] S106, every time after spray painting is completed, remove the protective film formed by impregnation protection, and remove the non-open surface A from the division of non-open surfaces;
[0061] S107, repeat S104 - S106 until all the independent surfaces of all the parts are spray painted.
[0062] In this embodiment, the three-dimensional handicraft drawing is essentially the handicraft design drawing, and the connection states of each joint or sub-structure of the handicraft can be seen.
[0063] In this embodiment, the dividing line is essentially the boundary line between two different colors.
[0064] In this embodiment, the open surface is essentially an independent surface that does not affect other independent surfaces during impregnation protection, and the non-open surface is essentially an independent surface that affects other independent surfaces during impregnation protection.
[0065] In this embodiment, for the part where the number of non-open surfaces is not zero, each time S105 - S106 is executed, one non-open surface is removed from the division of non-open surfaces, and finally only the open surfaces remain. At this time, S104 will be executed to spray paint all the independent surfaces of all parts.
[0066] In this embodiment, the purpose of spray painting here is to apply paint to add color to the handicraft. In addition to the spray painting method, a feeding method can also be used, such as soaking in the pigment.
[0067] An automated spray painting method for handicrafts provided by an embodiment of the present invention disassembles the three-dimensional drawing of the handicraft into several sub-three-dimensional drawings, and manufactures the parts corresponding to the sub-three-dimensional drawings according to each sub-three-dimensional drawing; for each part, determines the dividing line on the part according to the color distribution of the corresponding partial three-dimensional drawing of the part; divides the independent surfaces divided by the dividing line on the part into open surfaces or non-open surfaces according to the dividing line; for the part where the number of non-open surfaces is zero, spray paints the open surfaces of the part respectively; for the part where the number of non-open surfaces is not zero, selects a non-open surface A in the non-open surfaces of the part, performs impregnation protection on all the independent surfaces other than the non-open surface A, and sprays paint on the non-open surface A; each time after spray painting is completed, eliminates the protective film formed by impregnation protection, and removes the non-open surface A from the division of non-open surfaces; repeats the steps of impregnation protection, spray painting, and eliminating the protective film formed by impregnation protection until all the independent surfaces of all parts are spray painted. The present invention first disassembles the handicraft into several parts, divides the independent surfaces on each part into open surfaces or non-open surfaces, spray paints each open surface or non-open surface separately, and performs impregnation protection on other open surfaces or non-open surfaces before spray painting each open surface or non-open surface separately to ensure that only one open surface or non-open surface is spray painted separately. In this way, when using mechanical spray painting, there will be no situation of color mixing, overstepping, or no spray painting at the color boundary on the handicraft, solving the problems of low production efficiency and high labor cost when large-scale production is required.
[0068] In one embodiment, the disassembling the three-dimensional drawing of the handicraft into several sub-three-dimensional drawings and manufacturing the parts corresponding to the sub-three-dimensional drawings according to each sub-three-dimensional drawing includes:
[0069] Determine the main structure and branch structure of the handicraft in the three-dimensional drawing of the handicraft;
[0070] Disassemble the three-dimensional drawing of the handicraft according to the main structure and branch structure of the handicraft to obtain the main three-dimensional drawing and branch three-dimensional drawing of the handicraft;
[0071] Manufacture the main part and the branch part according to the main three-dimensional drawing and branch three-dimensional drawing of the handicraft.
[0072] In this embodiment, the main three-dimensional drawing and branch three-dimensional drawing of the handicraft are the sub-three-dimensional drawings. The main part and the branch part are the parts corresponding to the main three-dimensional drawing and branch three-dimensional drawing respectively.
[0073] In this embodiment, the main structure of the handicraft is generally the trunk structure of the handicraft or the structure of the part with the largest volume. The split structure is generally the limb structure or the structure of the part other than the largest volume.
[0074] In this embodiment, as Figure 2 shown, it is a complete handicraft. The part within the dashed square is the head part, which is separated from the following body part, and can be regarded as disassembling the handicraft into two parts: the head and the body.
[0075] In this embodiment, the process of disassembling the three-dimensional drawing of the handicraft into several partial three-dimensional drawings can be implemented in a computer device, and the corresponding parts can be produced by a 3D printing device or other production devices according to the drawings of the computer device.
[0076] In one embodiment, determining the dividing line on the part according to the color distribution of the corresponding partial three-dimensional drawing of the part includes:
[0077] For each pixel of the partial three-dimensional drawing corresponding to the part, determine whether the RGB value of the pixel is the same as that of the adjacent pixel. If not, determine the pixel as an edge pixel;
[0078] Connect the edge pixels with the same RGB value and adjacent to each other to obtain an edge pixel connection band;
[0079] Determine the junction of adjacent edge pixel connection bands as the junction line;
[0080] Map the position of the junction line on the partial three-dimensional drawing of the part to the part to obtain the dividing line.
[0081] In this embodiment, the step of determining the junction line can be determined on a computer device.
[0082] In this embodiment, the position of the partial three-dimensional map of the boundary line at this part is mapped onto this part to obtain a dividing line, which can have various forms. For example, after the production of this part is completed, a dividing line is drawn on the machine at this part. This step can be achieved by a grasping device to grasp the part and a marking device to mark the dividing line on the part. The dividing line can be marked by rotating the grasping device or the marking device to select the part. Of course, this dividing line can also be a virtual line that only exists on a computer device. When performing impregnation protection, the grasping device performs impregnation according to the change of the coordinates of the virtual line.
[0083] In this embodiment, for a part, if there is only one color for this part, then there is no dividing line.
[0084] In this embodiment, the boundary lines are all closed line segments. The boundary lines are not fixed straight lines or curves. They may be composed of multiple curved segments, and the multiple curved segments are not in the same plane. On one side of a boundary line, there may not be only one color.
[0085] In this embodiment, geometrically speaking, an open surface has one and only one continuous dividing line. As Figure 2 shown, for a complete handicraft, since the head and the body belong to two parts, the head only includes one head and two ears. For the part of the head, the boundary line between the head and the ears is a dividing line.
[0086] In one embodiment, differentiating the independent surfaces divided by the dividing line of this part into open surfaces or non-open surfaces according to the dividing line includes:
[0087] For the part where the number of dividing lines is 0, the entire area of this part is determined as an open surface;
[0088] For the part where the number of dividing lines is not 0, it is judged whether the independent surfaces divided by the dividing line of this part are respectively adjacent to two dividing lines. If so, it is determined as a non-open surface. If not, it is determined as an open surface.
[0089] In this embodiment, a dividing surface is adjacent to at most two dividing lines at most. Adjacent means that the edge of the dividing surface is the dividing line.
[0090] In this embodiment, an open surface may be adjacent to one dividing line or have no dividing line.
[0091] In this embodiment, the steps of determining open surfaces and non-open surfaces can be performed in a computer device.
[0092] In this embodiment, as Figure 2As shown, it is a complete handicraft. The head is a non-open surface. If the ears are of the same color, then the entire ear is an open surface. If the head has multiple colors, then there are multiple non-open surfaces between the heads.
[0093] In one embodiment, the step of spraying paint on the open surfaces of the part respectively includes:
[0094] S501, number the open surfaces of the part;
[0095] S502, select an open surface B of the part according to the order of the numbers;
[0096] S503, perform impregnation protection on all open surfaces other than open surface B, and spray paint on open surface B;
[0097] S504, every time after spraying paint, eliminate the protective film formed by the impregnation protection;
[0098] S505, repeat S502 - S504 until all open surfaces of the part are sprayed with paint.
[0099] In this embodiment, the step of performing impregnation protection on all open surfaces other than open surface B is the same as the step of performing impregnation protection on all independent surfaces other than non-open surface A. Similarly, before performing impregnation protection on all open surfaces other than open surface B, it is also necessary to set an air injection part on the divided surface where the paint spraying is completed.
[0100] In this embodiment, the step of spraying paint on open surface B is the same as the step of spraying paint on non-open surface A.
[0101] In one embodiment, before performing impregnation protection on all independent surfaces other than non-open surface A, it further includes:
[0102] For each independent surface other than non-open surface A, judge whether the independent surface is to be sprayed with paint. If so, set an air injection part on the independent surface;
[0103] If the independent surface is not to be sprayed with paint, do nothing.
[0104] In this embodiment, the purpose of setting the air injection part is to facilitate the elimination of the protective film formed by the impregnation protection. After the divided surface is sprayed with paint and then impregnation protection is carried out, in order to protect the paint surface when eliminating the protective film formed by the impregnation protection, the method of injecting air between the paint surface and the protective film is adopted.
[0105] In this embodiment, several air injection parts can also be set.
[0106] In this embodiment, the injection member can be set through an installation device. By grasping the fixed part of the device, the installation device is controlled to approach the independent surface and the setting operation is completed on the independent surface. The injection member can be attached to the independent surface through an adhesive, and the melting point of the adhesive used should be low to avoid damaging the paint surface of the independent surface during the process of removing the injection member.
[0107] In this embodiment, the structure of the injection member is as Figure 3 shown. An air inlet hole is provided on the upper surface of the injection member, and a plurality of air outlet holes are provided on the side surface.
[0108] In one embodiment, the impregnation protection of all independent surfaces other than the non-open surface A includes:
[0109] Determine the dividing line that abuts against the non-open surface A;
[0110] For any dividing line that abuts against the non-open surface A, vertically immerse the sub-part on the side that does not include the non-open surface A outside this dividing line into the protective liquid;
[0111] When the lowest point of this dividing line contacts the liquid level of the protective liquid, adjust the angle of this part so that a protective film is formed on the sub-part on the side that does not include the non-open surface A of this dividing line to complete the impregnation protection.
[0112] In this embodiment, there are various protective liquids that can form a tearable protective film. For example, a peelable protective glue, which is made from raw materials such as ethanol, methanol, ethyl acetate, butyl acetate, polyvinyl butyral, n-butanol, and methyl ethyl ketone, and the polyvinyl butyral is modified to form a liquid protective coating film; a solvent-based liquid protective film, which is made from special high polymers, pigments (fillers), various additives, solvents, etc.; a water-based tearable protective film liquid, which uses a water-based high polymer as the main film-forming substance and is formulated with various additives, and uses water as a diluent; a tearable covering liquid, generally a water-based formula, the main components include high molecular polymers, etc., and may also be added with auxiliary components such as thickeners and surfactants. Commonly seen are WPR-008 water-based peelable coatings, weather-resistant liquid tearable films ZL-7100, and TCBS64 series peelable liquid protective films.
[0113] In this embodiment, any dividing line divides this part into two sub-parts, so the sub-part refers to a part of this part.
[0114] In this embodiment, there are two dividing lines that abut against the non-open surface A, so the operation of vertically immersing the sub-parts on the side that does not include the non-open surface A outside these dividing lines needs to be performed twice.
[0115] In this embodiment, the angle of this part can be adjusted by rotating this part.
[0116] In this embodiment, the steps of impregnation protection can be completed by a grasping device. After the grasping device grasps a part, it rotates to make the sub-part to be impregnated protected face downward, and then immerses the sub-part in the protective liquid. If the dividing line is actually marked on the surface of the part, the impregnation situation can be obtained through the image acquisition devices around, and then the angle of the part can be adjusted so that the sub-part to be impregnated protected is completed with impregnation protection. If the dividing line is a virtual line existing in the computer device, an impregnation model can be built in the computer device. The model includes the mapping of the grasping device in the three-dimensional model, the mapping of the part in the three-dimensional model, and the mapping of the protective liquid in the three-dimensional model. In this way, the rotation of the grasping device in the fixed space can be mapped into the three-dimensional model, so that the lowest point of the dividing line contacts the liquid level of the protective liquid, and the angle of the part is adjusted so that a protective film is formed on the sub-part that does not include the side of the non-open surface A to complete the impregnation protection.
[0117] In this embodiment, for the formation of the protective film, in addition to impregnation, it can also be carried out by means of coating. If it is the coating method, a coating device can be used for coating, such as building a coating model.
[0118] In one embodiment, the painting of the non-open surface A includes:
[0119] Determine the paint a of the color corresponding to the non-open surface A;
[0120] Use the paint a to paint the non-open surface A in all directions.
[0121] In this embodiment, the painting device can be moved to the vicinity of the sub-part corresponding to the non-open surface A. The sub-part corresponding to the non-open surface A can be moved to the vicinity of the painting device by the grasping device.
[0122] In this embodiment, when using the paint a to paint the non-open surface A in all directions, the part can be rotated, or the painting device can be rotated, or multiple multi-directional painting devices can work together to complete the all-directional painting.
[0123] In one embodiment, the elimination of the protective film formed by impregnation protection includes:
[0124] For the independent surface with an air injection part, inject compressed air into the air inlet hole of the air injection part with an air injection needle so that the protective film formed by eliminating the impregnation protection expands rapidly and separates from the part, and eliminate the separated protective film;
[0125] For the independent surface without an air injection part, peel off and eliminate the protective film formed by impregnation protection.
[0126] In this embodiment, if there is no air injection component on the split surface, it means that the split surface has not been painted yet, and the protective film formed by dipping protection can be directly torn off.
[0127] In this embodiment, the air injection step can be completed by an air injection device. The steps of removing the protective film after separation or peeling off the protective film formed by dipping protection can be completed by an adsorption device. The adsorption device sucks the protective film and pulls it away. The purpose of setting the air injection component is to prevent damage to the paint surface of the independent surface that has been painted during the process of removing the protective film. For independent surfaces without a paint surface, this problem does not exist.
[0128] In this embodiment, as Figure 3 shown, when the air injection needle injects compressed air into the air inlet hole of the air injection component, the compressed air blows out from the air outlet hole, so that the paint surface and the protective film are separated.
[0129] In one embodiment, the automated painting method for the handicraft further includes:
[0130] After each painting is completed, the independent surface that has been painted is dried;
[0131] After all the independent surfaces are painted, different parts are spliced according to the three-dimensional drawing of the handicraft to form a handicraft.
[0132] In this embodiment, drying is to harden the painted coating. It can be carried out by a drying device.
[0133] In this embodiment, after all the split surfaces are painted, the air injection component needs to be removed. This step can be achieved by heating the adhesive when the air injection component is attached to the independent surface, so that the air injection component falls off.
[0134] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0135] The above-described embodiments only represent several implementation manners of the present invention. Their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can still be made, and these all belong to the protection scope of the present invention.
Claims
1. An automatic painting method for handicrafts, characterized in that: The automatic painting method for handicrafts comprises: S101, disassembling the three-dimensional image of the handicraft into a plurality of sub-three-dimensional images, and producing a part corresponding to each sub-three-dimensional image according to each sub-three-dimensional image; S102, for each part, determining a segmentation line on the part according to the color distribution of the part of the three-dimensional image corresponding to the part; S103, according to the dividing line, the independent surface of the part divided by the dividing line is divided into an open surface or a non-open surface; S104, for a portion where the number of non-open surfaces is 0, spray-painting the open surfaces of the portion respectively; S105, for a part where the number of non-open surfaces is not 0, select a non-open surface A from the non-open surfaces of the part, perform immersion protection on all independent surfaces other than the non-open surface A, and spray paint the non-open surface A; S106, after each painting, the protective film formed by the immersion protection is removed, and the non-open surface A is removed from the non-open surface division; S107, repeat S104-S106 until all independent surfaces of all parts are painted.
2. The automatic painting method for handicrafts according to claim 1, characterized in that: The process of disassembling the three-dimensional image of the handicraft into a plurality of three-dimensional sub-images and producing the corresponding parts of each three-dimensional sub-image comprises: Determine the main structure and branch structure of the handicraft in the three-dimensional drawing of the handicraft; The three-dimensional image of the handicraft is disassembled according to the main structure and branch structure of the handicraft to obtain the main three-dimensional image and the branch three-dimensional image of the handicraft; The main body and branch parts are made according to the main body three-dimensional diagram and branch three-dimensional diagram of the handicraft.
3. The automatic painting method for handicrafts according to claim 1, characterized in that: Determining a segmentation line on the part according to the color distribution of the part of the three-dimensional image corresponding to the part includes: For each pixel of the partial three-dimensional image corresponding to the part, determine whether the RGB value of the pixel is the same as that of the adjacent pixel, and if not, determine the pixel as an edge pixel; Connect adjacent edge pixels with the same RGB values to obtain an edge pixel connection belt; The junction of adjacent edge pixel connection strips is determined as a junction line; The position of the boundary line in the partial three-dimensional image of the part is mapped onto the part to obtain the segmentation line.
4. The automatic painting method for handicrafts according to claim 1, characterized in that: The step of distinguishing the independent surface of the part divided by the dividing line as an open surface or a non-open surface includes: For the part where the number of segmentation lines is 0, the entire area of the part is determined as an open surface; For the part where the number of dividing lines is not 0, it is determined whether the independent faces divided by the dividing lines of the part are respectively attached to the two dividing lines. If so, it is determined to be a non-open face, otherwise, it is determined to be an open face.
5. The automatic painting method for handicrafts according to claim 1, characterized in that: The step of spraying paint on the open surfaces of the parts respectively comprises: S501, numbering the open surface of the part; S502, selecting an open surface B of the part according to the sequence of numbers; S503, performing immersion protection on all open surfaces except open surface B, and spraying paint on open surface B; S504, after each painting, remove the protective film formed by the immersion protection; S505, repeat S502-S504 until all open surfaces of the part are sprayed with paint.
6. The automatic painting method for handicrafts according to claim 1, characterized in that: The step of impregnating all independent surfaces other than the non-open surface A for protection also includes: For each independent surface other than the non-open surface A, determine whether the independent surface is to be painted, and if so, set a gas injection part on the independent surface; If the independent surface has not been painted, no operation is performed.
7. The automatic painting method for handicrafts according to claim 1, characterized in that: The step of impregnating and protecting all independent surfaces except the non-open surface A comprises: Determine the dividing line where the non-open surface A is attached; For any dividing line that is adjacent to the non-open surface A, vertically immerse the sub-portion outside the dividing line that does not include the side of the non-open surface A into the protective liquid; When the lowest point of the dividing line contacts the liquid surface of the protective liquid, the angle of the portion is adjusted so that a protective film is formed on the sub-portion of the dividing line that does not include the non-open surface A to complete the immersion protection.
8. The automatic painting method for handicrafts according to claim 1, characterized in that: The spray painting of the non-open surface A comprises: Determine the paint a of the color corresponding to the non-open surface A; Use paint a to spray paint the non-open surface A in all directions.
9. The automatic painting method for handicrafts according to claim 1, characterized in that: The method for eliminating the protective film formed by immersion protection comprises: For independent surfaces with gas injection parts, use a gas injection needle to inject compressed air into the air inlet of the gas injection part to eliminate the protective film formed by the immersion protection and quickly expand and separate from the parts, and eliminate the protective film after separation; For independent surfaces without gas injection parts, the protective film formed by the immersion protection is peeled off and removed.
10. The automatic painting method for handicrafts according to claim 1, characterized in that: The automatic painting method for handicrafts also includes: After each painting, the independent surface that has been painted is dried; After all the independent surfaces have been painted, the different parts are joined together according to the three-dimensional drawing of the craft to form a craft.