Compression pattern expanding method based on pattern module, flat knitting machine and device

文档序号:1459841 发布日期:2020-02-21 浏览:17次 中文

阅读说明:本技术 基于花型模块的压缩花样展开方法、针织横机及装置 (Compression pattern expanding method based on pattern module, flat knitting machine and device ) 是由 陈春尧 庄阿为 朱欢 于 2019-09-29 设计创作,主要内容包括:本申请公开基于花型模块的压缩花样展开方法、针织横机及装置。其中方法包括:接收绘制花型模块的绘制指令;响应于绘制指令,得到花型模块;其中,花型模块包括第一色码、第一色码的第一连接扩展码、第一色码对应的第一编织码、第一连接扩展码对应的第一扩展编织码及第一重叠扩展码,第二色码、第二色码对应的第二编织码及第二重叠扩展码;接收展开压缩花样的展开指令,压缩花样包括连接的第一色码花样和第二色码花样;响应于展开指令,将花型模块带入压缩花样进行展开,得到展开花样。通过本方法,可以快捷有效地实现花型模块的扩展。(The application discloses a compression pattern expanding method based on a pattern module, a flat knitting machine and a device. The method comprises the following steps: receiving a drawing instruction of a pattern drawing module; responding to a drawing instruction to obtain a pattern module; the pattern module comprises a first color code, a first connection spreading code of the first color code, a first weaving code corresponding to the first color code, a first spread weaving code and a first overlapping spreading code corresponding to the first connection spreading code, and a second color code, a second weaving code corresponding to the second color code and a second overlapping spreading code; receiving an expansion instruction for expanding compression patterns, wherein the compression patterns comprise a first color code pattern and a second color code pattern which are connected; and in response to the expansion instruction, bringing the pattern module into the compressed pattern for expansion to obtain an expanded pattern. By the method, the expansion of the pattern module can be quickly and effectively realized.)

1. A compression pattern expanding method based on pattern modules is characterized by comprising the following steps:

receiving a drawing instruction for drawing the pattern module;

responding to the drawing instruction to obtain the pattern module; wherein the pattern module comprises a first representative color code, a first connection spreading code of the first representative color code, a first weaving code corresponding to the first representative color code, a first spread weaving code and a first overlapping spreading code corresponding to the first connection spreading code, and a second representative color code, a second weaving code corresponding to the second representative color code and a second overlapping spreading code;

receiving an expansion instruction for expanding the compressed patterns, wherein the compressed patterns comprise a first representative color code pattern and a second representative color code pattern which are connected;

in response to the unfolding instruction, unfolding the first representative color code pattern into a corresponding plurality of first weaving codes based on the pattern module; spreading out the first connection spread code at a junction of the first representative color code pattern and the second representative color code pattern, and spreading out the first connection spread code into a corresponding first spread weave code and first overlap spread code; spreading said second color code pattern into a corresponding plurality of second weave codes and second overlap spread codes; the first superposition spread code is covered with the second woven code, and the second superposition spread code is covered with the first spread woven code, resulting in a spread pattern.

2. The method of claim 1, wherein the first connection spreading code, the first overlap spreading code, and the second overlap spreading code are equal in number.

3. A method according to claim 1, characterised in that the first code pattern and the second code pattern are in the same row, and the position of the first connection spreading code with respect to the first code pattern is the same as the position of the second code pattern with respect to the first code pattern.

4. The method of claim 3 wherein in the pattern module the first weave code is in row n directly above the first color code, the first spread weave code is in row n directly above the first connection spreading code, and the first overlap spreading code is in row n-1 directly above the first connection spreading code; the second weave code is on line n-1 directly above the second color code, the second overlap spreading code is on line n directly above the second color code;

in the unfolding patterns, the first weaving codes are unfolded in the mth row from bottom to top, and the second weaving codes are unfolded in the (m-1) th row from bottom to top.

5. The method of claim 3 wherein in the pattern module the first weave code is located directly above the first color code on row n-1, the first spread weave code is located directly above the first connection spreading code on row n-1, and the first overlap spreading code is located directly above the first connection spreading code on row n; the second weave code is located on line n directly above the second color code, the second overlap spreading code is located on line n-1 directly above the second color code;

