Method and system for sewing digital clothing sections

By automatically determining the starting point, end point and direction of the digital clothing sheet based on the indicator coordinates, and generating suture lines, solving the problems of complex operation and interaction difficulties in the prior art, and achieving efficient and accurate digital clothing sheet suture.

CN119433843APending Publication Date: 2025-02-14LINGDI (ZHEJIANG) TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310960799.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-01
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The prior art is difficult to optimize the basic functions of digital clothing production when sewing digital clothing versions. Especially when facing multiple line segments and segmentation situations, it is difficult to optimize the basic functions of digital clothing production.

Method used

By determining the starting point, end point and direction based on the method of indicating coordinates, generating sutures, including determining the starting point after receiving the instruction, detecting the range of movement of the indicator coordinates to determine the direction, generating sutures based on the starting point, end point and direction, and repeating this process To accommodate multi-line and multi-section stitching.

Benefits of technology

This method reduces the need for manual operation, improves the simplicity and ease of use of operation, ensures the accuracy and accuracy of sutures, and thus improves the efficiency and accuracy of plate making, saving time and labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119433843A_ABST
    Figure CN119433843A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for sewing a digital clothing sheet, and the method comprises the steps: determining a first starting point based on a first instruction and a current point of an indication coordinate, detecting a movement range of the indication coordinate, and determining a first direction based on the current point of the indication coordinate and the first starting point when the movement range of the indication coordinate exceeds a threshold value, and determining a first end point based on the second instruction and the current point of the indication coordinate, generating a first sewing thread based on the first starting point, the first end point and the first direction, then repeating the above method to generate a second sewing thread, and finally sewing the digital clothing sheet based on the first sewing thread and the second sewing thread. According to the scheme, operation is carried out based on the instruction and the coordinate point, the starting point, the ending point and the direction can be automatically determined, the suture line can be rapidly generated, the requirement for manual operation is reduced, meanwhile, the accuracy and precision of the suture line can be guaranteed, then the platemaking efficiency and accuracy are improved, and time and labor cost are effectively saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of sewing clothing patterns, and in particular relates to a method and a system for sewing digital clothing patterns. Background Art

[0002] Garment patterns, also known as sample pieces, are a tool used in clothing design and production. The shape and size of clothing patterns are similar to real clothing. They usually have the basic outline of the human body and can display and record information such as the design, appearance and size of clothing. Clothing designers can draw design patterns, add fabric samples, and mark sizes on clothing patterns, which helps designers visualize and evaluate creative ideas, and use them as templates for sample garments for reference and reproduction. They can also be used to display, demonstrate and record design details, cutting sizes and other information during the production process.

[0003] In garment production, pattern sewing is a very important process. Pattern sewing is the process of connecting different parts of a garment pattern with each other by sewing machines or by hand to simulate the production process of real garments. During the sewing process, designers will precisely stitch together different garment pattern parts according to the design pattern and structural requirements. This can better predict and solve possible problems, and adjust design details to ensure that the overall shape, tailoring, fit, appearance and structure of the garment meet expectations.

[0004] In the prior art, when specifying stitching, the edge is mainly used as the smallest granularity object. When multiple continuous edges connected end to end need to be stitched, the interaction is more complicated. At the same time, when facing segmentation, multiple line segments need to be selected. When the basic functions of digital clothing production are not optimized, the operation is more complicated, which also makes the interaction more difficult. Summary of the invention

[0005] In order to overcome the defects of the prior art, the present invention proposes a method for sewing digital clothing patterns, characterized in that the method comprises:

[0006] After receiving the first instruction, determining a first starting point based on a first coordinate point where the indicated coordinates are currently located;

[0007] Detecting a range of movement of the indicated coordinates, so as to determine a first direction based on a current location of the indicated coordinates and the first starting point when the range of movement of the indicated coordinates exceeds a preset first threshold;

[0008] After receiving the second instruction, determining a first end point based on a second coordinate point where the indicated coordinate is currently located, and generating a first sewing line based on the first starting point, the first end point and the first direction; the first starting point, the first end point and the generated first sewing line correspond to the same digital garment pattern;

