A 3D printing wire coloring method, device, equipment and storage medium

By converting a color 3D model into a ribbon trajectory and inkjet-dyed white filament, the problems of complex structure and cumbersome consumable management of 3D printing equipment are solved, and color printing is simplified and popularized.

CN121650248BActive Publication Date: 2026-04-17SHANGHAI RONGYUE ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI RONGYUE ELECTRONIC TECH CO LTD
Filing Date
2026-02-06
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing 3D printing equipment suffers from complex structures, cumbersome consumable management, and color difference issues when achieving color printing. In particular, desktop equipment is complicated by the simultaneous supply of multiple consumable lines, making equipment complex and consumable management difficult.

Method used

The colored 3D model is converted into a ribbon trajectory associated with the length of the wire. Colored wires are generated by inkjet dyeing a single white wire, simplifying equipment and consumable management.

Benefits of technology

Achieving color printing using a single white filament simplifies 3D printing equipment and consumable management, reducing equipment complexity and the difficulty of consumable management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121650248B_ABST
    Figure CN121650248B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, device, and storage medium for coloring 3D printing filaments. The method includes: converting a colored 3D model of the object to be printed into a ribbon trajectory associated with the filament length; sequentially coloring a single white filament used for 3D printing with inkjet ink according to the ribbon trajectory to obtain a colored filament; and obtaining a 3D printed colored filament from the colored filament. This invention achieves colorization in 3D printing using only a single white filament, thereby simplifying the management of 3D printing equipment and consumables.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of printing technology, and in particular to a method, apparatus, device, and storage medium for coloring 3D printing filaments. Background Technology

[0002] 3D printing technology has gradually penetrated into various industries. Compared with traditional manufacturing methods, the core advantage of 3D printing is that it can quickly transform creative ideas into physical models without the need for mold making, which greatly shortens the product development and creative verification cycle.

[0003] In the 3D printing consumable system, materials can be categorized by form into filaments and particulate materials. Particulate materials are primarily used in industrial-grade 3D printing technologies such as selective laser sintering (SLS) and selective laser melting (SLM). These materials require high-temperature lasers for melting and forming, resulting in extremely high costs for the associated color forming equipment, making them unsuitable for widespread application in small and medium-sized 3D printing equipment. Therefore, desktop 3D printing equipment generally uses filaments for 3D printing. However, one common method for achieving color printing in desktop 3D printing is to simultaneously supply and switch between multiple filaments. This leads to complex structures and cumbersome consumable management in 3D printing equipment. Furthermore, pre-fabricated filaments of various colors may exhibit color differences. Even when using existing filament colors for color matching, strong color identification capabilities and software compatibility are required; otherwise, it necessitates continuously purchasing various colors of filament, further exacerbating the complexity of consumable management. Summary of the Invention

[0004] To address the aforementioned problems in the prior art, this invention provides a 3D printing filament coloring method, apparatus, device, and storage medium, which simplifies the management of 3D printing equipment and consumables.

