Pattern file generation method, generation system and medium
By obtaining and compiling the pattern of craftsmanship, the flower -type file containing multiple needle data maps is generated, and the problem of complex operation of the four -way shoe and socks machines is solved, and the rapid, accurate and efficient flower -type file generation is realized.
Patent Information
- Application Number
- CN202110475189.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2041-04-29
AI Technical Summary
The existing four-way shoe and sock machines face complicated operation processes during the production process, making it difficult to achieve fast, accurate and efficient pattern file generation.
By obtaining the pattern of the craftsmanship, compile and split the formation of flower -type files containing more than two needle data maps to achieve fast version and efficient weaving.
The weaving efficiency is improved, the operation process is simplified, the reliability of the mode of modeling systems is enhanced, the management cost is reduced, and the rapid and accurate flower formation is achieved.
Smart Images

Figure CN113343418B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of knitting technology, and in particular to a method, system and medium for generating a pattern file. Background Art
[0002] The four-way shoe and sock machine has four groups of shuttles, each group of shuttles is 90 degrees apart and evenly placed on the four positions of the needle cylinder. These four groups of shuttles are called "1st", "2nd", "3rd" and "4th" respectively. Each path is the main shuttle, and has its own independent looping triangle track, which can form loops independently. In addition, in the four-way shoe and sock machine, there are different operating modes, needle outlet positions and different needle selectors, which face complicated operation processes in the actual production process. Summary of the invention
[0003] The main technical problem solved by the present application is to provide a method, system and medium for generating pattern files, so as to have the ability of drawing and disassembly, realize rapid plate making, and accurately and efficiently generate pattern files.
[0004] In order to solve the above technical problems, the technical solution adopted in the present application is to provide a method for generating a pattern file, including: obtaining a pattern design diagram, the pattern design diagram is converted from the coils of the fabric, wherein at least one row of the pattern design diagram corresponds to a pattern woven by at least two main shuttles; compiling the pattern design diagram to form a first compiled intermediate diagram, the first compiled intermediate diagram corresponds to an action diagram showing each path and each row, wherein a half-position needle diagram is formed between two adjacent patterns in the same row; compiling and splitting the first compiled intermediate diagram to form a pattern file, the pattern file includes more than two needle selection data diagrams, and the needle selection data diagram corresponds to an action diagram of each row of needle output of the main shuttle controlled by a needle selector.
[0005] In addition, the present application also includes a second technical solution, providing a pattern file generation system, including: the generation system includes a memory and a processor, the memory is connected to the processor, the memory is used to store a computer program, and the processor is used to execute the computer program to implement the steps of the above-mentioned pattern file generation method.
[0006] In addition, the present application also includes a third technical solution, a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for generating a pattern file are implemented.
[0007] The beneficial effects of the present application are as follows: the method for generating a pattern file in the embodiment of the present application, by compiling and splitting the pattern design diagram, obtains a pattern file containing more than two needle selection data diagrams, which is convenient for knitting machines such as footwear machines to read and perform rapid knitting, and can enable more than two needle selectors to control the main shuttle to pull out needles for simultaneous knitting or adjust the knitting sequence to improve knitting efficiency. The method for generating a pattern file in the embodiment of the present application is clear, easy to understand, and easy for users to use, so that the plate making system has higher reliability, reduces management costs, and can make plates quickly and accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0009] Figure 1 It is a flow chart of an embodiment of a method for generating a pattern file of the present application;
[0010] Figure 2 It is a flow chart of another embodiment of the method for generating a pattern file of the present application;
[0011] Figure 3 This application is designed Figure 1 Schematic diagram of an embodiment.
[0012] Figure 4 This is the first compilation of this application Figure 1 Schematic diagram of an embodiment.
[0013] Figure 5 It is a schematic diagram of the structure of a memory embodiment of the present application.
[0014] Figure 6 It is a structural diagram of an embodiment of a storage medium of the present application. DETAILED DESCRIPTION
[0015] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0016] The terms "first" and "second" in this application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0017] See also Figure 1 , Figure 1 The following is a flow chart of the method for generating a pattern file of the present application. The method for generating a pattern file of the present implementation includes the following steps:
[0018] S110: Obtaining a pattern design diagram, where the pattern design diagram is converted from the coils of the fabric, wherein at least one row of the pattern design diagram corresponds to a pattern woven by at least two main shuttles.
[0019] In the embodiment of the present application, the pattern design diagram is drawn by the user in the first layer. In the embodiment of the present application, the pattern design diagram is to convert the coils of the fabric into grids, fill the grids with different colors, and indicate the shuttle used by each coil. In the embodiment of the present application, the pattern design diagram is also called a pattern thumbnail. Specifically, in the embodiment of the present application, each coil of the fabric is converted into a grid, and different colors are filled in the grid to indicate the shuttle used by each coil. When the shuttles used by the coils are the same, the same color is used to fill the grid.
[0020] In the embodiment of the present application, the pattern design diagram may include multiple rows, one or two or several rows of which correspond to the patterns formed by at least two shuttle weavings, or all rows may correspond to the patterns formed by at least two shuttle weavings. Specifically, in the embodiment of the present application, the same row includes the patterns formed by four main shuttle weavings, so that the pattern file generation method of the present application can be used for a four-way footwear machine. For example, in the embodiment of the present application, red represents the first main shuttle, green represents the second main shuttle, yellow represents the third main shuttle, and blue represents the fourth main shuttle.
[0021] In other embodiments, the same row includes patterns corresponding to two-way shuttle weaving, so that the pattern file generation method of the present application can be used for a two-way footwear machine. Or the same row includes patterns corresponding to three-way shuttle weaving, so that the pattern file generation method of the present application can be used for a three-way footwear machine.
[0022] In the embodiment of the present application, a separate layer is created for the pattern design drawing to form the first layer 01 (see Figure 3 ).
[0023] S120: compile the pattern design diagram to form a first compiled intermediate diagram, the first compiled intermediate diagram correspondingly displays the action diagram of each route and each row, wherein a half-position needle diagram is formed between two adjacent routes of patterns in the same row.
[0024] In the embodiment of the present application, the pattern design diagram is compiled so that the compiled pattern design diagram can meet the recognition of the knitting mechanism of shoes and socks. Specifically, the embodiment of the present application compiles the pattern design diagram to form a first compiled intermediate layer, so that the first compiled intermediate layer can display the action of each shuttle in each row, so that the knitting mechanism can recognize it. In the embodiment of the present application, since the same row includes patterns woven by at least two adjacent main shuttles, the two adjacent shuttles form a half-position needle diagram at the junction position, so that the two adjacent shuttles form a half-position needle diagram at the junction position during the knitting process 03 (see Figure 4 ) to connect two adjacent ribbons in the same row through half-position needle 03.
[0025] Specifically, in the embodiment of the present application, the half-position needle 03 of the first compiled intermediate diagram is distinguished by filling different color codes. For example, the half-position needle 03 between the first main shuttle and the second main shuttle is the first half-position needle, and the weaving thread used by the first half-position needle is the same as the weaving thread used by the second main shuttle; the half-position needle between the second main shuttle and the third main shuttle is the second half-position needle, and the weaving thread used by the second half-position needle is the same as the weaving thread used by the third main shuttle; the half-position needle between the third main shuttle and the fourth main shuttle is the third half-position needle, and the weaving thread used by the third half-position needle is the same as the weaving thread used by the fourth main shuttle. In the embodiment of the present application, according to the weaving direction, the weaving thread used by the half-position needle between two adjacent routes is the same as the weaving thread used by the shuttle that starts to take over. The first half position needle, the second half position needle and the third half position needle etc. can be distinguished by different colors. For example, the first half position needle is light purple, the second half position needle is dark purple, and the third half position needle is rose red, so as to distinguish different half position needles by different colors.
[0026] In one embodiment of the present application, the main shuttle operates in a counterclockwise direction for one circle, and then reverses in a clockwise direction for one circle. In the embodiment of the present application, the pattern design diagram is compiled into a first compiled intermediate diagram in units of two lines. The first compiled intermediate diagram is in units of two lines, and the two lines are the lines corresponding to the forward rotation and the lines corresponding to the reverse rotation, and the direction of the lines corresponding to the reverse rotation is opposite to that of the lines corresponding to the forward rotation.
[0027] Among them, 1C represents the full position needle formed by the first forward rotating main shuttle, and 1T represents the full position needle formed by the first reverse rotating main shuttle;
[0028] 2C represents the full position needle formed by the main shuttle rotating forward in the second route, and 2T represents the full position needle formed by the main shuttle rotating backward in the second route;
[0029] 3C represents the full position needle formed by the main shuttle rotating in the third direction, and 3T represents the full position needle formed by the main shuttle rotating in the third direction in the reverse direction.
[0030] 4C represents the full-position needle formed by the fourth forward-rotating main shuttle, and 4T represents the full-position needle formed by the fourth reverse-rotating main shuttle.
[0031] In one embodiment of the present application, the operation mode of the main shuttle is counterclockwise rotation. The pattern design drawing is compiled into the first compiled intermediate drawing in units of one line. Among them, the operation mode of the main shuttle is all forward rotation. In other embodiments, the operation mode of the main shuttle can also be all reverse rotation. In the embodiment of the present application, the pattern design drawing is compiled into the first compiled intermediate drawing in units of one line.
[0032] In the embodiment of the present application, similarly, when the operation modes are all forward, the full-position needles formed by the four-way forward main shuttles are also used to represent 1C, 2C, 3C and 4C.
[0033] In the embodiment of the present application, the layer where the first compiled intermediate image is located is a separate layer, which is the second layer 02 (see Figure 4 ) to distinguish the first coding intermediate image from the pattern design image. In other embodiments, the first coding intermediate image and the pattern design image may be located in the same layer and distributed in different areas.
[0034] S130: Compile and split the first compiled intermediate graph to form a pattern file, wherein the pattern file includes more than two needle selection data graphs, and the needle selection data graphs correspond to the action graphs of each row of main shuttle needle output controlled by a needle selector.
[0035] In the embodiment of the present application, the first compiled intermediate graph is split to form more than two needle selection data graphs. In the embodiment of the present application, each needle selection data graph is a separate layer. In the embodiment of the present application, corresponding to a four-way footwear machine, 4 needle selection data graphs or 8 needle selection data graphs can be formed, or other 4n needle selection data graphs can be formed, where n is a positive integer less than or equal to 8; in other embodiments, when the formed pattern file is applied to a two-way footwear machine, 2 needle selection data graphs or 4 needle selection data graphs or 2n needle selection data graphs can be formed, where n is a positive integer less than or equal to 8; or, when the formed pattern file is applied to a three-way footwear machine, 3 needle selection data graphs or 6 needle selection data graphs or 3n needle selection data graphs can be formed, where n is a positive integer less than or equal to 8.
[0036] In the embodiment of the present application, more than two needle selection data maps are formed, and each needle selection data map corresponds to an action map of all rows of main shuttle needle output controlled by a needle selector, so that the footwear and socks machine can read the needle selection data map in the pattern file, and control each needle selector to control the main shuttle needle output for weaving according to the needle selection data map.
[0037] In the embodiment of the present application, taking the corresponding four-way footwear machine as an example, if the operation mode of the main shuttle is to rotate counterclockwise for one circle and then reverse clockwise for one circle, the corresponding needle selection data diagrams include "1C", "1T", "2C", "2T", "3C", "3T", "4C" and "4T" needle selection data diagrams, which are respectively used to display all the full-position needles formed by the first-way forward-rotating shuttle, the full-position needles formed by the first-way reversed shuttle, the full-position needles formed by the second-way forward-rotating shuttle, and the full-position needles formed by the second-way reversed shuttle; the full-position needles formed by the third-way forward-rotating shuttle, and the full-position needles formed by the third-way reversed shuttle; the full-position needles formed by the fourth-way forward-rotating shuttle, and the full-position needles formed by the fourth-way reversed shuttle. In the embodiment of the present application, by forming different needle selection data diagrams, the weaving order of different shuttles can be changed to improve the weaving efficiency.
[0038] If the main shuttle is running in the counterclockwise direction, the corresponding needle selection data diagrams include "1C", "2C", "3C" and "4C". Among them, for the "stripes" design diagram with pure forward rotation, the four-way knitting actions can be merged during compilation, so that the shoe and sock machine can knit four-way at the same time, improving knitting efficiency and saving time cost.
[0039] The method for generating a pattern file in the embodiment of the present application compiles and splits the pattern design diagram to obtain a pattern file containing more than two needle selection data diagrams, which is convenient for knitting machines such as footwear machines to read and quickly knit. More than two needle selectors can control the main shuttle to pull out needles for simultaneous knitting or adjust the knitting sequence to improve knitting efficiency. The method for generating a pattern file in the embodiment of the present application is clear, easy to understand, and easy for users to use, which makes the plate making system more reliable, reduces management costs, and enables fast and accurate plate making.
[0040] See also Figure 2 , Figure 2 This is a flow chart of another embodiment of the method for generating a pattern file of the present application. The method for generating a pattern file of the present embodiment includes the following steps:
[0041] S210: Obtaining a pattern design diagram, where the pattern design diagram is converted from the coils of the fabric, wherein at least one row of the pattern design diagram corresponds to a pattern woven by at least two main shuttles.
[0042] In the embodiment of the present application, the pattern design diagram is drawn by the user in the first layer. In the embodiment of the present application, the pattern design diagram is to convert the coils of the fabric into grids, fill the grids with different colors, and indicate the shuttle used by each coil. In the embodiment of the present application, the pattern design diagram is also called a pattern thumbnail. Specifically, in the embodiment of the present application, each coil of the fabric is converted into a grid, and different colors are filled in the grid to indicate the shuttle used by each coil. When the shuttles used by the coils are the same, the same color is used to fill the grid.
[0043] In an embodiment of the present application, the pattern design diagram may include multiple rows, one or two or several rows of which correspond to the patterns formed by at least two shuttle weavings, or all rows may correspond to the patterns formed by at least two shuttle weavings. Specifically, in an embodiment of the present application, the same row includes the patterns formed by four main shuttle weavings, so that the pattern file generation method of the present application can be used for a four-way footwear machine. In other embodiments, the same row includes the patterns formed by two shuttle weavings, so that the pattern file generation method of the present application can be used for a two-way footwear machine. Or the same row includes the patterns formed by three shuttle weavings, so that the pattern file generation method of the present application can be used for a three-way footwear machine.
[0044] In the embodiment of the present application, the main shuttle of the same route of the pattern design includes patterns formed by more than two shuttles. When more than two shuttles are used for the main shuttle of a route on the same row, the more than two shuttles cannot be woven at the same time. Figure 3 As shown, the embodiment of the present application takes a four-way footwear machine as an example. The main shuttle of the first route and the main shuttle of the second route on the same row respectively include two shuttles. In the embodiment of the present application, the first shuttle pair of the first route main shuttle is indicated in red, and the second shuttle pair of the first route main shuttle is indicated in orange; the first shuttle pair of the second route main shuttle is indicated in green, and the second shuttle pair of the second route main shuttle is indicated in light cyan; the third route main shuttle and the fourth route main shuttle respectively include one shuttle, the shuttle pair of the third route main shuttle is indicated in yellow, and the shuttle pair of the fourth route main shuttle is indicated in blue. In the embodiment of the present application, the first shuttle and the second shuttle of the first route main shuttle cannot be woven at the same time, and the first shuttle and the second shuttle of the second route main shuttle cannot be woven at the same time.
[0045] S220: compile the pattern design diagram to form a first compiled intermediate diagram, the first compiled intermediate diagram correspondingly displays the action diagram of each route and each row, wherein a half-position needle diagram is formed between two adjacent routes of patterns in the same row.
[0046] In the embodiment of the present application, the pattern design drawing is compiled so that the compiled pattern design drawing can meet the recognition of the knitting mechanism of shoes and socks. Specifically, the embodiment of the present application compiles the pattern design drawing to form a first compiled intermediate layer, so that the first compiled intermediate layer can display the action of each shuttle in each row, so that the knitting mechanism can recognize it. In the embodiment of the present application, since the same row includes patterns woven by at least two adjacent main shuttles, the two adjacent routes form a half-position needle diagram at the junction position, so that the two adjacent routes form a half-position needle at the junction position during the knitting process, so that the two adjacent ribbons in the same row can be connected by knitting with the half-position needle.
[0047] Specifically, in the embodiment of the present application, the half-position needles of the first compiled intermediate graph are distinguished by filling different color codes.
[0048] The patterns corresponding to the two needle cylinders selected by the needle selector of the same route are compiled in different rows to form a first compiled intermediate graph.
[0049] When the main shuttle of the same route includes patterns formed by more than two shuttles, when compiling the pattern design diagram, the patterns formed by the main shuttle of the same route including more than two shuttles are compiled in different rows to form the first compiled intermediate diagram, and the patterns formed by the main shuttles of different routes can be compiled in the same row. In the embodiment of the present application, it is applied to a four-route footwear machine, and the first compiled intermediate diagram corresponds to the action diagram of each row, and the action diagram of each row includes the action diagrams within four routes at the same time.
[0050] Specifically, Figure 4As shown, in the embodiment of the application, the first main shuttle and the second main shuttle on the same row respectively include two shuttles, and the third main shuttle and the fourth main shuttle respectively include one shuttle; the operation mode of the main shuttle is to rotate one circle in the counterclockwise direction, and then reverse one circle in the clockwise direction. In the embodiment of the application, the pattern design diagram is compiled into the first compiled intermediate diagram in units of two lines. Among them, the first compiled intermediate diagram is in units of two lines, and the two lines are the lines corresponding to the forward rotation and the lines corresponding to the reverse rotation, and the direction of the lines corresponding to the reverse rotation is opposite to that of the lines corresponding to the forward rotation. Specifically, the first compiled intermediate diagram is formed in two rows. The first row includes, from left to right, the first shuttle of the first main shuttle (corresponding to red), an empty needle, a half-position needle (the yarn used by the half-position needle is the same color as the yarn woven by the first shuttle of the second main shuttle), the first shuttle of the second main shuttle (corresponding to cyan), an empty needle, a half-position needle (the yarn used by the half-position needle is the same color as the yarn woven by the third main shuttle), the third main shuttle (corresponding to yellow), a half-position needle (the yarn used by the half-position needle is the same color as the yarn woven by the fourth main shuttle), the fourth main shuttle Shuttle (corresponding to blue); the second row from right to left includes the fourth main shuttle (corresponding to blue), half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the third main shuttle), the third main shuttle (corresponding to yellow), empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the first shuttle of the second main shuttle), the first shuttle of the second main shuttle (corresponding to cyan), empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the first shuttle of the first main shuttle), and the first shuttle of the first main shuttle (corresponding to red).
[0051] The third row includes, from left to right, empty needles, half needles (the yarn used by the half needles is the same color as the yarn woven by the second shuttle of the first main shuttle), the second shuttle of the first main shuttle (corresponding to orange), empty needles, half needles (the yarn used by the half needles is the same color as the yarn woven by the second shuttle of the second main shuttle), and the second shuttle of the second main shuttle (corresponding to light cyan); the fourth row includes, from right to left, empty needles, half needles (the yarn used by the half needles is the same color as the yarn woven by the second shuttle of the second main shuttle), the second shuttle of the second main shuttle (corresponding to light cyan), empty needles, half needles (the yarn used by the half needles is the same color as the yarn woven by the second shuttle of the first main shuttle), the second shuttle of the first main shuttle (corresponding to orange), and empty needles.
[0052] The first compiled intermediate graph of the embodiment of the present application is cycled from top to bottom in the arrangement order of the first row, the second row, the third row and the fourth row. In other embodiments, the first compiled intermediate graph may also be a partial row that is cycled from top to bottom in the arrangement order of the first row, the second row, the third row and the fourth row.
[0053] In the embodiment of the present application, the half-position needles can be distinguished by different colors.
[0054] In the embodiment of the present application, 1C is used to represent the full-position needle formed by the first shuttle and the second shuttle of the first forward rotation, and 1T is used to represent the full-position needle formed by the first shuttle and the second shuttle of the first reverse rotation.
[0055] 2C represents the full-position needle formed by the first shuttle and the second shuttle of the second forward rotation, and 2T represents the full-position needle formed by the first shuttle and the second shuttle of the second reverse rotation.
[0056] 3C represents the full-position needle formed by the third shuttle rotating forward, and 3T represents the full-position needle formed by the third shuttle rotating reversely.
[0057] 4C represents the full-position needle formed by the fourth shuttle rotating forward, and 4T represents the full-position needle formed by the fourth shuttle rotating reversely.
[0058] In one embodiment of the present application, the main shuttle operates in a counterclockwise forward direction. The pattern design drawing is compiled into a first compiled intermediate drawing in units of one line. Among them, the operation mode of the shuttle is all forward rotation. In other embodiments, the operation mode of the shuttle can also be all reverse rotation. In the embodiment of the present application, the pattern design drawing is compiled into a first compiled intermediate drawing in units of one line.
[0059] The first row includes, from left to right, the first shuttle of the first main shuttle (corresponding to red), empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the first shuttle of the second main shuttle), the first shuttle of the second main shuttle (corresponding to cyan), empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the third main shuttle), the third main shuttle (corresponding to yellow), half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the fourth main shuttle), and the fourth main shuttle (corresponding to blue); the second row includes, from left to right, empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the second shuttle of the first main shuttle), the second shuttle of the first main shuttle (corresponding to orange), empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the second shuttle of the second main shuttle), and the second shuttle of the second main shuttle (corresponding to light cyan).
[0060] In the embodiment of the present application, similarly, when the operation mode is forward rotation, the full-position needle formed by the four-way forward rotation shuttle is also used to represent 1C, 2C, 3C and 4C.
[0061] In the embodiment of the present application, the layer where the first compiled intermediate image is located is a separate layer for easy distinction. In other embodiments, the first compiled intermediate image may also be located in the same layer as the pattern design image and distributed in different areas.
[0062] S230: Modify the first compiled intermediate graph to form a second compiled intermediate graph.
[0063] In the embodiment of the present application, it is determined whether the diagram compiled by the first compiled intermediate diagram is correct, that is, whether it is suitable for knitting by knitting machines such as footwear machines. If the first compiled intermediate diagram is incorrect and is not suitable for knitting by knitting machines such as footwear machines, the first compiled intermediate diagram is modified so that the modified second compiled intermediate diagram is correct and suitable for knitting and knitting by footwear machines. In the embodiment of the present application, the modification can be made manually or by a plate making system. In the embodiment of the present application, the first compiled intermediate diagram can be modified once or more than twice. After each modification, it can be determined whether the diagram compiled by the modified first compiled intermediate diagram is correct. It can also be determined whether the diagram compiled by the modified first compiled intermediate diagram is correct after being modified twice or several times.
[0064] S240: Compile and split the second compiled intermediate graph to form a pattern file, wherein the pattern file includes more than two needle selection data graphs, and the needle selection data graphs correspond to the action graphs of each row of the needle cylinder selected by one needle selector.
[0065] In an embodiment of the present application, the first compiled intermediate graph is split to form more than two needle selection data graphs. In an embodiment of the present application, corresponding to a four-way footwear and socks machine, 4 needle selection data graphs or 8 needle selection data graphs can be formed, or other 4n needle selection data graphs can be formed, where n is a positive integer less than or equal to 8; in other embodiments, when the formed pattern file is applied to a two-way footwear and socks machine, 2 needle selection data graphs or 4 needle selection data graphs or 2n needle selection data graphs can be formed, where n is a positive integer less than or equal to 8; or, when the formed pattern file is applied to a three-way footwear and socks machine, 3 needle selection data graphs or 6 needle selection data graphs or 3n needle selection data graphs can be formed, where n is a positive integer less than or equal to 8.
[0066] In the embodiment of the present application, more than two needle selection data maps are formed, and each needle selection data map corresponds to an action map of all rows of main shuttle needle output controlled by a needle selector, so that the footwear and socks machine can read the needle selection data map in the pattern file, and control each needle selector to control the main shuttle needle output for weaving according to the needle selection data map.
[0067] In the embodiment of the present application, taking the corresponding four-way footwear machine as an example, if the operation mode of the main shuttle is to rotate counterclockwise for one circle and then reverse clockwise for one circle, the corresponding needle selection data diagram includes "1C", "1T", "2C", "2T", "3C", "3T", "4C" and "4T" needle selection data diagrams. In the embodiment of the present application, four rows are grouped together, wherein the "1C" needle selection data diagram is used to display the full-position needle diagram formed by all the first-way forward-rotating shuttles. For example, in the embodiment of the present application, the "1C" needle selection data diagram includes the first shuttle of the first-way main shuttle in the first row of each group (corresponding to red), the empty needle, and the empty needle, half-position needle (half-position needle) in the third row. The yarn used by the needle is the same color as the yarn woven by the second shuttle of the first main shuttle), the second shuttle of the first main shuttle (corresponding to orange); the "1T" needle selection data diagram is used to display the full-position needles formed by the reversed shuttle of the first route. In the embodiment of the present application, the "1T" needle selection data diagram includes the first shuttle of the first main shuttle of each group in the second row (corresponding to red), half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the first shuttle of the first main shuttle) and empty needles, as well as the empty needles, the second shuttle of the first main shuttle (corresponding to orange) and half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the second shuttle of the first main shuttle) of each group in the fourth row; The "2C" needle selection data diagram is used to display the full-position needles formed by the second forward-rotating shuttle. In the embodiment of the present application, the "2C" needle selection data diagram includes: the half-position needles of the first row of each group (the yarn used by the half-position needles is the same color as the yarn woven by the first shuttle of the second main shuttle), the first shuttle of the second main shuttle (corresponding to cyan), and the empty needles, and the empty needles, half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the second shuttle of the second main shuttle) of each group of the third row, and the second shuttle of the second main shuttle (corresponding to light cyan); the "2T" needle selection data diagram is used to display the full-position needles formed by the second reversed shuttle. In the embodiment of the present application, the "2T" needle selection data diagram includes: The first shuttle (corresponding to cyan), half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the first shuttle of the second main shuttle), and empty needles of the second row of each group, and the empty needles, the second shuttle (corresponding to light cyan), and half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the second shuttle of the first main shuttle) of the fourth row of each group; the "3C" needle selection data diagram is used to display the full-position needles formed by the third shuttle rotating forward. In the embodiment of the present application, the "3C" needle selection data diagram includes: the half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the third main shuttle) and the third main shuttle (corresponding to yellow) of the first row of each group;The "3T" needle selection data diagram is used to display the full-position needles formed by the third reverse shuttle. In the embodiment of the present application, the "3T" needle selection data diagram includes: the third main shuttle of the second row (corresponding to yellow) and half-position needles (the yarn used by the half-position needles is the same color as the yarn woven by the third main shuttle); the "4C" needle selection data diagram is used to display the full-position needles formed by the fourth forward-rotating shuttle. In the embodiment of the present application, the "4C" needle selection data diagram includes: the half-position needles of the first row of each group (the yarn used by the half-position needles is the same color as the yarn woven by the fourth main shuttle), and the fourth main shuttle (corresponding to blue); the "4T" needle selection data diagram is used to display the full-position needles formed by the fourth reverse shuttle. In the embodiment of the present application, the "4T" needle selection data diagram includes: the half-position needles of the fourth row of each group (the yarn used by the half-position needles is the same color as the yarn woven by the third main shuttle) and the fourth main shuttle (corresponding to blue). In the embodiment of the present application, by forming different needle selection data diagrams, the weaving order of different shuttles can be changed to improve the weaving efficiency. ;
[0068] If the shuttles rotate counterclockwise, the corresponding needle selection data graphs include "1C", "2C", "3C" and "4C". Among them, for the "stripes" design graph with pure clockwise rotation, the four-way knitting actions can be merged during compilation, so that the shoe and sock machine can knit four-way at the same time, improving knitting efficiency and saving time cost.
[0069] The method for generating a pattern file in an embodiment of the present application compiles and splits the pattern design diagram to obtain a pattern file containing more than two needle selection data diagrams, which is convenient for knitting machines such as footwear machines to read and perform rapid knitting. More than two needle selectors can control the main shuttle to eject needles for simultaneous knitting or adjust the knitting sequence to improve knitting efficiency.
[0070] The present application provides a structural schematic diagram of an embodiment of a pattern file generation system, such as Figure 5 As shown, it includes: the generation system includes a memory 510 and a processor 520, the memory 510 is connected to the processor 520, the memory 510 is used to store a computer program, and the processor 520 is used to execute the computer program to implement the steps of the above-mentioned pattern file generation method.
[0071] The memory 510 stores a computer program for implementing the method of any of the above embodiments; the processor 520 is used to execute the computer program stored in the memory 510 to implement the steps of the above method embodiments. The processor 520730 may also be called a CPU (Central Processing Unit). The processor 520730 may be an integrated circuit chip with signal processing capabilities. The processor 520730 may also be a general-purpose processor 520, a digital signal processor 520 (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor 520 may be a microprocessor 520 or the processor 520 may also be any conventional processor 520, etc.
[0072] See also Figure 6 , Figure 6 6 is a schematic diagram of the structure of an embodiment of a computer storage medium provided in the present application. The storage medium 610 stores a computer program 620 therein. The computer program 620 is used to be executed to implement the steps of the method for generating the pattern file.
[0073] The storage medium 610 of the embodiment of the present application stores a computer program 620, and the computer program 620 implements the method provided by the above embodiment of the present application when executed. Among them, the computer program 620 can form a program file and be stored in the above storage medium 610 in the form of a software product, so that a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of the various implementation methods of the present application. The aforementioned storage medium 610 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM Read-ONly Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, and a tablet.
[0074] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for generating a pattern file, characterized in that: include: Obtaining a pattern design diagram, wherein the pattern design diagram is converted from the coils of the fabric, wherein at least one row of the pattern design diagram corresponds to a pattern woven by at least two main shuttles; Compiling the pattern design diagram to form a first compiled intermediate diagram, wherein the first compiled intermediate diagram corresponds to an action diagram of each route and each row, wherein a half-position needle diagram is formed between two adjacent routes of patterns in the same row; Compile and split the first compiled intermediate graph to form a pattern file, wherein the pattern file includes more than two needle selection data graphs, and the needle selection data graphs correspond to the action graphs of each row of main shuttle needles controlled by a needle selector; The main shuttle rotates one circle counterclockwise and then one circle clockwise. The compiling the pattern design drawing to form a first compiled intermediate drawing comprises: The pattern design diagram is compiled into a first compiled intermediate diagram in units of two lines.
2. The method for generating a pattern file according to claim 1, characterized in that: The step of compiling the pattern design graph to form a first compiled intermediate graph then includes: modifying the first compiled intermediate graph to form a second compiled intermediate graph; The compiling and splitting the first compiled intermediate image to form a pattern file comprises: The second compiled intermediate image is compiled and split to form a pattern file.
3. The method for generating a pattern file according to claim 1, characterized in that: A row of the pattern design diagram includes patterns corresponding to the main shuttle needles controlled by the needle selector of the same route; The compiling the pattern design drawing to form a first compiled intermediate drawing includes: The patterns corresponding to the main shuttle needles controlled by the needle selector of the same route are compiled in different rows to form a first compiled intermediate diagram.
4. The method for generating a pattern file according to claim 1, characterized in that: The pattern design is converted from the coils of the fabric and includes: The looped grid of the fabric is filled with different colors to indicate the shuttle used for each loop, so as to form the pattern design.
5. The method for generating a pattern file according to claim 4, characterized in that: The half-position pins of the first compiled intermediate graph are distinguished from different half-position pins by filling different color codes.
6. The method for generating a pattern file according to claim 4, characterized in that: At least one row of the pattern design diagram corresponds to a pattern formed by the main shuttle needles controlled by at least two needle selectors, including: At least one row of the pattern design diagram corresponds to the pattern formed by the main shuttle needles controlled by the four-way needle selector; The first compiled intermediate graph corresponds to an action graph showing each path and each row, including: The first compiled intermediate graph displays an action graph in each row, and the action graph in each row includes action graphs within four paths.
7. A pattern file generation system, characterized in that: include: The generation system includes a memory and a processor, the memory is connected to the processor, the memory is used to store a computer program, and the processor is used to execute the computer program to implement the steps of the method for generating the pattern file of any one of claims 1-6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating the pattern file according to any one of claims 1 to 6 are implemented.