[0009] Repeat the above steps to determine a second starting point, a second end point and a second direction and generate a second sewing line; the second starting point, the second end point and the generated second sewing line correspond to the same digital garment pattern;

[0010] The digital garment pattern is sewn based on the first sewing line and the second sewing line.

[0011] Specifically, the “after receiving the first instruction, determining the first starting point based on the first coordinate point where the indicated coordinates are currently located” includes:

[0012] After receiving the first instruction, searching whether there is a vertex of the digital clothing pattern within a second threshold range of the first coordinate point;

[0013] If there is a vertex of the digital clothing pattern, determine the vertex closest to the first coordinate point as the first starting point;

[0014] If there is no vertex of the digital clothing pattern, searching whether there is a contour line of the digital clothing pattern within a second threshold range of the first coordinate point;

[0015] If there is an outline of the digital garment pattern, the vertex on the outline that is closest to the first coordinate point is determined as the first starting point.

[0016] Specifically, the “determining the first direction based on the current location of the indicated coordinates and the first starting point” includes:

[0017] Setting each contour line with the first starting point as an endpoint as a detection line, detecting the distance between the current point of the indicated coordinate and each detection line, and determining the detection line closest to the current point of the indicated coordinate as a direction line;

[0018] The direction extending from the first starting point to the other end of the direction line is determined as the first direction.

[0019] Preferably, the method further comprises:

[0020] After determining the first direction, prompting the user to determine whether the first direction is correct;

[0021] If the judgment result is no, the first direction after being reversed is re-determined as the first direction.

[0022] Specifically, the “after receiving the second instruction, determining the first end point based on the second coordinate point where the indicated coordinates are currently located” includes:

[0023] After receiving the second instruction, searching whether there is a vertex of the digital clothing pattern within a third threshold range of the second coordinate point;

[0024] If so, determining the vertex closest to the second coordinate point as the first end point;

[0025] If it does not exist, the second coordinate point is determined as the first end point.

[0026] Furthermore, the method further comprises:

[0027] After determining the first end point, if a third instruction is received, cancel the previous first end point, and based on the previous first direction, extend the first direction based on the most recently canceled first end point and the current location of the indicated coordinates;

[0028] After receiving the second instruction, re-determine the first end point based on the coordinate point where the indicated coordinates are currently located;

[0029] Repeat the above steps until it is determined that the coordinate point where the indicated coordinates are currently located is the final first end point, and generate the first sewing line based on the first starting point, the first end point and the first direction.

[0030] Preferably, the indication coordinates include a mouse pointer.

[0031] Preferably, the method further comprises:

[0032] When the first instruction is not received, or when the first direction is determined and the second instruction is not received, if there is a vertex of the digital garment pattern within a fourth threshold range of the indicated coordinates, aligning the indicated coordinates to the nearest vertex;

[0033] And / or, if there is a cutting edge point of the digital garment pattern within a fifth threshold range of the indicated coordinates, aligning the indicated coordinates to the cutting edge point.

[0034] The present invention also provides a system for stitching digital clothing patterns, the system comprising:

[0035] A starting point determination module, configured to determine a first starting point based on a first coordinate point where the indicated coordinates are currently located after receiving a first instruction;

[0036] a direction determination module, configured to detect a range of movement of the indicated coordinates, so as to determine a first direction based on a current location of the indicated coordinates and the first starting point when the range of movement of the indicated coordinates exceeds a preset first threshold;

[0037] a generating module, configured to, after receiving a second instruction, determine a first end point based on a second coordinate point where the indicated coordinate is currently located, and generate a first sewing line based on the first starting point, the first end point and the first direction; the first starting point, the first end point and the generated first sewing line correspond to the same digital garment pattern;

[0038] a secondary generation module, configured to cause the starting point determination module, the direction determination module and the generation module to repeatedly execute preset steps to determine a second starting point, a second end point and a second direction and generate a second sewing line; the second starting point, the second end point and the generated second sewing line correspond to the same digital garment pattern;

[0039] A sewing module is used to sew the digital garment pattern based on the first sewing line and the second sewing line.

[0040] The present invention has at least the following beneficial effects:

[0041] The solution proposed by the present invention can quickly determine the starting point, end point and direction required for generating a stitching line according to instructions, reducing the need for manual operation, and is simple to operate, easy to use and convenient to adjust, so that users can sew digital clothing patterns efficiently and accurately;

[0042] Furthermore, this solution flexibly utilizes the vertices and contours of the digital clothing pattern to determine the starting point and direction, and can use the mouse pointer as the indicated coordinates, which is more in line with the operation of stitching digital clothing patterns. It considers aligning the indicated coordinates to the vertices and cutting edge points of the clothing pattern, providing convenience for users. At the same time, the solution can be applied to the stitching of multiple line segments and multiple patterns, and has a wide range of applicable scenarios.

[0043] Therefore, the present invention provides a method and system for stitching digital clothing patterns. The scheme operates based on instructions and coordinate points, can automatically determine the starting point, end point and direction and quickly generate stitching lines, reducing the need for manual operation, while ensuring the accuracy and precision of the stitching lines, thereby improving the efficiency and accuracy of plate making, and effectively saving time and labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] 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 ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A schematic diagram of the overall process of the method for sewing digital garment patterns provided in Example 1;

[0046] Figure 2 This is an example image of a digital clothing pattern;

[0047] Figure 3 Example diagram for generating seam lines on a digital garment pattern;

[0048] Figure 4 An example diagram of a curved edge portion of a digital clothing pattern with a curved edge;

[0049] Figure 5 A schematic diagram of a method for determining a first starting point;

[0050] Figure 6 A schematic diagram of a method for determining a first direction;

[0051] Figure 7 A schematic diagram of the method for determining the first endpoint;

[0052] Figure 8 An example diagram of generating seam lines based on multiple line segments on multiple digital garment patterns;

[0053] Fig. 9 A schematic diagram of a method for re-determining a first direction and a first end point to generate a first sewing line;

[0054] Fig.10 This is a schematic diagram of the module structure of the system for stitching digital clothing patterns provided in Example 1.

[0055] Reference numerals

[0056] 21-starting point determination module; 22-direction determination module; 23-generation module; 24-secondary generation module; 25-stitching module; 26-alignment module; 211-first search unit; 212-first determination unit; 213-second search unit; 214-second determination unit; 221-detection unit; 222-direction determination unit; 223-prompt unit; 224-reverse determination unit; 231-third search unit; 232-third determination unit; 233-fourth determination unit; 234-direction change unit; 235-end point change unit; 236-generation unit. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] Hereinafter, various embodiments of the present invention will be described more fully. The present invention may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present invention to the specific embodiments disclosed herein, but the present invention should be understood to cover all adjustments, equivalents and / or alternatives falling within the spirit and scope of the various embodiments of the present invention.

[0059] Hereinafter, the term "include" or "may include" used in various embodiments of the present invention indicates the presence of disclosed functions, operations or elements, and does not limit the addition of one or more functions, operations or elements. In addition, as used in various embodiments of the present invention, the terms "include", "have" and their cognates are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the presence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or the possibility of adding one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0060] In various embodiments of the present invention, the expression "or" or "at least one of A or / and B" includes any combination or all combinations of the words listed at the same time. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.

[0061] The expressions (such as "first", "second", etc.) used in various embodiments of the present invention may modify the various constituent elements in various embodiments, but may not limit the corresponding constituent elements. For example, the above expressions do not limit the order and / or importance of the elements. The above expressions are only used for the purpose of distinguishing an element from other elements. For example, the first user device and the second user device indicate different user devices, although both are user devices. For example, without departing from the scope of various embodiments of the present invention, the first element may be referred to as the second element, and similarly, the second element may also be referred to as the first element.

[0062] It should be noted that in the present invention, unless otherwise clearly specified and defined, the terms such as "installation", "connection", "fixation" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0063] In the present invention, those skilled in the art need to understand that the terms indicating orientation or positional relationship herein are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0064] The terms used in various embodiments of the present invention are only used for the purpose of describing specific embodiments and are not intended to limit various embodiments of the present invention. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise limited, all terms used here (including technical terms and scientific terms) have the same meaning as the meaning generally understood by those of ordinary skill in the art to which the various embodiments of the present invention belong. The terms (such as the terms defined in the dictionary generally used) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, unless clearly defined in various embodiments of the present invention.