[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a method for coloring 3D printing filaments, comprising:

[0007] Convert the color 3D model of the object to be printed into a ribbon trajectory associated with the length of the filament;

[0008] According to the color ribbon trajectory, the single white filament used for 3D printing is sequentially inkjet dyed to obtain dyed filament.

[0009] 3D printed colored filaments are obtained from the dyed filaments.

[0010] The beneficial effects of this invention are as follows: by reducing the color three-dimensional model of the object to be printed to a one-dimensional color ribbon trajectory, and then inkjet dyeing a single white filament according to the color ribbon trajectory, a 3D printing colored filament is obtained. In this way, 3D printing can be colorized using a single white filament, thereby simplifying the management of 3D printing equipment and consumables.

[0011] Optionally, converting the color 3D model of the object to be printed into a ribbon trajectory associated with the wire length includes:

[0012] The colored 3D model of the object to be printed is sliced ​​and path planned to obtain the printing path in 3D space and the color information of each printing point on the printing path;

[0013] The printing path is resampled by arc length, and the color information of each printing point on the printing path is mapped to generate a color band trajectory with the wire length index as the independent variable and the color information as the dependent variable.

[0014] Optionally, the process of generating the color band trajectory includes:

[0015] The formula for converting color information from the RGB color space to CMYK color information based on color ratios is:

[0016] K = 1 - max(R, G, B);

[0017] C = (1-RK) / (1-K);

[0018] M = (1-GK) / (1-K);

[0019] Y = (1-BK) / (1-K);

[0020] C+M+Y+K≤I max ;

[0021] In the formula, K, C, M, and Y represent four colorants: black, cyan, magenta, and yellow, respectively; R, G, and B represent three primary colors: red, green, and blue, respectively; and I represents... max The maximum total amount of ink allowed to be sprayed onto a unit area of ​​filament surface.

[0022] Optionally, the step of sequentially inkjet-dyeing a single white filament for 3D printing according to the ribbon trajectory to obtain a dyed filament includes:

[0023] A single white filament used for 3D printing is pulled and moved at a constant speed along its axis.

[0024] The displacement of the white wire is measured by an encoder, and a pulse signal proportional to the displacement is generated.

[0025] The wire length index is updated based on the pulse signal to obtain the real-time length index;

[0026] Based on the real-time length index, query the target color information corresponding to the real-time length index from the color band trajectory;

[0027] The coloring device is triggered by the real-time length index to inkjet-color the white wire according to the target color information.

[0028] Optionally, the step of triggering the coloring device based on the real-time length index to inkjet-color the white thread according to the target color information includes:

[0029] The real-time correction index s for compensating for the response delay of the shading device is calculated based on the real-time length index. co :

[0030] s co =s t +v×τ;

[0031] In the formula, s t Here, v is the real-time length index, v is the moving speed of the white wire, and τ is the response delay time obtained by the coloring device during the debugging phase.

[0032] The real-time correction index triggering coloring device performs inkjet coloring on the white line according to the target color information.

[0033] Optionally, obtaining 3D printed colored filament from the dyed filament includes:

[0034] The dyed thread is initially dried;

[0035] High-temperature color fixing is performed on the pre-dried dyed yarn;

[0036] The dyed yarn, which has been fixed at high temperature, is then washed with water and air-dried.

[0037] A protective layer is applied to the washed and air-dried dyed filaments to obtain 3D printed colored filaments.

[0038] Optionally, the method further includes:

[0039] When the 3D printing colored filament is used for 3D printing, the object is printed using the same length index as the ribbon track.

[0040] In a second aspect, the present invention provides a 3D printing filament coloring apparatus, comprising:

[0041] The model dimensionality reduction module converts the color 3D model of the object to be printed into a color ribbon trajectory related to the length of the wire.

[0042] The filament dyeing module sequentially dyes a single white filament used for 3D printing with inkjet ink according to the color ribbon trajectory to obtain dyed filament.

[0043] The filament forming module produces 3D printed colored filament based on the dyed filament.

[0044] Thirdly, the present invention provides a computer device, comprising: one or more processors, and a memory;

[0045] The memory stores computer-readable instructions that, when executed by the one or more processors, perform the steps of the method as described in the first aspect.

[0046] Fourthly, the present invention provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the method as described in the first aspect.

[0047] The technical effects of the 3D printing filament coloring apparatus provided in the second aspect, the computer device provided in the third aspect, and the storage medium provided in the fourth aspect are described in the relevant description of the 3D printing filament coloring method provided in the first aspect. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the main process of a 3D printing filament coloring method according to an embodiment of the present invention;

[0049] Figure 2 This is a schematic diagram of the process of a 3D printing filament coloring method according to an embodiment of the present invention;

[0050] Figure 3 This is a schematic diagram of the structure of a 3D printing filament coloring device according to an embodiment of the present invention;

[0051] Figure 4 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Detailed Implementation

[0052] To better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that the present invention can be understood more clearly and thoroughly, and that the scope of the present invention can be fully conveyed to those skilled in the art.

[0053] The embodiments of this application are applied to scenarios requiring the 3D printing of colored objects. Existing technologies require the use of multiple colors of filament, which makes the overall structure of the 3D printing equipment and the management of consumables more complex.

[0054] Therefore, in various embodiments of this application, the colored 3D model of the object to be printed is converted into a ribbon trajectory associated with the filament length; according to the ribbon trajectory, a single white filament used for 3D printing is sequentially inkjet-dyed to obtain a dyed filament; and a 3D printed colored filament is obtained from the dyed filament. Thus, 3D printing can be colorized using only a single white filament, thereby simplifying the management of 3D printing equipment and consumables.

[0055] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.

[0056] This application provides a method for coloring 3D printed filaments, such as... Figure 1 As shown, the method includes:

[0057] Step S101: Convert the color 3D model of the object to be printed into a ribbon trajectory associated with the length of the wire.

[0058] When 3D printing is required, a colored 3D model of the object to be printed must first be created or imported. This colored 3D model itself contains positional and color information. The colored 3D model is then converted into a one-dimensional ribbon trajectory. Each printing point on this ribbon trajectory also has index information of the filament length and color information. The i-th printing point is denoted as V. i (x i ,y i ,z i C i (R,G,B)), where x i ,y i ,z i For the position information of the i-th print point, C i (R,G,B) represents the color information of the i-th printing point.

[0059] Step S102: According to the ribbon trajectory, inkjet dyeing is performed on a single white filament used for 3D printing in sequence to obtain dyed filament.

[0060] In this process, based on the one-dimensional color ribbon trajectory, it corresponds to a single white wire. By simply inkjet printing the corresponding color information onto the white wire at the position corresponding to the color ribbon trajectory, the dyed wire is formed.

[0061] Because the substrate is filament, it cannot be printed in a full row of wide format like in regular printing. Existing printheads inject the same color ink into a row of nozzles, which is unsuitable for the process described in this application. In one embodiment of this application, the coloring device for inkjet dyeing uses a single-hole nozzle, with four or more nozzles in a row, corresponding to four or more colors. Alternatively, a printhead with each nozzle individually supplied with ink can also be customized.

[0062] In one example, the white filament is made of PLA, which has a smooth surface and is easy to color. Of course, other 3D printing filament materials can be used in this application; the above example is for illustrative purposes only and does not limit the choice of filament material in this application.

[0063] Step S103: Obtain 3D printed colored filament based on the dyed filament.

[0064] The process involves fixing the dyed filament to obtain colored 3D printing filament. Since the color information of the 3D printing filament is based on the previously reduced-dimensional color band trajectory, printing with the colored filament in sequence only requires reversing the original dimensional reduction order to obtain the colored object to be printed. In this way, the entire printing equipment only requires a single white filament to achieve color 3D printing, thus simplifying the management of 3D printing equipment and consumables.

[0065] In one embodiment, step S101 includes:

[0066] Step S1011: Slice and plan the path of the colored 3D model of the object to be printed to obtain the printing path in 3D space and the color information of each printing point on the printing path.

[0067] During the slicing process, the colored 3D model is layered according to its height h. For each model layer, strips are cut according to the thickness of the white filament, forming multiple interconnected model lines. Since each printing point has positional information, different model lines and different model layers are arranged according to the printing order to obtain a printing path. Considering that the subsequent 3D printing of the colored filament is done from bottom to top, a preferred example is that the printing path proceeds sequentially from the top model layer to the bottom model layer, with each model layer arranged according to a predetermined direction.

[0068] Step S1012: Resample the arc length of the printing path, map the color information of each printing point on the printing path, and reduce the dimension to generate a color band trajectory with the wire length index as the independent variable and the color information as the dependent variable.

[0069] At this point, by resampling the arc length according to the printing path and mapping the color information, we can obtain the ribbon trajectory with the wire length index as the independent variable and the color information as the dependent variable.

[0070] In this embodiment, the path color interpolation formula is:

[0071] RGB s =Interp(C i C i+1, …,C n );

[0072] In this embodiment, the wire length index is:

[0073] s=ΣΔL;

[0074] ΔL=ΔE / A f (Volume mode) or ΔL=ΔE (Length mode);

[0075] A f =π(d f / 2) 2 ;

[0076] Since the subsequent inkjet dyeing uses a colorant, the color information in this embodiment needs to be converted. Therefore, the process of generating the color band trajectory includes:

[0077] The formula for converting color information from the RGB color space to CMYK color information based on color ratios is:

[0078] K = 1 - max(R, G, B);

[0079] C = (1-RK) / (1-K);

[0080] M = (1-GK) / (1-K);

[0081] Y = (1-BK) / (1-K);

[0082] C+M+Y+K≤I max ;

[0083] In the formula, K, C, M, and Y represent four colorants: black, cyan, magenta, and yellow, respectively; R, G, and B represent three primary colors: red, green, and blue, respectively; and I represents... max The maximum total amount of ink allowed to be sprayed onto a unit area of ​​filament surface.

[0084] It should be noted that when K=1, i.e., black, C=M=Y=0 is defined.

[0085] In one example, I maxThe ratio is set to 240%, thus constraining the proportions of the four colorants. Therefore, the final color band track is obtained as Track={(s i C i M i ,Y i ,K i )}.

[0086] In one embodiment, step S102 includes:

[0087] Step S1021: Pull a single white filament for 3D printing and move it at a constant speed along its axis.

[0088] The white wire can be moved by mechanical components such as rollers and pulleys. Existing mature technologies can be used for these mechanical components, which does not restrict other designs of this application.

[0089] Step S1022: Measure the displacement of the white wire using an encoder and generate a pulse signal proportional to the displacement.

[0090] When the white wire passes through the encoder, the encoder measures the displacement of the white wire and generates a 1ppm pulse for every millimeter of displacement, thus forming a direct proportional relationship between the displacement and the pulse signal.

[0091] Step S1023: Update the wire length index according to the pulse signal to obtain the real-time length index.

[0092] Each pulse signal triggers the inkjet controller to update the PWM once, with the duty cycle proportional to the CMYK value. At the same time, the wire length index is updated, so that the displacement of the white wire will cause the length index to change.

[0093] Step S1024: Based on the real-time length index, query the target color information corresponding to the real-time length index from the color band trajectory.

[0094] By changing the length index, new length indexes and color information are continuously obtained to continuously complete the inkjet dyeing of the white line.

[0095] Step S1025: Based on the real-time length index, the coloring device is triggered to inkjet dye the white wire according to the target color information.

[0096] In one embodiment, considering the delay in the response of the coloring device, this embodiment further refines step S1025, including:

[0097] The real-time correction index s is calculated based on the real-time length index to compensate for the shading device response latency. co :

[0098] sco =s t +v×τ;

[0099] In the formula, s t τ is the real-time length index, v is the moving speed of the white line, and τ is the response delay time obtained by the coloring device during the debugging phase.

[0100] The real-time correction index triggering coloring device inkjet dyes the white line according to the target color information.

[0101] In this embodiment, during the debugging phase, the response delay time of the coloring device is first obtained, and then real-time compensation is performed to automatically correct the jetting position. Based on practical experience, the response delay time of the coloring device is typically 2–10 ms. For example, if the response delay time obtained during a 3D printing is 5 ms, then this 5 ms delay error is corrected in every calculation during normal printing, thereby achieving real-time synchronization of inkjet coloring and filament displacement.

[0102] Therefore, in a specific example, the simplified version of the inkjet synchronization code is as follows:

[0103] for each ΔL_segment:

[0104] pulses = ppmm × ΔL

[0105] for i in range(pulses):

[0106] CMYK=lookup(track,s)

[0107] PWM = 100% × CMYK

[0108] s_co=s+v×τ #delay compensation

[0109] nozzle_fire(PWM, s_co)

[0110] s+=(1 / ppmm)

[0111] In one embodiment, such as Figure 2 It can be seen that step S103 includes:

[0112] Step S1031: Perform preliminary drying on the dyed thread.

[0113] Because the wires are very thin, the color can flow down the wires, causing color mixing. Therefore, step S1031 involves pre-drying the dyed wires to prevent the color from adhering to the transmission lines and causing color mixing.

[0114] Step S1032: Perform high-temperature color fixing on the pre-dried dyed thread.

[0115] Step S1032 mainly involves further color fixing to further reduce color mixing.

[0116] Specifically, the temperature required for high-temperature color fixing should be lower than the melting point of the white filament and higher than the curing temperature of the ink. For example, the melting point of the PLA material in the example above is generally 220~280℃. The curing temperature of different printing inks is also different, usually between 90~150℃, and you can choose 160℃, 180℃, etc.

[0117] Step S1033: Wash and air dry the dyed thread that has been fixed at high temperature.

[0118] The process of washing and air drying serves two purposes: firstly, it cleans the dyed yarn that has been fixed at high temperatures and removes excess dye; secondly, it cools the dyed yarn down to room temperature to avoid affecting its tension.

[0119] Step S1034: Apply a protective layer to the washed and air-dried dyed filament to obtain 3D printed colored filament.

[0120] In this embodiment, the protective layer is applied by adding lubricating oil, which is to prevent adhesion during the subsequent 3D printing melting process.

[0121] It should be noted that the above steps S1031 to S1034 are mature coloring technologies in inkjet printing. Therefore, this application will not elaborate on the specific implementation process. The above steps illustrate a preferred implementation method. In other embodiments, apart from a color fixing process, other steps can be deleted or added according to the actual situation and needs. The specific implementation method of each process can also be modified according to the actual situation.

[0122] Therefore, in one embodiment, regarding how to achieve color reproduction of the object to be printed when the 3D printing colored filaments obtained in the above embodiments are used for 3D printing, the above embodiments are followed by:

[0123] When using colored 3D printing filaments for 3D printing, the same length index as the ribbon track is used to print the object.

[0124] During 3D printing, a alignment code mark s=0 is printed at the beginning of the spool; when changing spools, s is recorded. offset To ensure continuity accuracy, the object is printed using the same length index as the ribbon trajectory. Simultaneously, the color of each millimeter of filament is mapped back to the model space coordinates during printing. This ensures that the printed object model and the color of the printed 3D model are consistent.

[0125] In a specific example, a simplified version of the print-side firmware code is as follows:

[0126] for each extrusion:

[0127] ΔL=ΔE / Af

[0128] s+=ΔL

[0129] CMYK=lookup(track,s)

[0130] blend_color(CMYK)

[0131] Therefore, the present invention provided by the above embodiments provides a 3D printing filament coloring method, which effectively breaks through the bottlenecks of traditional color 3D printing in terms of cost, complexity and quality, and lays a solid technical foundation for realizing the convenience, popularization and commercial application of color 3D printing.

[0132] In one embodiment, such as Figure 3 As shown, this application also provides a 3D printing filament coloring apparatus, comprising:

[0133] The model dimensionality reduction module 301 converts the color 3D model of the object to be printed into a color ribbon trajectory related to the length of the wire.

[0134] The filament dyeing module 302 sequentially dyes a single white filament used for 3D printing with inkjet ink according to the color ribbon trajectory to obtain dyed filament.

[0135] The wire forming module 303 produces 3D printed colored wire based on the dyed wire.

[0136] In one embodiment, such as Figure 4 As shown, this application also provides a computer device 400, comprising:

[0137] Communication interface 401 allows for information exchange with other devices or network nodes.

[0138] One or more processors 402 are connected to a communication interface 401 to enable information interaction with other devices or network nodes, and to execute the methods provided by one or more technical solutions in the above embodiments when running computer programs.

[0139] Memory 403 is used to store computer-readable instructions that can be executed on processor 402. When executed by one or more processors 402, the computer-readable instructions perform the steps of the software development method as described in the above embodiments.

[0140] The computer device 400 in this embodiment only shows a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device to which the present application solution is applied. A specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, such as power supply, input / output interfaces, etc. Furthermore, the computer device 400 of this embodiment can operate on an operating system stored in memory 403, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or similar.

[0141] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the software development method as described in the above embodiments.

[0142] The computer-readable instructions in the aforementioned computer device 400 and storage medium may be application programs.

[0143] In addition, the specific descriptions of the technical effects and steps corresponding to the 3D printing filament coloring apparatus, computer device 400 and storage medium in the above embodiments are all based on the relevant descriptions of the embodiments in which the 3D printing filament coloring method is located.

[0144] Since the systems / devices described in the above embodiments of the present invention are systems / devices used to implement the methods of the above embodiments of the present invention, those skilled in the art can understand the specific structure and modifications of the systems / devices based on the methods described in the above embodiments of the present invention, and therefore will not be repeated here. All systems / devices used in the methods of the above embodiments of the present invention fall within the scope of protection of the present invention.

[0145] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0146] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions.