in the unfolding pattern, the first woven codes are unfolded in the (m-1) th row from bottom to top, and the second woven codes are unfolded in the (m) th row from bottom to top.

6. The method of claim 3 or 4, wherein the first number of color codes is the same as the first number of weave codes, wherein the first connection spreading codes is the same as the first number of spread weave codes, wherein the second number of color codes is the same as the second number of weave codes, and wherein the second number of overlapping spreading codes is less than or equal to the second number of weave codes.

7. The method of claim 3 or 4, wherein the second superposition code is located at an end adjacent to the first extended weave code;

when the second representative color code pattern is unfolded, the second overlapped code is unfolded at one end of the second representative color code pattern connected with the first representative color code pattern.

8. The method of claim 1, wherein the pattern module further comprises a first cyclic color code of the first weave code and a second cyclic color code of the second weave code, the number of cyclic color codes directly above the first weave code being the same as the number of first weave codes, the number of cyclic color codes directly above the second weave code being the same as the number of second weave codes; the cyclic color code is used for representing a cyclic mode of the first weaving code and the second weaving code.

9. A flat knitting machine comprising a processor, a memory, and a human-machine circuit, the processor being coupled to the memory and the human-machine circuit, the human-machine circuit being configured to obtain human-machine instructions, the memory having stored therein program instructions, the processor executing the program instructions, and the method according to any one of claims 1 to 8 being implemented by the program instructions.

10. An apparatus having a storage function, wherein the apparatus stores program data executable to implement the method of any one of claims 1-8.

Technical Field

The application belongs to the technical field of spinning, and particularly relates to a compression pattern expanding method based on a pattern module, a flat knitting machine and a device with a storage function.

Background

In order to enhance the aesthetic property of the clothes and improve the brand value of the products, decorative patterns are usually designed on the clothes, and designers give visual impact to consumers through the shape and color of the patterns, so as to trigger the shopping impulse of the consumers.

At present, the application of the flat knitting machine in clothing design and knitting is more and more popular. When the flat knitting machine is used for drawing the knitting pattern, the representative color codes are used for representing the drawn modules, then the representative color codes are used for drawing the corresponding pattern, and the pattern expansion is to expand the representative color codes into the representative pattern modules. In the related technology, the module for drawing the patterns and designs has the problems of complex arrangement of module needles and easy error in needle arrangement.

Disclosure of Invention

The application provides a compression pattern expanding method based on a pattern module, a flat knitting machine and a device with a storage function, and aims to solve the technical problems that the arrangement of the number of module needles is complicated and the needle arrangement is easy to make mistakes in the pattern drawing process.

In order to solve the technical problem, the application adopts a technical scheme that: provides a compression pattern expanding method based on a pattern module. The method comprises the following steps: receiving a drawing instruction of a pattern drawing module; responding to a drawing instruction to obtain a pattern module; the pattern module comprises a first representative color code, a first connection spreading code of the first representative color code, a first weaving code corresponding to the first representative color code, a first spread weaving code and a first overlapping spreading code corresponding to the first connection spreading code, a second representative color code, a second weaving code corresponding to the second representative color code and a second overlapping spreading code; receiving an expansion instruction for expanding compressed patterns, wherein the compressed patterns comprise a first representative color code pattern and a second representative color code pattern which are connected; in response to an expansion instruction, expanding the first representative color code patterns into a corresponding plurality of first weaving codes based on the pattern module; spreading a first connection spread code at a junction of the first representative color code pattern and the second representative color code pattern, and spreading the first connection spread code into a corresponding first spread weave code and first superposition spread code; spreading a second color code pattern to correspond to the plurality of second weave codes and second overlap spread codes; the first superposition spread code is covered by the second weave code, and the second superposition spread code is covered by the first spread weave code, to obtain a spread pattern.

In order to solve the above technical problem, another technical solution adopted by the present application is: a flat knitting machine is provided. The flat knitting machine comprises a processor, a memory and a man-machine circuit, wherein the processor is coupled with the memory and the man-machine circuit, the man-machine circuit is used for acquiring artificial instructions, program instructions are stored in the memory, the processor executes the program instructions, and the method is realized through the program instructions.