[0065] Example 1

[0066] This embodiment provides a method for stitching digital clothing patterns. Figure 1-3 , the method comprising:

[0067] S100: After receiving the first instruction, determine a first starting point based on a first coordinate point where the indicated coordinates are currently located.

[0068] S200: Detecting a moving range of the indicated coordinates, and when the moving range of the indicated coordinates exceeds a preset first threshold, determining a first direction based on a first line segment generated by connecting a current point of the indicated coordinates and a first starting point.

[0069] It should be noted that the purpose of setting the first threshold is to correctly determine the first direction according to the moving direction of the indicated coordinates. Therefore, the indicated coordinates need to exceed a certain range before the first direction can be determined, especially when multiple lines are connected end to end to form a Figure 4 In the case of the direction of the quasi-annular or arc-shaped edge shown, this method can have a more superior effect. In a specific embodiment, the first threshold can be 3-10 pixels.

[0070] S300: After receiving the second instruction, determine the first end point based on the second coordinate point where the indicated coordinate is currently located, and generate a first sewing line based on the first starting point, the first end point and the first direction.

[0071] Preferably, the length of the first sewing line will be displayed to the user while the first sewing line is generated.

[0072] It should be noted that the generated first sewing line has a direction, and the first starting point, the first end point and the generated first sewing line correspond to the same digital garment pattern.

[0073] S400: Repeat the above steps to determine a second starting point, a second end point and a second direction and generate a second sewing line.

[0074] Similarly, the generated second sewing line has a direction, and the second starting point, the second end point and the generated second sewing line correspond to the same digital clothing pattern; it should be noted that the digital clothing pattern corresponding to the first starting point, the first end point and the generated first sewing line and the digital clothing pattern corresponding to the second starting point, the second end point and the generated second sewing line are generally different digital clothing patterns, but in some cases they may also correspond to the same digital clothing pattern.

[0075] S500: Sewing the digital garment pattern piece based on the first sewing line and the second sewing line.

[0076] It should be noted that the dotted lines in the digital clothing pattern are reference lines, which can help users calibrate and confirm during the design and sewing process of the digital clothing pattern.

[0077] In a specific embodiment, the starting point of the first sewing line is the first starting point, the end point is the first end point, the direction of the first sewing line is the first direction, the starting point of the second sewing line is the second starting point, the end point is the second end point, and the direction of the second sewing line is the second direction. The method of sewing digital garment patterns based on two different sewing lines has been detailed in the prior art, and will not be described in detail in this embodiment.

[0078] To facilitate the user to select, preferably, when the first instruction is not received, or when the first direction is determined and the second instruction is not received, if there is a vertex of the digital clothing pattern within the fourth threshold range of the indicated coordinates, the indicated coordinates are aligned to the nearest vertex;

[0079] Similarly, if there is a cutting edge point of the digital garment pattern within the fifth threshold range of the indicated coordinates, the indicated coordinates are aligned to the cutting edge point; in a specific embodiment, the fourth threshold is equal to the fifth threshold.

[0080] It should be noted that the objects that can be operated by users in the digital clothing pattern are vertices, including but not limited to: Figure 2 , Figure 3 The turning points and corner points in the digital clothing pattern shown in the figure; the cutting edge points in the digital clothing pattern are special points on the digital clothing pattern. The cutting edge points are also called "knife edges". When producing physical clothing patterns based on the digital clothing patterns, the cutting edge points can play a positioning role in prompting users to perform cutting, sewing and other operations.

[0081] Specifically, please refer to Figure 5 , step S100 includes:

[0082] S110: After receiving the first instruction, searching whether there is a vertex of the digital clothing pattern within a second threshold range of the first coordinate point.

[0083] If the vertices of the digital garment pattern exist, step S120 is executed; if the vertices of the digital garment pattern do not exist, step S130 is executed.

[0084] S120: Determine the vertex closest to the first coordinate point as the first starting point.