[0147] It should be noted that any reference numerals placed between parentheses in the claims should not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In claims that enumerate several means, several of these means may be embodied by the same hardware. The use of the terms first, second, third, etc., is merely for convenience of expression and does not indicate any order. These terms can be understood as part of the component names.

[0148] Furthermore, it should be noted that in the description of this specification, the terms "one embodiment," "some embodiments," "embodiment," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0149] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the claims should be interpreted to include both the preferred embodiments and all changes and modifications falling within the scope of the invention.

[0150] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, then this invention should also include these modifications and variations.

Claims

1. A method for coloring 3D printing filaments, characterized in that, include: Convert the color 3D model of the object to be printed into a ribbon trajectory associated with the length of the filament; According to the color ribbon trajectory, individual white filaments used for 3D printing are sequentially inkjet-dyed to obtain dyed filaments, including: A single white filament used for 3D printing is pulled and moved at a constant speed along its axis. The displacement of the white wire is measured by an encoder, and a pulse signal proportional to the displacement is generated. The wire length index is updated based on the pulse signal to obtain the real-time length index; Based on the real-time length index, query the target color information corresponding to the real-time length index from the color band trajectory; The real-time length index-triggered coloring device performs inkjet coloring on the white wire according to the target color information, including: The real-time correction index s for compensating for the response delay of the shading device is calculated based on the real-time length index. co : s co =s t +v×τ; In the formula, s t Here, v is the real-time length index, v is the moving speed of the white wire, and τ is the response delay time obtained by the coloring device during the debugging phase. Based on the real-time correction index triggering coloring device, the white wire is inkjet-dyed according to the target color information; 3D printed colored filaments are obtained from the dyed filaments.

