Method for jumping the number of stitches of a quilting pattern and related device
By forming a pattern chain list in the quilting system and generating a position search box on the display screen, the problem points of quilting pattern can be quickly and accurately located, solving the problem of difficult pattern position positioning in the existing technology and improving quilting efficiency.
Patent Information
- Application Number
- CN202411991094.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2044-12-31
AI Technical Summary
In current quilting processes, it is difficult to locate the pattern position, resulting in low efficiency and a high risk of errors, making it difficult to quickly and accurately locate the problem point.
By forming a pattern chain and generating a pattern on the quilting system display screen, the system receives user clicks to generate a position search box, and quickly obtains the target position and stitch count of the machine head movement based on the mapping relationship.
It enables quick and accurate location of pattern problems, simplifies the operation process, and improves the efficiency of quilting work.
Smart Images

Figure CN119593147B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of quilting processing, and more particularly to a method and related equipment for adjusting the stitch count of quilting patterns. Background Technology
[0002] During the quilting process, problems such as broken or missing threads are inevitable. Therefore, it's necessary to move the quilting machine head to the problematic area for repair. The location of a quilted pattern is usually described by the number of stitches. For example, if a pattern has 3000 stitches, and a thread breakage occurs at 1000 stitches, or the problem is discovered and the machine is stopped at 1300 stitches, the machine head needs to be repositioned to the 1000-stitch mark before continuing quilting. Therefore, quickly positioning the machine head to the problem area greatly improves quilting efficiency.
[0003] Traditional method of moving the machine head: Press and hold the advance or retreat button, and the machine head moves forward or backward along the pattern trajectory until it reaches the problem point. Since the machine head also needs to move, this method is relatively slow. Another method is to press and hold the advance or retreat button, and the machine head does not move. The pattern position recorded in the software moves forward or backward along the pattern trajectory. After determining the position, the machine head moves directly to the problem point. Although this method is slightly faster than the previous method in searching for the problem point, it is not easy to accurately locate the vicinity of the problem point.
[0004] Therefore, existing technologies still need to be improved and developed. Summary of the Invention
[0005] This invention provides a method and related equipment for jumping the stitch count of quilted patterns, aiming to solve the technical problems of high programming difficulty, low efficiency, and poor flexibility of existing CNC machining.
[0006] The first aspect of this invention provides a method for switching stitch counts in quilting patterns, comprising the steps of:
[0007] A pattern linked list is formed based on the actual position data and quilting parameter data of the pattern to be quilted;
[0008] The pattern chain list is stored in the pattern layer of the quilting system;
[0009] The pattern corresponding to the pattern chain list is generated by linear mapping in the pixel layer of the quilting system display screen;
[0010] Receive user clicks on the target location within the pixel layer and generate a location search box;
[0011] Based on the location search box and the mapping relationship between the pattern and the pattern list, the actual target position of the machine head movement and the target number of stitches for quilting are obtained.
[0012] Optionally, in some embodiments of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern and the pattern list includes:
[0013] Map the location search box to the pattern layer;
[0014] Obtain the set of data nodes in the patterned linked list contained in the location search box;
[0015] Obtain the first target data node that is closest to the center point of the location search box from the data node set;
[0016] The position data and stitch count data bound to the first target data node are used as the actual target position for the machine head movement and the target stitch count for quilting.
[0017] Optionally, in some embodiments of the first aspect of the present invention, mapping the location search box to the pattern layer includes:
[0018] Based on the center point of the location search box and the preset specifications of the location search box, the first, second, third, and fourth position coordinates of the four corners of the location search box in the pixel layer coordinate system are calculated.
[0019] Using the linear mapping formula between the pattern layer and the pixel layer, the first position coordinates, the second position coordinates, the third position coordinates, and the fourth position coordinates are used to obtain the fifth position coordinates, the sixth position coordinates, the seventh position coordinates, and the eighth position coordinates in the pattern layer, respectively.
[0020] A closed shape is created in the pattern layer, consisting of the fifth position coordinate, the sixth position coordinate, the seventh position coordinate, and the eighth position coordinate.
[0021] Optionally, in some embodiments of the first aspect of the present invention, obtaining the set of data nodes in the patterned linked list included in the location search box includes:
[0022] Obtain the range of the horizontal and vertical coordinates of the closed shape within the coordinate system of the pattern layer;
[0023] Based on the range of the horizontal coordinate, all data nodes in the patterned linked list are initially screened to obtain a set of initially screened data nodes.
[0024] The initial screening data node set is screened a second time based on the range of the vertical coordinate to obtain the fine screening data node set, which is then used as the data node set in the pattern list contained in the position search box.
[0025] Optionally, in some embodiments of the first aspect of the present invention, obtaining the first target data node closest to the center point of the location search box from the data node set includes:
[0026] The distance between each data node in the data node set and the center point of the location search box is calculated to obtain the calculated distance between each data node in the data node set and the center point of the location search box.
[0027] The minimum distance is obtained by filtering the calculated distances between each data node and the center point of the location search box, and the data node corresponding to the minimum distance is taken as the first target data node.
[0028] Optionally, in some embodiments of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern and the pattern list includes:
[0029] Obtain the set of pixels contained in the location search box in the pixel layer;
[0030] Obtain the target pixel closest to the center point of the location search box from the set of pixels;
[0031] The target pixel is mapped to the pattern layer to obtain the second target data node corresponding to the target pixel in the pattern linked list;
[0032] The position data and stitch count data bound to the second target data node are used as the actual target position for the machine head movement and the target stitch count for quilting.
[0033] Optionally, in some embodiments of the first aspect of the present invention, receiving a user's click on a target location in the pixel layer and generating a location search box includes:
[0034] The system can receive double-touch inputs from the user on the display screen of the quilting system, or double-touch operations from the user using a mouse on the pixel layer.
[0035] Obtain the target position in the pixel layer corresponding to the double-touch or double-touch operation;
[0036] A location search box of a preset size is generated with the target location as the center.
[0037] A second aspect of the present invention provides a control system for the jump control of the stitch count in quilting patterns, comprising:
[0038] The linked list generation module is used to generate a pattern linked list based on the actual position data and quilting parameter data of the pattern to be quilted;
[0039] A linked list storage module is used to store the pattern linked list in the pattern layer of the quilting system;
[0040] A linked list mapping module is used to generate the pattern corresponding to the pattern linked list in the pixel layer of the quilting system display screen by linear mapping;
[0041] The click receiving module is used to receive the user's click on the target location in the pixel layer and generate a location search box;
[0042] The target position and stitch count acquisition module is used to obtain the actual target position of the machine head movement and the target stitch count of quilting based on the mapping relationship between the position search box, the pattern, and the pattern chain.
[0043] A third aspect of the present invention provides a quilting pattern stitch count jump control device, the quilting pattern stitch count jump control device comprising: a memory and at least one processor, the memory storing instructions, the memory and the at least one processor being interconnected via a circuit;
[0044] The at least one processor invokes the instructions in the memory to cause the quilting pattern stitch count jump control device to execute the quilting pattern stitch count jump method as described in any one of the first aspects of the present invention.
[0045] A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements a method for jumping the stitch count of a quilting pattern as described in any one of the first aspects of the present invention.
[0046] Beneficial Effects: This invention discloses a method and related equipment for jumping the stitch count of quilting patterns. The method includes forming a pattern list based on the actual position data of the pattern to be quilted and quilting parameter data; storing the pattern list in the pattern layer of the quilting system; generating the pattern pattern corresponding to the pattern list in the pixel layer of the quilting system display screen through linear mapping; receiving the user's click on the target position in the pixel layer and generating a position search box; obtaining the actual target position of the machine head movement and the target stitch count of quilting based on the position search box and the mapping relationship between the pattern pattern and the pattern list. This invention's method for jumping the stitch count of quilting patterns allows for quick positioning to the vicinity of the actual machine head processing problem point simply by clicking near the problem point of the pattern pattern on the display screen. The operation is simpler and eliminates the time spent long-pressing the empty advance / reverse button, resulting in higher efficiency. Attached Figure Description
[0047] Figure 1 This is a flowchart illustrating a method for jumping the stitch count in a quilting pattern, which is an example of the present invention.
[0048] Figure 2 This is a schematic diagram illustrating the mapping relationship between a pattern layer and a pixel layer, as exemplified by the present invention.
[0049] Figure 3 This is a schematic diagram of the actual software operation interface of a quilting system exemplified by the present invention.
[0050] Figure 4 This is a schematic diagram illustrating the module composition of a quilting pattern stitch count jump control system, which is an example of the present invention.
[0051] Figure 5 This is a schematic diagram of the structure of a quilting pattern stitch count jump control device, which is an example of the present invention. Detailed Implementation
[0052] The embodiments of the present invention disclosed herein are described in more detail below with reference to the accompanying drawings. While some 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 construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and embodiments disclosed herein are for illustrative purposes only and are not intended to limit the scope of protection of the present invention.
[0053] In the description of the embodiments disclosed in this invention, where terms are used, the term "comprising" and similar expressions should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0054] During the quilting process, problems such as broken or missing threads are inevitable. Therefore, it's necessary to move the quilting machine head to the problematic area for repair. The location of a quilted pattern is usually described by the number of stitches. For example, if a pattern has 3000 stitches, and a thread breakage occurs at 1000 stitches, or the problem is discovered and the machine is stopped at 1300 stitches, the machine head needs to be repositioned to the 1000-stitch mark before continuing quilting. Therefore, quickly positioning the machine head to the problem area greatly improves quilting efficiency.
[0055] For this reason, see Figure 1 The first aspect of the present invention provides a method for jumping the stitch count in a quilting pattern, comprising the steps of:
[0056] S100. A pattern linked list is formed based on the actual position data of the pattern to be quilted and the quilting parameter data. In this invention, before quilting starts, the system software calculates the actual position of the quilting pattern based on preconditions such as edge space and limit, and combines it with the quilting parameter data to form a pattern linked list. Each data node in the pattern linked list is the smallest information unit, containing basic information such as position and stitch count.
[0057] S200. The pattern chain list is stored in the pattern layer of the quilting system. In this invention, the pattern layer is used to store the actual processing data of the machine head (i.e., the data of the pattern chain list), and the machine head will move according to the pattern chain list.
[0058] S300. Generate the pattern pattern corresponding to the pattern chain list in the pixel layer of the quilting system display screen through linear mapping; In this invention, the pattern chain list maps the chain list data of the pattern layer to the pixel layer of the system display screen through linear mapping, thereby displaying the pattern pattern on the screen. In this invention, the mapping relationship between the pixel layer and the pattern layer can be as follows: Figure 2 As shown.
[0059] S400: Receive the user's click on the target location in the pixel layer and generate a location search box; when quilting is required, for example, during the quilting process, the user only needs to click the screen (i.e., the pixel layer, specifically, double-clicking, via mouse or by directly using the screen's touch function) near the problem point of the pattern path in the pixel layer, and the system screen will form a square search box at the clicked location. This process can be specifically described as follows: Figure 3 As shown. In some optional embodiments of the first aspect of the present invention, receiving a user's click on a target location in the pixel layer and generating a location search box includes: receiving a user's double-click touch on the display screen of the quilting system, or a user's double-click operation in the pixel layer using a mouse; obtaining the target location corresponding to the double-click touch or the double-click operation in the pixel layer; and generating a location search box of a preset size centered on the target location.
[0060] S500: Based on the mapping relationship between the position search box, the pattern, and the pattern list, the actual target position of the machine head movement and the target number of quilting stitches are obtained. In this invention, there are two methods to obtain the actual target position of the machine head movement and the target number of quilting stitches based on the position search box. The first method is to find the target pixel in the system screen pixel layer and then map it to the pattern layer to find the target data node in the pattern list. The second method is to map the position search box to the pattern layer, and then find the intersection of the position search box and the pattern list and filter to obtain the target data node.
[0061] Taking the second example, in some optional embodiments of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box, the pattern, and the pattern list includes:
[0062] S501. Mapping the position search box to the pattern layer; In some optional embodiments of the first aspect of the present invention, mapping the position search box to the pattern layer includes: calculating the first, second, third, and fourth position coordinates of the four corners of the position search box in the pixel layer coordinate system based on the center point position of the position search box and the preset specifications of the position search box; using the linear mapping relationship formula between the pattern layer and the pixel layer, obtaining the fifth, sixth, seventh, and eighth position coordinates of the first, second, third, and fourth position coordinates respectively in the pattern layer; and establishing a closed shape of the fifth, sixth, seventh, and eighth position coordinates in the pattern layer.
[0063] S502. Obtain the set of data nodes in the pattern list contained in the location search box; In some optional embodiments of the first aspect of the present invention, obtaining the set of data nodes in the pattern list contained in the location search box includes: obtaining the horizontal coordinate range and vertical coordinate range of the closed graphic in the coordinate system of the pattern layer; performing a preliminary screening on all data nodes in the pattern list based on the horizontal coordinate range to obtain a preliminary screening set of data nodes; performing a second screening on the preliminary screening set of data nodes based on the vertical coordinate range to obtain a finely screened set of data nodes, and using the finely screened set of data nodes as the set of data nodes in the pattern list contained in the location search box.
[0064] S503. Obtain the first target data node closest to the center point of the location search box from the data node set; In some optional embodiments of the first aspect of the present invention, obtaining the first target data node closest to the center point of the location search box from the data node set includes: calculating the distance between each data node in the data node set and the center point of the location search box to obtain the calculated distance between each data node in the data node set and the center point of the location search box; filtering the calculated distance between each data node and the center point of the location search box to obtain the minimum distance, and using the data node corresponding to the minimum distance as the first target data node.
[0065] S504. The position data and stitch count data bound to the first target data node are used as the actual target position for the machine head movement and the target stitch count for quilting. In summary, the overall process of steps S501 to S504 can be understood as follows: When quilting requires patching, the user simply double-clicks the screen (pixel layer) near the problem point, creating a square search box at the double-click location. This search box is then mapped to the pattern layer, and by comparing it with linked list data, the linked list data nodes encompassed by the search box are obtained. By comparing the positions of these nodes, the data node closest to the center of the search box is obtained. Thus, the target stitch count and position for the jump can be obtained.
[0066] Taking the first method as an example, in some other optional embodiments of the first aspect of the present invention, obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box and the pattern and the pattern list includes:
[0067] S501' Obtain the set of pixels contained in the position search box in the pixel layer; in this step of the present invention, it means obtaining the intersection (i.e., the set of pixels) between the position search box and the pattern image pixels in the pixel layer.
[0068] S502' Obtain the target pixel closest to the center point of the location search box from the pixel set; in this step, the distance calculation method can be the same as in the second method, which is to calculate the distance between each pixel in the pixel set and the center point of the location search box, and then obtain the pixel with the smallest distance value to the center point of the location search box.
[0069] S503' Map the target pixel to the pattern layer to obtain the second target data node corresponding to the target pixel in the pattern chain; In this invention, the pattern and each point in the pattern chain are in one-to-one correspondence. After obtaining the target pixel, the second target data node is obtained according to the correspondence between the pattern and each point in the pattern chain.
[0070] S504': The position data and stitch count data bound to the second target data node are used as the actual target position for the machine head movement and the target stitch count for quilting. In this invention, each data node in the pattern chain list contains at least two types of information: position and stitch count.
[0071] To better understand the technical effects of the present invention, Figure 2For example, when the sewing machine head is quilting a circular pattern counterclockwise, a thread breakage occurs at point A, and the machine only stops when it reaches point B. After the quilting worker threads the needle, the machine head needs to be moved from point B to point A. Traditionally, this requires moving along the circular pattern trajectory (the red path segment) until reaching point A. However, the technology used in this paper only requires double-clicking near point A to determine its location, allowing direct movement along a straight path (the dotted path segment) to point A. This paper proposes a technique for rapid needle count jumps based on a touchscreen display of the quilting pattern. Double-clicking near the problem point quickly locates the area around it. The operation is simpler and eliminates the time spent holding down the advance / retreat buttons, resulting in higher efficiency.
[0072] See Figure 4 The second aspect of the present invention provides a control system for the jump control of the stitch count in quilting patterns, comprising:
[0073] The linked list generation module 10 is used to form a pattern linked list based on the actual position data and quilting parameter data of the pattern to be quilted;
[0074] The linked list storage module 20 is used to store the pattern linked list in the pattern layer of the quilting system;
[0075] The linked list mapping module 30 is used to generate the pattern corresponding to the pattern linked list in the pixel layer of the quilting system display screen by linear mapping;
[0076] Click receiving module 40 is used to receive the user's click on the target position in the pixel layer and generate a location search box;
[0077] The target position and stitch count acquisition module 50 is used to obtain the actual target position of the machine head movement and the target stitch count of quilting based on the mapping relationship between the position search box, the pattern and the pattern list.
[0078] In some optional embodiments of the second aspect of the present invention, the target location and needle count acquisition module includes:
[0079] The search box mapping unit is used to map the location search box to the pattern layer;
[0080] The node set acquisition unit is used to acquire the data node set in the patterned linked list contained in the location search box;
[0081] The first target node acquisition unit is used to acquire the first target data node that is closest to the center point of the location search box from the data node set;
[0082] The first position and stitch count acquisition unit is used to obtain the actual target position of the machine head movement and the target stitch count of quilting based on the position data and stitch count data bound to the first target data node.
[0083] In some optional embodiments of the second aspect of the invention, the search box mapping unit includes:
[0084] The corner coordinate acquisition subunit is used to calculate the first, second, third, and fourth position coordinates of the four corners of the position search box in the pixel layer coordinate system based on the center point position of the position search box and the preset specifications of the position search box.
[0085] The coordinate transformation subunit is used to use the linear mapping relationship formula between the pattern layer and the pixel layer to obtain the fifth, sixth, seventh, and eighth position coordinates of the first, second, third, and fourth position coordinates in the pattern layer, respectively.
[0086] A closed-shape construction subunit is used to create a closed shape in the pattern layer for the fifth position coordinate, the sixth position coordinate, the seventh position coordinate, and the eighth position coordinate.
[0087] In some optional embodiments of the second aspect of the present invention, the node set acquisition unit includes:
[0088] The horizontal and vertical coordinate range acquisition sub-unit is used to acquire the horizontal and vertical coordinate ranges of the closed shape in the coordinate system of the pattern layer;
[0089] The node set initial screening subunit is used to perform initial screening on all data nodes in the patterned linked list based on the horizontal coordinate range to obtain the initial screening data node set.
[0090] The node set fine screening subunit is used to perform a second screening on the initial screening data node set based on the vertical coordinate range to obtain a fine screening data node set, and the fine screening data node set is used as the data node set in the pattern list included in the position search box.
[0091] In some optional embodiments of the second aspect of the present invention, the first target node acquisition unit includes:
[0092] The node set distance calculation subunit is used to calculate the distance between each data node in the data node set and the center point of the location search box, and obtain the calculated distance between each data node in the data node set and the center point of the location search box.
[0093] The first target data node acquisition subunit is used to filter the minimum distance from the calculated distance set between each data node and the center point of the location search box, and use the data node corresponding to the minimum distance as the first target data node.
[0094] In some alternative embodiments of the second aspect of the invention, the target location and needle count acquisition module includes:
[0095] A pixel set acquisition unit is used to acquire the pixel set contained in the location search box in the pixel layer;
[0096] The target pixel acquisition unit is used to acquire the target pixel closest to the center point of the location search box from the pixel set;
[0097] A pixel mapping unit is used to map the target pixel to the pattern layer to obtain the second target data node corresponding to the target pixel in the pattern linked list;
[0098] The second position and stitch count acquisition unit is used to obtain the actual target position of the machine head movement and the target stitch count of quilting based on the position data and stitch count data bound to the second target data node.
[0099] In some optional embodiments of the second aspect of the invention, the click receiving module includes:
[0100] The double-click receiving unit is used to receive double-click touches by the user on the display screen of the quilting system, or double-click operations by the user in the pixel layer via a mouse.
[0101] Double-click position acquisition unit, used to acquire the target position in the pixel layer corresponding to the double-click touch or the double-click operation;
[0102] The search box generation unit is used to generate a location search box of preset specifications centered on the target location.
[0103] Figure 5This is a schematic diagram of a quilting pattern stitch count jump control device 60 provided in an embodiment of the present invention. The quilting pattern stitch count jump control device 60 can vary considerably due to different configurations or performance characteristics. It may include one or more central processing units (CPUs) 70 (e.g., one or more processors) and a memory 80, and one or more storage media 100 (e.g., one or more mass storage devices) for storing application programs 90 or data. The memory and storage media can be short-term or persistent storage. The program stored in the storage media may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the quilting pattern stitch count jump control device. Furthermore, the processor may be configured to communicate with the storage media and execute the series of instruction operations in the storage media on the quilting pattern stitch count jump control device.
[0104] The quilting pattern stitch count jump control device of the present invention may further include one or more power supplies 110, one or more wired or wireless network interfaces 120, one or more input / output interfaces 130, and / or one or more operating systems 140, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 5 The illustrated quilting stitch count jump control device structure does not constitute a limitation on quilting stitch count jump control devices, which may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0105] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the quilting pattern stitch count jump method.
[0106] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0107] Furthermore, although the operations are described in a specific order, this should be understood as requiring that such operations be performed in the specific order shown or in sequential order, or requiring that all illustrated operations be performed to achieve the desired result. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented individually or in any suitable sub-combination in multiple implementations.
[0108] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for jumping stitch count in quilting patterns, characterized in that, Including the following steps: A pattern linked list is formed based on the actual position data and quilting parameter data of the pattern to be quilted; The pattern chain list is stored in the pattern layer of the quilting system; The pattern corresponding to the pattern chain is generated by linear mapping in the pixel layer of the display screen of the quilting system; Receive user clicks on the target location within the pixel layer and generate a location search box; Based on the location search box and the mapping relationship between the pattern and the pattern list, the actual target position of the machine head movement and the target number of stitches for quilting are obtained.
2. The method for jumping stitch count in quilting patterns according to claim 1, characterized in that, The method of obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box, the pattern, and the pattern list includes: Map the location search box to the pattern layer; Obtain the set of data nodes in the patterned linked list contained in the location search box; Obtain the first target data node that is closest to the center point of the location search box from the data node set; The position data and stitch count data bound to the first target data node are used as the actual target position for the machine head movement and the target stitch count for quilting.
3. The method for jumping stitch count in quilting patterns according to claim 2, characterized in that, The step of mapping the location search box to the pattern layer includes: Based on the center point of the location search box and the preset specifications of the location search box, the first, second, third, and fourth position coordinates of the four corners of the location search box in the coordinate system of the pixel layer are calculated. Using the linear mapping formula between the pattern layer and the pixel layer, the first position coordinates, the second position coordinates, the third position coordinates, and the fourth position coordinates are used to obtain the fifth position coordinates, the sixth position coordinates, the seventh position coordinates, and the eighth position coordinates in the pattern layer, respectively. A closed shape is created in the pattern layer, consisting of the fifth position coordinate, the sixth position coordinate, the seventh position coordinate, and the eighth position coordinate.
4. The method for jumping stitch count in quilting patterns according to claim 3, characterized in that, The Retrieving the set of data nodes in the patterned linked list contained in the location search box includes: Obtain the range of the horizontal and vertical coordinates of the closed shape within the coordinate system of the pattern layer; Based on the range of the horizontal coordinate, all data nodes in the patterned linked list are initially screened to obtain a set of initially screened data nodes. The initial screening data node set is screened a second time based on the range of the vertical coordinate to obtain the fine screening data node set, which is then used as the data node set in the pattern list contained in the position search box.
5. The method for jumping stitch count in quilting patterns according to claim 4, characterized in that, The step of obtaining the first target data node closest to the center point of the location search box from the data node set includes: The distance between each data node in the data node set and the center point of the location search box is calculated to obtain the calculated distance between each data node in the data node set and the center point of the location search box. The minimum distance is obtained by filtering the calculated distances between each data node and the center point of the location search box, and the data node corresponding to the minimum distance is taken as the first target data node.
6. The method for jumping stitch count in quilting patterns according to claim 1, characterized in that, The method of obtaining the actual target position of the machine head movement and the target number of quilting stitches based on the mapping relationship between the position search box, the pattern, and the pattern list includes: Obtain the set of pixels contained in the location search box in the pixel layer; Obtain the target pixel closest to the center point of the location search box from the set of pixels; The target pixel is mapped to the pattern layer to obtain the second target data node corresponding to the target pixel in the pattern linked list; The position data and stitch count data bound to the second target data node are used as the actual target position for the machine head movement and the target stitch count for quilting.
7. The method for jumping stitch count in quilting patterns according to claim 2 or 6, characterized in that, The step of receiving a user's click on the target location in the pixel layer and generating a location search box includes: The system can receive double-touch inputs from the user on the display screen of the quilting system, or double-touch operations from the user using a mouse on the pixel layer. Obtain the target position in the pixel layer corresponding to the double-touch or double-touch operation; A location search box of a preset size is generated with the target location as the center.
8. A jump control system for the stitch count of a quilting pattern, characterized in that, include: The linked list generation module is used to generate a pattern linked list based on the actual position data and quilting parameter data of the pattern to be quilted; A linked list storage module is used to store the pattern linked list in the pattern layer of the quilting system; A linked list mapping module is used to generate the pattern corresponding to the pattern linked list in the pixel layer of the display screen of the quilting system by linear mapping. The click receiving module is used to receive the user's click on the target location in the pixel layer and generate a location search box; The target position and stitch count acquisition module is used to obtain the actual target position of the machine head movement and the target stitch count of quilting based on the mapping relationship between the position search box, the pattern and the pattern list.
9. A device for controlling the number of stitches in a quilting pattern, characterized in that, The quilting pattern stitch count jump control device includes: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a circuit; The at least one processor invokes the instructions in the memory to cause the quilting pattern stitch count jump control device to execute the quilting pattern stitch count jump method as described in any one of claims 1-7.
10. A computer-readable storage medium storing a computer program thereon, characterized in that, When the computer program is executed by the processor, it implements the method for jumping the stitch count of the quilting pattern as described in any one of claims 1-7.
Citation Information
Patent Citations
Jump control machine of embroidering machine
JP1988275771A
Embroidery data preparation device and computer-readable media
JP2014212899A