[0085] S130: Searching whether there is a contour line of the digital garment pattern within a second threshold range of the first coordinate point.

[0086] It should be noted that the contour line is Figure 2-4 As shown in the figure, the contour lines are drawn on the digital garment pattern. The contour lines are used to define the boundaries and shapes of garment parts. By outlining the overall contours of garment parts, such as the front body, back body, sleeves, etc., users can refer to and operate them during the cutting and sewing process. In addition, the internal lines of the garment can also be reflected in the digital garment pattern as contour lines, including but not limited to the pleats of the garment, the axis of symmetry of the garment pattern, the stitches of the external contour lines, the stitches of the quilting lines of the down jacket, etc.

[0087] If the outline of the digital garment pattern exists, step S140 is executed; if the outline of the digital garment pattern does not exist, no response is made.

[0088] S140: Determine the vertex on the contour line that is closest to the first coordinate point as the first starting point.

[0089] Preferably, please refer to Figure 6 The step S200 of “determining the first direction based on the first line segment generated by connecting the current point of the indicated coordinates and the first starting point” includes:

[0090] S210: setting each contour line with the first starting point as an endpoint as a detection line, detecting the distance between the current point where the indicated coordinate is located and each detection line, and determining the detection line closest to the current point where the indicated coordinate is located as the direction line.

[0091] S220: Determine a direction extending from the first starting point to the other end of the direction line as a first direction.

[0092] Furthermore, to ensure the correctness of the first direction, the method further includes:

[0093] S230: After determining the first direction, prompting the user to determine whether the first direction is correct.

[0094] If the user determines that the first direction is incorrect, step S240 is executed; if the user determines that the first direction is correct, no change is made.

[0095] S240: Re-determine the reversed first direction as the first direction.

[0096] Therefore, when an error occurs in determining the first direction, the user can flexibly make adjustments.

[0097] Specifically, please refer to Figure 7 , the step S300 of “after receiving the second instruction, determining the first end point based on the second coordinate point where the indicated coordinates are currently located” includes:

[0098] S310: After receiving the second instruction, searching whether there is a vertex of the digital clothing pattern within a third threshold range of the second coordinate point.

[0099] If the vertices of the digital garment pattern exist, step S320 is executed; if the vertices of the digital garment pattern do not exist, step S330 is executed.

[0100] S320: Determine the vertex closest to the second coordinate point as the first end point.

[0101] S330: Determine the second coordinate point as the first end point.

[0102] In the actual application of the method, it is very likely that multiple edges of a garment pattern need to be sewn with other garment patterns, a garment pattern needs to be sewn with multiple garment patterns, and multiple garment patterns need to be sewn with multiple garment patterns. To meet the needs of these situations at the same time, please refer to Figure 8-9 , the method proposed in this embodiment also includes:

[0103] S340: After determining the first endpoint, if a third instruction is received, cancel the previous first endpoint, and extend the first direction based on the previous first direction and the most recently canceled first endpoint and the current location of the indicated coordinates.

[0104] It should be noted that the newly extended direction can be reversed according to step S230 and step S240, so that the newly extended direction and the original direction can point to the same point.

[0105] S350: After receiving the second instruction, redetermine the first end point based on the coordinate point where the indicated coordinates are currently located.

[0106] Preferably, each time after the first end point is re-determined, the length of the sewing line between the most recently cancelled first end point and the re-determined first end point is displayed to the user.

[0107] It should be noted that the methods of extending the first direction in step S340 and redetermining the first end point in step S350 are respectively the same as those in step S200 and step S300, and are not further described herein.

[0108] If the coordinate point where the indicated coordinates are currently located is not determined as the final first end point, step S340 is repeated; if the coordinate point where the indicated coordinates are currently located is determined as the final first end point, step S360 is executed.

[0109] S360: Generate a first sewing line based on the first starting point, the first end point and the first direction.

[0110] In this embodiment, the indicated coordinates include a mouse pointer, and the first instruction, the second instruction, and the third instruction include clicking the left mouse button; in other embodiments, the first instruction, the second instruction, and the third instruction may include but are not limited to clicking the right mouse button, clicking the mouse wheel button, clicking the side mouse button, entering specific characters, and the like.