2. The method according to claim 1, characterized in that, The process of converting the color 3D model of the object to be printed into a ribbon trajectory associated with the wire length includes: The colored 3D model of the object to be printed is sliced ​​and path planned to obtain the printing path in 3D space and the color information of each printing point on the printing path; The printing path is resampled by arc length, and the color information of each printing point on the printing path is mapped to generate a color band trajectory with the wire length index as the independent variable and the color information as the dependent variable.

3. The method according to claim 2, characterized in that, The process of generating the color band trajectory includes: The formula for converting color information from the RGB color space to CMYK color information based on color ratios is: K = 1 - max(R, G, B); C = (1-RK) / (1-K); M = (1-GK) / (1-K); Y = (1-BK) / (1-K); C+M+Y+K≤I max ; In the formula, K, C, M, and Y represent four colorants: black, cyan, magenta, and yellow, respectively; R, G, and B represent three primary colors: red, green, and blue, respectively; and I represents... max The maximum total amount of ink allowed to be sprayed onto a unit area of ​​filament surface.

4. The method according to any one of claims 1 to 3, characterized in that, The process of obtaining 3D printed colored filament from the dyed filament includes: The dyed thread is initially dried; High-temperature color fixing is performed on the pre-dried dyed yarn; The dyed yarn, which has been fixed at high temperature, is then washed with water and air-dried. A protective layer is applied to the washed and air-dried dyed filaments to obtain 3D printed colored filaments.