In order to solve the above technical problem, the present application adopts another technical solution: an apparatus having a storage function is provided. The device stores program data that can be executed to implement the method described above.

The beneficial effect of this application is: the present application enables to intuitively display the direction and the number of spreading of a pattern module by drawing the pattern module including a first connection spread code connected to a first representative color code, a first spread weave code and a first overlap spread code corresponding to the first connection spread code, and a second overlap spread code corresponding to a second representative color code. When the compressed pattern is expanded, the expanded first expanded knitting code and the second knitting code overlapped with the first expanded knitting code can be expanded at the relative position of the first connection expansion code, so that the expansion on the pattern module is realized, the corresponding knitting codes can be expanded in the expanded pattern, the compressed pattern does not need to be changed and the stitches do not need to be arranged, the complexity of drawing the compressed pattern is reduced, and the edition change of a user is facilitated.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:

FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a pattern module-based compressed pattern expansion method according to the present application;

FIG. 2 is a schematic structural view of an embodiment of the module of the present application;

FIG. 3 is a schematic structural view of another pattern module of the present application;

FIG. 4 is a schematic structural diagram of an embodiment of a compression pattern of the present application corresponding to FIG. 2;

FIG. 5 is a schematic structural diagram of an embodiment of a compression pattern of the present application corresponding to FIG. 3;

FIG. 6 is a schematic structural diagram of an expanded pattern of the compressed pattern of FIG. 4 expanded based on the pattern block of FIG. 2;

FIG. 7 is a schematic structural diagram of an expanded pattern of the compressed pattern of FIG. 5 expanded based on the pattern block of FIG. 3;

FIG. 8 is a schematic structural view of an embodiment of the flat knitting machine of the present application;

fig. 9 is a schematic structural diagram of an embodiment of a device with a storage function according to the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Referring to fig. 1, fig. 1 is a schematic flow chart of an embodiment of a compressed pattern expanding method based on a pattern module according to the present application. The embodiment comprises the following steps:

s101: and receiving a drawing instruction of a drawing pattern module.

And the flat knitting machine receives an input drawing instruction of the drawing pattern module.

Generally, a flat knitting machine is provided with a pattern preparation system, the pattern preparation system is an important component of a computerized flat knitting machine, patterns are designed by utilizing a visual interface and a machine-loading file is generated, and the computerized flat knitting machine reads the machine-loading file and then converts the machine-loading file into a control file to realize the control of the computerized flat knitting machine.

A user can input an instruction for drawing the pattern module through a visual interface of the pattern preparation system, so that the design of the pattern is realized.

S102: and responding to the drawing instruction to obtain a pattern module. The pattern module comprises a first representative color code, a connection extended code of the first representative color code, a first weaving code corresponding to the first representative color code, an expanded weaving code and a first overlapping extended code corresponding to the connection extended code, and a second representative color code, a second weaving code corresponding to the second representative color code and a second overlapping extended code.

And the flat knitting machine responds to the drawing instruction and automatically generates or generates a corresponding pattern module according to the user operation. Of course, the stored pattern module may be called from the database.

Please refer to fig. 2, fig. 2 is a schematic structural diagram of an integrated module according to the present application. It should be noted that the drawings related to the present application only schematically show the structure of the pattern module, the compression pattern and the expansion pattern, and the representative color codes, the woven codes, the connection spreading codes, the overlap spreading codes and the cyclic codes included in the pattern module, the compression pattern and the expansion pattern are only examples, and it can be understood that the specific color codes used by the representative color codes, the woven codes, the connection spreading codes, the overlap spreading codes and the cyclic codes included in the pattern module, and the number, direction, position and the like thereof can be adjusted according to the actual requirements.

In this embodiment, the pattern module 10 is drawn on a canvas, and the initial color code of the canvas is, for example, a color code No. 0 (the color code No. 0 is black, and is convenient for referring to the relevant drawings, white is adopted for substitution in fig. 2 to 7 of the present application), and may be other color codes defined by a user. The pattern module may specifically include a first pattern module 11 and a second pattern module 12. The first pattern module 11 may include a first representative color code 111, a first weave code 112 corresponding to the first representative color code 111, a first connection spread code 113 of the first representative color code 111, a first spread weave code 114 corresponding to the first connection spread code 113, and a first overlap spread code 115. The second pattern module 12 may include a second color code 121, a second braid code 122 corresponding to the second color code 121, and a second overlap spreading code 123.