[0111] Furthermore, after the first sewing line is generated, the user can still reselect the positions of the first starting point and the first end point and change the first direction to flexibly adjust the first sewing line.

[0112] It should be noted that the method of determining the first starting point, the first direction, the first end point and generating the first sewing line in the above method is also applicable to the method of determining the second starting point, the second direction, the second end point and generating the second sewing line, which will not be elaborated in this embodiment.

[0113] Example 2

[0114] This embodiment proposes a system for stitching digital clothing patterns, which is used to implement the method proposed in Embodiment 1. Fig.10 , the system comprising:

[0115] A starting point determination module 21 is used to determine a first starting point based on a first coordinate point where the indicated coordinates are currently located after receiving the first instruction;

[0116] A direction determination module 22, used to detect the range of movement of the indicated coordinates, so as to determine a first direction based on the current location of the indicated coordinates and a first starting point when the range of movement of the indicated coordinates exceeds a preset first threshold;

[0117] A generating module 23, configured to, after receiving the second instruction, determine the first end point based on the second coordinate point where the indicated coordinate is currently located, and generate a first sewing line based on the first starting point, the first end point and the first direction;

[0118] A secondary generation module 24, configured to cause the starting point determination module 21, the direction determination module 22 and the generation module 23 to repeatedly execute preset steps to determine a second starting point, a second end point and a second direction and to generate a second sewing line;

[0119] The sewing module 25 is used to sew the digital garment pattern based on the first sewing line and the second sewing line.

[0120] Specifically, the first sewing line generated by the generation module 23 has a direction, and the first starting point, the first end point and the generated first sewing line correspond to the same digital clothing pattern. Similarly, the second sewing line generated has a direction, and the second starting point, the second end point and the generated second sewing line correspond to the same digital clothing pattern.

[0121] In a specific embodiment, the starting point of the first sewing line is the first starting point, the end point is the first end point, the direction of the first sewing line is the first direction, the starting point of the second sewing line is the second starting point, the end point is the second end point, and the direction of the second sewing line is the second direction.

[0122] It should be noted that the digital clothing pattern corresponding to the first starting point, the first end point and the generated first sewing line and the digital clothing pattern corresponding to the second starting point, the second end point and the generated second sewing line are generally different digital clothing patterns, but in some cases they may correspond to the same digital clothing pattern.

[0123] In this embodiment, the indicated coordinates include a mouse pointer, and the first instruction and the second instruction include clicking the left mouse button; in other embodiments, the first instruction and the second instruction may include but are not limited to clicking the right mouse button, clicking the mouse wheel button, clicking the side mouse button, entering specific characters, etc.

[0124] To facilitate the user to select, the system proposed in this embodiment also includes:

[0125] The alignment module 26 is used to align the indicated coordinates to the nearest vertex if there is a vertex of the digital clothing pattern within the fourth threshold range of the indicated coordinates when the starting point determination module 21 does not receive the first instruction, or when the direction determination module 22 determines the first direction and the generation module 23 does not receive the second instruction; and / or, if there is a cutting edge point of the digital clothing pattern within the fifth threshold range of the indicated coordinates, align the indicated coordinates to the cutting edge point.

[0126] In a specific embodiment, the fourth threshold value is equal to the fifth threshold value.

[0127] Specifically, the starting point determination module 21 includes:

[0128] A first search unit 211 is used to search whether there is a vertex of the digital clothing pattern within a second threshold range of the first coordinate point after receiving the first instruction;

[0129] A first determining unit 212 is used to determine the vertex closest to the first coordinate point as the first starting point when there are vertices of the digital garment pattern;

[0130] The second searching unit 213 is used to search whether there is a contour line of the digital clothing pattern within a second threshold range of the first coordinate point when there is no vertex of the digital clothing pattern;

[0131] The second determining unit 214 is configured to determine, when there is a contour line of the digital garment pattern, a vertex on the contour line that is closest to the first coordinate point as a first starting point.

[0132] Preferably, the direction determination module 22 includes:

[0133] A detection unit 221, configured to set each contour line with the first starting point as an endpoint as a detection line, detect the distance between the current point where the indicated coordinate is located and each detection line, and determine the detection line closest to the current point where the indicated coordinate is located as a direction line;

[0134] A direction determining unit 222, configured to determine a direction extending from the first starting point to the other end of the direction line as a first direction;

[0135] A prompting unit 223, configured to prompt a user to determine whether the first direction is correct after determining the first direction;

[0136] The reverse direction determining unit 224 is configured to redefine the reversed first direction as the first direction when the user determines that the first direction is incorrect.

[0137] Specifically, the generation module 23 includes:

[0138] The third search unit 231 is used to search whether there is a vertex of the digital clothing pattern within a third threshold range of the second coordinate point after receiving the second instruction;

[0139] A third determining unit 232 is used to determine the vertex closest to the second coordinate point as the first end point when there are vertices of the digital garment pattern;

[0140] The fourth determining unit 233 is configured to determine the second coordinate point as the first end point when there is no vertex of the digital garment pattern.

[0141] In the actual application of the method, it is likely that multiple edges of a garment pattern need to be sewn with other garment patterns, a garment pattern needs to be sewn with multiple garment patterns, and multiple garment patterns need to be sewn with multiple garment patterns. In order to meet the needs of these situations at the same time, the generation module 23 also includes:

[0142] A direction changing unit 234 is used for canceling the previous first end point if a third instruction is received after the first end point is determined, and extending the first direction based on the first direction, the most recently canceled first end point and the current location of the indicated coordinates;

[0143] The end point changing unit 235 is used to determine the first end point based on the second coordinate point where the indicated coordinates are currently located after receiving the second instruction, continuously detect whether the coordinate point where the indicated coordinates are currently located is determined as the final first end point, and when the coordinate point where the indicated coordinates are currently located is not determined as the final first end point, make the direction changing unit 234 repeat the preset steps;

[0144] The generating unit 236 is configured to generate a first sewing line based on the first starting point, the first end point and the first direction when the coordinate point where the indicated coordinate is currently located is determined to be the final first end point.

[0145] It should be noted that the steps of extending the first direction by the direction changing unit 234 and re-determining the first end point by the end point changing unit 235 are respectively the same as the corresponding steps in the direction determining module 22 and the generating module 23, and will not be described in detail here.

[0146] It should be noted that the method of determining the first starting point, the first direction, the first end point and generating the first sewing line in the above module is also applicable to the method of determining the second starting point, the second direction, the second end point and generating the second sewing line, which will not be elaborated in this embodiment.

[0147] In summary, the present invention provides a method and system for stitching digital clothing patterns. This scheme operates based on instructions and coordinate points, can automatically determine the starting point, end point and direction and quickly generate stitching lines, reducing the need for manual operation, while ensuring the accuracy and precision of the stitching lines, thereby improving the efficiency and accuracy of plate making, and effectively saving time and labor costs.

[0148] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for sewing digital garment patterns, characterized in that: The method comprises: After receiving the first instruction, determining a first starting point based on a first coordinate point where the indicated coordinates are currently located; Detecting a range of movement of the indicated coordinates, so as to determine a first direction based on a current location of the indicated coordinates and the first starting point when the range of movement of the indicated coordinates exceeds a preset first threshold; After receiving the second instruction, determining a first end point based on a second coordinate point where the indicated coordinate is currently located, and generating a first sewing line based on the first starting point, the first end point and the first direction; the first starting point, the first end point and the generated first sewing line correspond to the same digital garment pattern; Repeat the above steps to determine a second starting point, a second end point and a second direction and generate a second sewing line; the second starting point, the second end point and the generated second sewing line correspond to the same digital garment pattern; The digital garment pattern is sewn based on the first sewing line and the second sewing line.

2. The method for sewing digital garment patterns according to claim 1, characterized in that: The “after receiving the first instruction, determining the first starting point based on the first coordinate point where the indicated coordinates are currently located” includes: After receiving the first instruction, searching whether there is a vertex of the digital clothing pattern within a second threshold range of the first coordinate point; If there are vertices of the digital clothing pattern, the vertex closest to the first coordinate point is determined as the first starting point.