5. The method according to claim 1, characterized in that, Its methods also include: When the 3D printing colored filament is used for 3D printing, the object is printed using the same length index as the ribbon track.

6. A 3D printing filament coloring device, characterized in that, include: The model dimensionality reduction module converts the color 3D model of the object to be printed into a color ribbon trajectory related to the length of the wire. The filament dyeing module sequentially dyes individual white filaments used for 3D printing with inkjet ink according to the color ribbon trajectory, resulting in dyed filaments, including: A single white filament used for 3D printing is pulled and moved at a constant speed along its axis. The displacement of the white wire is measured by an encoder, and a pulse signal proportional to the displacement is generated. The wire length index is updated based on the pulse signal to obtain the real-time length index; Based on the real-time length index, query the target color information corresponding to the real-time length index from the color band trajectory; The real-time length index-triggered coloring device performs inkjet coloring on the white wire according to the target color information, including: The real-time correction index s for compensating for the response delay of the shading device is calculated based on the real-time length index. co : s co =s t +v×τ; In the formula, s t Here, v is the real-time length index, v is the moving speed of the white wire, and τ is the response delay time obtained by the coloring device during the debugging phase. Based on the real-time correction index triggering coloring device, the white wire is inkjet-dyed according to the target color information; The filament forming module produces 3D printed colored filament based on the dyed filament.

7. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions that, when executed by the one or more processors, perform the steps of the method as described in any one of claims 1 to 5.

8. A storage medium, characterized in that: The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Modeling wire dyeing device

    CN106553334A

  • Identification code for color thermal print ribbons

    CN1329546A