In this embodiment, the representative color code is used to define a knitting code, and the knitting code indicates a specific knitting operation. The knitting code may be combined from at least one knitting action.

In particular, the first color code 111 defines a first weave code 112, the first connection spreading code 113 defines a first spread weave code 114, and the second color code 121 defines a second weave code 122.

The first connection spreading code 113 is used to indicate the spreading direction and the number of pattern modules 10. The first connection spreading code 113 may for example be located to the left of the first color code 111, indicating spreading to the left of the first pattern module 11, and similarly to the right. The number of first connection spreading codes 113 indicates the number of spreading pins, for example, the number of first connection spreading codes 113 is 2, which indicates two spreading pins, and the specific number of spreading is not limited herein based on the actual requirement. The first extended weave code 114 may be the same as the first weave code 112 or may be another defined weave code. The first connection spreading code 113 is, for example, a 255-th representative color code, and may be another representative color code different from the first representative color code 111 and the second representative color code 121.

According to the direction and the number of spreading of the first pattern module 11 indicated by the first connection spreading code 113, the first overlap spreading code 115 is drawn at the first pattern module 11 and the second overlap spreading code 123 is drawn at the second pattern module 12. The number of first connection spreading codes 113, first overlap spreading codes 115, second overlap spreading codes 123 is the same. In this embodiment, the weaving action of the overlapped spreading codes is a transparent stitch, i.e., the position of the overlapped spreading codes is not woven. The position of the overlapped spreading code can be covered by the knitting action of the knitting code overlapped with the overlapped spreading code, and the knitting code overlapped with the overlapped spreading code can be displayed as usual.

The first overlap spreading code 115 and the second overlap spreading code 123 may be represented by the same representative color code, for example, the number 255 representative color code, but may be other representative color codes.

The first overlap spreading code 115, the second overlap spreading code 123 may also be the same as the color code of the first connection spreading code 113. The pre-allocated color code is, for example, 255, but it may be a transparent color code different from the first representative color code 111 and the second representative color code 121, and when the transparent color code is connected to the representative color code in the pattern module, the representative color code is the first connection spreading code 113. When the transparent color code is connected with the weaving code in the pattern module, the transparent color code is represented as an overlapped spreading code.

The first overlap spreading code 115 and the second overlap spreading code 123 may be mapped according to a user instruction. It is also possible that the flat knitting machine automatically generates at the corresponding position according to the position and the number of the first connection spreading codes 113.

In this embodiment, the first connection spreading code 113, the first color code 111, and the second color code 121 are located on the same row. Wherein the first linked spreading code 113 is linked to the first color code 111 and the second color code 121 is close to the first linked spreading code 113 but not linked to the first linked spreading code 113.

In this embodiment, the representative color code is associated with the position correspondence relationship of the knitting code. In this embodiment, the knitting code is located right above the representative color code. In other embodiments, the relative positions of the knitting codes and the representative color codes may also be other situations, for example, the knitting codes are located below the representative color codes, and the knitting codes are located on the left or right, and the like, and corresponding changes may be made according to actual requirements, which is not limited herein.

In some embodiments, the first weave code 112 is located on the nth (n is a positive integer and greater than 2) row directly above the first representative color code 111, the first spread weave code 114 is located on the nth row directly above the first linked spreading code 113, and the first overlap spreading code 115 is located on the nth-1 row directly above the first linked spreading code 113. The second weave code 122 is located on the nth-1 row directly above the second representative color code 121 and the second overlapping spread code 123 is located on the nth row directly above the second representative color code 121 at an end adjacent to the first expanded weave code 114. For example, the first spread weave code 114 and the first weave code 112 are in the same row, the first spread weave code 114 is contiguous with the first weave code 112 and to the right of the first weave code 112, the first overlap spreading code 115 is in a row below the first spread weave code 114, the second weave code 122 is in a row but not contiguous with the first overlap spreading code 115, and the second overlap spreading code 123 is in a row above the second weave code 122 and to the left above the second weave code 122, adjacent to but not contiguous with the first spread weave code 114. The first representative color codes 111 are the same number as the first woven codes 112, the first connection spreading codes 113 are the same number as the first spread woven codes 114, the second representative color codes 121 are the same number as the second woven codes 122, and the second overlapping spreading codes 123 are less than or equal to the second woven codes 122.