3. The method for sewing digital garment patterns according to claim 2, characterized in that: The method further comprises: If there is no vertex of the digital clothing pattern, searching whether there is a contour line of the digital clothing pattern within a second threshold range of the first coordinate point; If there is an outline of the digital garment pattern, the vertex on the outline that is closest to the first coordinate point is determined as the first starting point.

4. The method for sewing digital garment patterns according to claim 1, characterized in that: The “determining the first direction based on the current location of the indicated coordinates and the first starting point” includes: Setting each contour line with the first starting point as an endpoint as a detection line, detecting the distance between the current point of the indicated coordinate and each detection line, and determining the detection line closest to the current point of the indicated coordinate as a direction line; The direction extending from the first starting point to the other end of the direction line is determined as the first direction.

5. The method for sewing digital garment patterns according to claim 1 or 4, characterized in that: The method further comprises: After determining the first direction, prompting the user to determine whether the first direction is correct; If the judgment result is no, the first direction after being reversed is re-determined as the first direction.

6. The method for sewing digital garment patterns according to claim 1, characterized in that: The “after receiving the second instruction, determining the first end point based on the second coordinate point where the indicated coordinates are currently located” includes: After receiving the second instruction, searching whether there is a vertex of the digital clothing pattern within a third threshold range of the second coordinate point; If so, determining the vertex closest to the second coordinate point as the first end point; If it does not exist, the second coordinate point is determined as the first end point.

7. The method for sewing digital garment patterns according to claim 1, 4 or 6, characterized in that: The method further comprises: After determining the first end point, if a third instruction is received, cancel the previous first end point, and based on the previous first direction, extend the first direction based on the most recently canceled first end point and the current location of the indicated coordinates; After receiving the second instruction, re-determine the first end point based on the coordinate point where the indicated coordinates are currently located; Repeat the above steps until it is determined that the coordinate point where the indicated coordinates are currently located is the final first end point, and generate the first sewing line based on the first starting point, the first end point and the first direction.

8. The method for sewing digital garment patterns according to claim 1, characterized in that: The indicated coordinates include a mouse pointer.

9. The method for sewing digital garment patterns according to claim 1 or 8, characterized in that: The method further comprises: When the first instruction is not received, or when the first direction is determined and the second instruction is not received, if there is a vertex of the digital garment pattern within a fourth threshold range of the indicated coordinates, aligning the indicated coordinates to the nearest vertex; And / or, if there is a cutting edge point of the digital garment pattern within a fifth threshold range of the indicated coordinates, aligning the indicated coordinates to the cutting edge point.

10. A system for stitching digital garment patterns, characterized in that: The system comprises: A starting point determination module, configured to determine a first starting point based on a first coordinate point where the indicated coordinates are currently located after receiving a first instruction; a direction determination module, configured to detect a range of movement of the indicated coordinates, so as to determine a first direction based on a current location of the indicated coordinates and the first starting point when the range of movement of the indicated coordinates exceeds a preset first threshold; a generating module, configured to, after receiving a second instruction, determine a first end point based on a second coordinate point where the indicated coordinate is currently located, and generate a first sewing line based on the first starting point, the first end point and the first direction; the first starting point, the first end point and the generated first sewing line correspond to the same digital garment pattern; a secondary generation module, configured to cause the starting point determination module, the direction determination module and the generation module to repeatedly execute preset steps to determine a second starting point, a second end point and a second direction and generate a second sewing line; the second starting point, the second end point and the generated second sewing line correspond to the same digital garment pattern; A sewing module is used to sew the digital garment pattern based on the first sewing line and the second sewing line.

Citation Information

Patent Citations

  • Automatic sewing method and device for garment paper sample piece

    CN113151985A

  • Sewing data preparing device for automatic sewing machine

    JP1995313763A

  • Computer readable recording medium with dressmaking simulation program recorded, program and device for dressmaking simulation and method for generating sewing data

    JP2002279014A

  • Method and apparatus for creating digital clothing

    US20160314604A1

  • Computer-Implemented Method For Defining Seams Of A Virtual Garment Or Furniture Upholstery

    US20170105468A1