In other embodiments, the pattern module 10 has the first weave code 112 positioned on the (n-1) th row directly above the first representative color code 111, the first spread weave code 114 positioned on the (n-1) th row directly above the first connection spread code 113, and the first overlap spread code 115 positioned on the (n) th row directly above the first connection spread code 113. The second weave code 122 is located on the nth row directly above the second representative color code 121 and the second overlapping spread code 123 is located on the nth-1 row directly above the second representative color code 121 at an end adjacent to the first expanded weave code 114. For example, the first spread weave code 114 and the first weave code 112 are in the same row, the first spread weave code 114 is contiguous with the first weave code 112 and to the right of the first weave code 112, the first overlap spreading code 115 is in a row above the first spread weave code 114, the second weave code 122 is in a row but not contiguous with the first overlap spreading code 115, and the second overlap spreading code 123 is in a row below the second weave code 122 and to the left above the second weave code 122, adjacent to but not contiguous with the first spread weave code 114. The first representative color codes 111 are the same as the first woven codes 112 in number, the first connection spreading codes 113 are the same as the first spread woven codes 114 in number, the second representative color codes 121 are the same as the second woven codes 122 in number, and the second overlapping spreading codes 123 are less than or equal to the second woven codes 122 in number.

In still other embodiments, the first color code 111 and the second color code 121 in the pattern module 10 may not be located in the same row, and the number of rows of the first weave code 112 relative to the first color code 111 is different from the number of rows of the second weave code 122 relative to the first color code 111 by one row. Specifically, the first braid-code 112 is located on line n-1 directly above the first color code 111, and the second braid-code 122 is located on line n directly above the second color code 121. Or the first braid-code 112 is located directly above the first color code 111 in row n and the second braid-code 122 is located directly above the second color code 121 in row n-1.

The pattern module 10 may also include cyclic color coding including a first cyclic color code 116 of the first weave code 112 and a second cyclic color code 124 of the second weave code 122. The number of first cyclic color codes 116 is the same as the number of first weave codes 112 and the number of second cyclic color codes 124 is the same as the number of second weave codes 122. In this embodiment, the relative position between the cyclic color code and the weave code is, for example, the cyclic color code is located right above the weave code. For example, the first cyclic color code 116 is directly over the first weave code 112 and the second cyclic color code 124 is directly over the second weave code 122. In other embodiments, the relative positions of the cyclic color codes and the knitting codes may correspond to each other in other manners, for example, the cyclic color codes may be located below, to the left, or to the right of the knitting codes, which is not limited herein. The cyclic color code is used to indicate the cyclic manner of the first and second knitting codes 112 and 122. In this embodiment, there is no cyclic color code above the first extended code 114, which means that the first representative color code 111 does not participate in the cycle of the first code 112.

In some embodiments, the second pattern module 12 may also include a second connection spreading code (not shown) associated therewith for spreading the weaving action of the second pattern module 12. The expansion rule of the second pattern module 12 is the same as the expansion rule of the first pattern module 11, and is not described herein again.

Please refer to fig. 3, fig. 3 is a schematic structural diagram of another pattern module according to the present application. In some embodiments, the pattern module 10 may further include a third pattern module 13. The third pattern module 13 can include a third generation color code 121, a third weave code 132 corresponding to the third generation color code, a third connection spreading code 133 of the third generation color code, a third spread weave code 134 corresponding to the third connection spreading code 133, a third superposition spreading code 135, and a third cyclic color code 136. The second pattern module may also include a fourth overlapping spreading code 125. The expansion rule of the third pattern module 13 is the same as the expansion rule of the first pattern module 11, and is not described herein again.

S103: receiving an expansion instruction for expanding compression patterns, wherein the compression patterns comprise a first representative color code pattern and a second representative color code pattern which are connected.

The flat knitting machine receives an expansion command for expanding the compression pattern 20.

The compression pattern 20 is drawn and stored by the flat knitting machine receiving a command to draw the compression pattern 20. The compression patterns 20 are drawn by using representative color codes according to the contour of the designed garment. The compression pattern 20 may be generated by the flat knitting machine automatically generating the corresponding compression pattern 20 according to the contour of the garment, or may be generated by the flat knitting machine receiving an instruction to draw the compression pattern 20.

Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a compression pattern corresponding to fig. 2 according to the present application. In this embodiment, the compression patterns 20 may include first representative color code patterns 21 and second representative color code patterns 22. The first color code pattern 21 is composed of a plurality of connected first color codes 111, and the second color code pattern 22 is composed of a plurality of connected second color codes 121. The first generation color code patterns 21 are connected with the second generation color code patterns 22 and are positioned on the same line.

In the present application, the compressed patterns 20 may include a plurality of representative color codes, the number of rows of the compressed patterns 20 may also be a plurality of rows, and the pattern module may also include a plurality of rows, and the compressed patterns 20 are only exemplary to describe two color codes and one row of representative color code patterns. In practical applications, the representative color codes in the pattern module 10 and the compressed patterns 20 are defined and drawn according to practical requirements, and are not limited herein.

For example, referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of a compression pattern corresponding to fig. 3 in the present application. The compressed patterns 20 may also include third generation color code patterns 23, and the number of rows of the compressed patterns 20 may be 2.

S104: in response to the unfolding instruction, unfolding the first representative color code pattern into a corresponding plurality of first weave codes based on the pattern module. A connection spread code is spread at the junction of the first representative color code pattern and the second representative color code pattern, and the connection spread code is spread into a corresponding spread weave code and a first superposition spread code. The second color code pattern is spread to correspond to the plurality of second weave codes and the second overlap spread codes. The first superposition spread code is covered by a second weave code, and the second superposition spread code is covered by an expanded weave code, to obtain a spread pattern.

The flat knitting machine responds to an expansion instruction for expanding the compressed patterns 20, brings the pattern modules 10 into the compressed patterns 20 and expands the compressed patterns to obtain expanded patterns 30.

Referring to fig. 6, fig. 6 is a schematic structural diagram of an expansion pattern of the compression pattern of the present application based on the pattern module of fig. 2. Specifically, the first color code 111 is pattern-spread into a plurality of corresponding first knitting codes 112. A first connection spread code 113 is spread at the connection of the first representative color code 111 pattern and the second representative color code 121 pattern, and the first connection spread code 113 is spread into a corresponding first spread weave code 114 and first superposition spread code 115. The second color code 121 is pattern-spread to correspond to the plurality of second weave codes 122 and the second overlap spread codes 123. The first overlapping spreading code 115 is covered by the second woven code 122 and the second overlapping spreading code 123 is covered by the first spread woven code 114.

When the pattern module 10 is spread, the position of the first connection spread code 113 is spread to overlap the position of the second representative color code 121 where the first spread weave code 114 is spread to the second weave code 122, thereby causing the first spread weave code 114 or the second weave code 122 not to be displayed normally. However, in the present embodiment, since the overlap spread code indicates the knitting-free action of the transparent needle, the second knitted code 122 overlapping the first overlap spread code 115, the first spread knitted code 114 overlapping the second overlap spread code 123 can cover the first overlap spread code 115 and the second overlap spread code 123. By providing the first overlap spreading code 115 above or below the first weaving code 114 in the pattern module and providing a corresponding number of second overlap spreading codes 123 below or above the second weaving code 122 that overlaps the first weaving code 114 in the present embodiment, it is possible to cause the first and second weaving codes 114 and 122 in the overlapping portion to be displayed normally when the pattern module is expanded based on the compression pattern 20.

It should be noted that, since there is no cyclic color code above the first expanded braid code 114 in the pattern module 10, when the compression pattern 20 is expanded based on the pattern module, only the first braid code 112 is expanded at the first color code 111 in the first color code pattern, and the first expanded braid code 114 is expanded outside the expanded position defined by the first color code 111 pattern and is connected to the expanded first braid code 112. In the development pattern 30, the positions and the number of the first spread woven codes 114 spread are the same as the relative positions and the number of the first linked spread codes 113 and the first representative color codes 111 in the compression pattern 20.

In some embodiments, in the pattern module, if the first weave code 112 is located at the nth row directly above the first representative color code 111, the first spread weave code 114 is located at the nth row directly above the first connection spread code 113, and the first overlap spread code 115 is located at the nth-1 row directly above the first connection spread code 113, the first weave code 112 is spread at the mth (m is a positive integer) row from bottom to top, and the second weave code 122 is spread at the mth-1 row from bottom to top.

In other embodiments, in the pattern module 10, if the first weave code 112 is located at the n-1 th row directly above the first color code 111, the first spread weave code 114 is located at the n-1 th row directly above the first connection spread code 113, and the first overlap spread code 115 is located at the n-th row directly above the first connection spread code 113, the first weave code 112 is spread at the m-1 th row from bottom to top, and the second weave code 122 is spread at the m-th row from bottom to top.

Referring to FIG. 7, FIG. 7 is a schematic structural diagram of an expanded pattern of the compressed pattern of FIG. 5 according to the present application based on the pattern module of FIG. 3. The rule for expanding the compressed patterns 20 based on the pattern module 10 is the same as the expansion rule described above, and will not be described again.

In the present embodiment, by drawing the pattern module 10 including the first connection spread code 113 connected to the first representative color code 111, the first spread weave code 114 and the first overlap spread code 115 corresponding to the first connection spread code 113, and the second overlap spread code 123 corresponding to the second representative color code 121, it is possible to intuitively display the direction and the number of spreading of the pattern module 10. When the compressed pattern 20 is expanded, the expanded first expanded weave 114 and the second weave 122 overlapping the first expanded weave 114 can be expanded at the relative position of the first connecting spread codes 113, thereby realizing the expansion on the pattern module 20, i.e., expanding the corresponding weave in the expanded pattern 30 without changing and arranging the compressed pattern 20, reducing the complexity of drawing the compressed pattern 20, and facilitating the user to change the layout.

Referring to fig. 8, fig. 8 is a schematic structural diagram of a flat knitting machine according to the present application. In another embodiment of the present application, a flat knitting machine 80 includes a processor 81, a memory 82, and a human-machine circuit 83, the processor 81 is coupled to the memory 82 and the human-machine circuit 83, the human-machine circuit 83 is used for obtaining human instructions, the memory 82 stores program instructions, and the processor 81 executes the program instructions to implement the method of any of the above embodiments.

Specifically, the human-machine circuit 83 receives a drawing instruction of the drawing pattern module and receives an unfolding instruction for unfolding the pattern. The memory 82 stores drawing instructions and unfolding instructions, and the processor 81 executes the drawing instructions to obtain a pattern module. The pattern module comprises a first representative color code, a connection extended code of the first representative color code, a first weaving code corresponding to the first representative color code, an expanded weaving code and a first overlapping extended code corresponding to the connection extended code, and a second representative color code, a second weaving code corresponding to the second representative color code and a second overlapping extended code. The processor 81 may further execute an unfolding instruction to unfold the first representative color code pattern into a corresponding plurality of first weave codes based on the pattern module. Specifically, a connection spread code is spread at the connection of the first representative color code pattern and the second representative color code pattern, and the connection spread code is spread into a corresponding spread weave code and a first superposition spread code; spreading a second color code pattern to correspond to the plurality of second weave codes and second overlap spread codes; the first superposition spread code is covered by a second weave code, and the second superposition spread code is covered by an expanded weave code, to obtain a spread pattern.

Referring to fig. 9, fig. 9 is a schematic structural diagram of a device with a storage function according to the present application.

Yet another embodiment of the present application provides an apparatus with a storage function, the apparatus with a storage function 90 stores program data 91, and the program data 91 can be executed to implement the method according to any one of the above embodiments. The device 90 with storage function may be a usb-disk, an optical disk, a server, etc.

The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种特殊孔眼针织物的编织方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!