Cloth cutting method, cloth cutting system, electronic equipment and computer storage medium
Through the combination of the upper computer and the motion controller, the operation process of the cloth cutting component is simplified, the operating threshold and hardware cost are reduced, and the problem of complex and high cost of existing cloth cutting component control is solved.
Patent Information
- Application Number
- CN202510668969.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-07-25
AI Technical Summary
The existing cloth-cut component control system is complex, has high operating thresholds, and high equipment costs, which increases the production costs of the enterprise.
The graphics file is compiled by the host computer to generate processing files, the motion controller compiles processing files to generate control commands, and drives the component to drive the cloth cutting component to cut the cloth, simplify the operation process and reduce hardware costs.
It lowers the threshold for operating cloth cutting components, simplifies operating procedures, and reduces labor and hardware costs.
Smart Images

Figure CN120367030A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of processing control, and in particular to a cloth cutting method, a cloth cutting system, an electronic device, and a computer storage medium. Background Art
[0002] Existing cloth cutting components are usually controlled by a numerical control system. The numerical control system involves numerous parameters and has a complex control process, requiring operators to have extremely high professional qualities and capabilities. Therefore, the threshold for controlling the numerical control system is relatively high. In addition, the equipment cost of the data system is also relatively high, increasing the production cost expenditure of enterprises. Summary of the Invention
[0003] The main technical problem to be solved by the present application is to provide a cloth cutting method, a cloth cutting system, an electronic device, and a computer storage medium, which can reduce the threshold for controlling the cloth cutting component to cut cloth, simplify the operation process, and save costs.
[0004] To solve the above technical problem, in the first aspect of the present application, a cloth cutting method is provided. The method includes: using a host computer to compile a graphic file to generate a processing file, and then transmitting the processing file to a motion controller; the motion controller compiles the processing file to generate a control command, and then transmits the control command to a driving component, so that the driving component drives the cloth cutting component to cut cloth.
[0005] Among them, the step of using a host computer to compile a graphic file to generate a processing file includes: parsing the graphic file to identify all the graphic elements in the graphic file; picking up one of the graphic elements in a predetermined order; selecting a processing starting point on the currently picked-up graphic element and inserting a tool-down instruction; converting the lines in the current graphic element into sub-segment lines, and writing the positions corresponding to the sub-segment lines into the processing file; inserting a tool-up instruction; determining whether all the graphic elements have been picked up; if so, the processing file is generated; otherwise, picking up the next graphic element in the predetermined order, and using the next graphic element as the current graphic element, and returning to the step of selecting a processing starting point on the currently picked-up graphic element and inserting a tool-down instruction.
[0006] Among them, before the step of picking up one of the graphic elements in a predetermined order, it further includes: numbering all the graphic elements; the step of picking up one of the graphic elements in a predetermined order includes: picking up the graphic elements in the order of the numbers.
[0007] Among them, before the step of using a host computer to compile a graphic file to generate a processing file, it includes: obtaining a user coordinate system set by a user, and reading the machine coordinate system of the cloth cutting component; setting the motion parameters of the driving component, where the values of the motion parameters are related to the material and number of layers of the cloth to be cut.
[0008] Wherein, the method further includes: obtaining the coordinates of the graphic element in the user coordinate system, and converting the coordinates of the graphic element in the user coordinate system to the machine tool coordinate system.
[0009] Wherein, before the step of transmitting the processing file to the motion controller, the method further includes: encrypting the processing file.
[0010] Wherein, the step of compiling the processing file to generate control commands includes: decrypting and verifying the processing file; in response to successful verification of the processing file, the motion controller compiles the processing file to generate corresponding control instructions; wherein, the cloth cutting assembly includes a cloth cutting tool, and the control instructions include NC codes and M instructions, the NC codes are used to control the movement of the cloth cutting tool on the plane of the cloth cutting assembly, and the M instructions control the movement of the cloth cutting tool perpendicular to the plane.
[0011] To solve the above technical problems, a second aspect of the present application provides a cloth cutting system, including: a cloth cutting assembly, a host computer, a motion controller and a driving assembly, wherein, the host computer is used to compile a graphic file to generate a processing file; the motion controller is used to receive the processing file sent by the host computer and compile the processing file to generate control commands; the driving assembly is used to receive the control commands sent by the motion controller and then drive the cloth cutting assembly to cut the cloth.
[0012] To solve the above technical problems, a third aspect of the present application provides an electronic device, which includes a memory and a processor coupled to each other, wherein, the memory stores program data, and the processor calls the program data to execute the cloth cutting method of the first aspect above.
[0013] To solve the above technical problems, a fourth aspect of the present application provides a computer storage medium, on which program data is stored, and when the program data is executed by a processor, the cloth cutting method of the first aspect above is implemented.
[0014] The beneficial effects of the present application are: the present application constitutes a control system through a host computer and a motion controller. The host computer compiles a graphic file to generate a processing file and transmits it to the motion controller. The motion controller further compiles the processing file to generate control commands and transmits them to the driving assembly. Then, the driving assembly drives the cloth cutting assembly to cut the cloth according to the control commands. For operators, they only need to import the graphic file at the host computer end, which reduces the threshold of controlling the cloth cutting assembly, simplifies the operation process, and reduces labor costs. At the same time, the combination of the host computer and the motion controller saves hardware costs compared with the numerical control system. Description of the Drawings
[0015] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings required for the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other accompanying drawings can be obtained based on these drawings. Among them:
[0016] Figure 1 is a schematic flowchart of an embodiment of the cloth cutting method provided by the present application;
[0017] Figure 2 is Figure 1 a schematic flowchart of an embodiment corresponding to step S101 in
[0018] Figure 3 is a schematic flowchart of another embodiment of the cloth cutting method provided by the present application;
[0019] Figure 4 is a schematic structural diagram of an embodiment of the cloth cutting system provided by the present application;
[0020] Figure 5 is a schematic structural diagram of an embodiment of the electronic device provided by the present application;
[0021] Figure 6 is a schematic structural diagram of an embodiment of the computer storage medium provided by the present application. Specific Embodiments
[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0023] The terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article only describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after. In addition, "multiple" in this article means two or more than two.
[0024] Please refer to Figure 1 , Figure 1 is a schematic flowchart of an embodiment of the cloth cutting method provided by the present application, and the method includes:
[0025] S101: Compile the graphic file using the host computer to generate a machining file, and then transmit the machining file to the motion controller.
[0026] Specifically, the host computer at least includes a Human Machine Interface (HMI). The operator imports the graphic file through the HMI, and the graphic file contains the graphic styles that the fabric needs to be cut into. After obtaining the graphic file, the host computer compiles the graphic file to generate a machining file. After the compilation is completed and the machining file is obtained, the machining file is transmitted to the motion controller.
[0027] Preferably, the graphic file can be in the dxf format. The dxf format graphic file can be used for data exchange. In other embodiments, the graphic file can also be any one of the dwg, dwt, and dwf formats. After being imported into the host computer from the HMI, the host computer converts the graphic file in other formats into the dxf format.
[0028] In some embodiments, please refer to Figure 2 , Figure 2 is Figure 1 a schematic flowchart of an implementation manner corresponding to step S101 in
[0029] S201: Analyze the graphic file and identify all the primitives in the graphic file.
[0030] Specifically, the graphic file at least includes graphics of one shape, and each shape of graphic corresponds to a primitive. Taking the production of a coat as an example, a coat is formed by stitching together a collar, sleeves, a body, pockets, etc. Among them, the collar, sleeves, body, and pockets respectively correspond to their own shapes. The initial fabric to be cut needs to be cut into the shapes corresponding to the collar, sleeves, body, and pockets for further stitching.
[0031] In some embodiments, the graphic file only includes graphics of one shape, which is used to uniformly cut the fabric to be cut into the same shape. In other embodiments, the graphic file includes graphics of multiple shapes. For example, still taking the production of a coat as an example, the graphic file includes graphics of some or all of the shapes corresponding to the coat. The host computer identifies all the primitives in the graphic file by scanning the graphic file.
[0032] S202: Pick up a primitive in a predetermined order.
[0033] Specifically, when the host computer only identifies one primitive from the graphic file, the host computer further picks out the primitive; when the host computer identifies multiple primitives from the graphic file, the host computer picks up one of the primitives in a predetermined order.
[0034] Further, before the step of picking up a graphic element in a predetermined order, it further includes: numbering all graphic elements.
[0035] In some embodiments, every time the host computer recognizes a graphic element, it immediately numbers the graphic element, and the graphic element numbered first has a smaller numerical value, until the host computer recognizes all graphic elements and numbers all graphic elements in sequence.
[0036] In other embodiments, the host computer first recognizes all graphic elements in the graphic file, sorts them in ascending order according to the area of the recognized graphic elements, and numbers them in sequence. Among them, when there are several graphic elements with equal areas, the graphic elements recognized first are arranged at the front according to the order of the recognition stage.
[0037] Specifically, the step of picking up a graphic element in a predetermined order includes: picking up graphic elements in the order of the numbers.
[0038] It can be understood that picking up graphic elements according to the numbers after numbering can ensure the orderliness of picking up graphic elements, reduce the probability of chaos in the processing order, and improve the legality of the processing file generated by the host computer.
[0039] S203: Select a processing starting point on the currently picked-up graphic element and insert a tool-down instruction.
[0040] Specifically, the cloth-cutting assembly includes a cloth-cutting tool. The host computer selects a processing starting point for the current graphic element and inserts a tool-down instruction at the position of the processing starting point. The tool-down instruction is used to control the cloth-cutting tool to move from a position far away from the platform of the cloth-cutting assembly towards the surface close to the platform, so that the cloth-cutting tool can reach the initial cutting position.
[0041] S204: Convert the lines in the current graphic element into subdivision line segments and write the positions corresponding to the subdivision line segments into the processing file.
[0042] Specifically, a graphic element corresponds to a graphic of a certain shape, and its edge is composed of a complete closed line segment. The above-mentioned complete closed line segment is the trajectory that the cloth-cutting tool needs to run, and then the cloth to be cut is cut into the shape corresponding to the graphic element. When the host computer compiles the graphic file, it refines and divides the line segments in the graphic element, and then converts the straight lines and / or arcs in the graphic element into subdivision line segments. Writing the positions of the subdivision line segments into the processing file can make the movement trajectory of the cloth-cutting tool more accurate during processing and the conversion process is simple.
[0043] S205: Insert a tool-lift instruction.
[0044] Specifically, a tool-lift instruction is inserted after the processing trajectory of a graphic element is completed to control the cloth-cutting tool to leave the surface of the platform of the cloth-cutting assembly.
[0045] S206: Determine whether all graphic elements have been picked up.
[0046] Specifically, when not all the primitives with all numbers have been picked up in the preset order, step S207 is executed; otherwise, step S208 is executed.
[0047] S207: Pick up the next primitive in the predetermined order, and use the next primitive as the current primitive, then return to the step of selecting the machining starting point on the picked current primitive and inserting the tool feed instruction.
[0048] Specifically, pick up the next primitive in the order of the primitive numbers, use the above-mentioned next primitive as the current primitive, repeat steps S203 - S206 until each primitive is traversed, determine the machining starting point for each primitive and insert the tool feed instruction, convert the line segments on the primitive into sub - divided line segments to form the machining trajectory of the cloth - cutting tool and write it into the machining file, and insert the tool retraction instruction when the cloth - cutting tool returns to the position of the machining starting point.
[0049] S208: The machining file is generated.
[0050] Specifically, the host computer inserts an end command into the machining file, and the machining file is compiled.
[0051] S102: The motion controller compiles the machining file to generate control commands, and then transmits the control commands to the drive assembly so that the drive assembly drives the cloth - cutting assembly to cut the cloth.
[0052] Specifically, the host computer performs preliminary compilation on the graphic file to obtain the machining file. After obtaining the machining file, the motion controller further compiles the machining file, and converts the tool feed instruction, machining trajectory, tool retraction instruction and end command in the machining file into control commands that the drive assembly can execute.
[0053] In some embodiments, the drive assembly includes an external I / O interface and a motor. The motion controller converts the machining file into millisecond - level control commands and transmits them to the external I / O interface and the motor controller corresponding to the motor through a Field Programmable Gate Array (FPGA). After receiving the command, the motor controller controls the motor to drive the cloth - cutting assembly to cut the cloth to cut out the shape corresponding to the primitive. The external I / O interface is responsible for communication and feeds back the working condition of the cloth - cutting assembly to the host computer, and the operator can grasp the machining process in real time through the human - machine interface of the host computer.
[0054] In this embodiment, a control system is composed of a host computer and a motion controller. The host computer compiles a graphic file to generate a processing file and transmits it to the motion controller. The motion controller further compiles the processing file to generate a control command and transmits it to the driving component. Then, the driving component drives the cloth cutting component to cut the cloth according to the control command. For the operator, only the graphic file needs to be imported at the host computer end, which reduces the threshold of controlling the cloth cutting component, simplifies the operation process, and reduces the labor cost. At the same time, the combination of the host computer and the motion controller saves the hardware cost compared with the numerical control system.
[0055] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of another implementation manner of the cloth cutting method provided by this application. The method includes:
[0056] S301: Obtain the user coordinate system set by the user and read the machine coordinate system of the cloth cutting component.
[0057] Specifically, before the user imports the graphic file in the human-machine interface, a user coordinate system is customized first. The above user coordinate system is used to locate the position of the data read by the host computer. In addition, the machine coordinate system is preset and fixed. For example, the Cartesian coordinate system formed with the center of the base of the cloth cutting component as the coordinate origin is used as the machine coordinate system.
[0058] S302: Set the motion parameters of the driving component, where the values of the motion parameters are related to the material and number of layers of the cloth to be cut.
[0059] Specifically, when the host computer compiles the graphic file, the processing trajectory of the driving component will be formed, but the speed of the driving component running on this motion trajectory needs to be set manually due to different processing environments.
[0060] Furthermore, the values of the motion parameters are related to the material and number of layers of the cloth to be cut. Assume that the softness of the cloth to be cut is m, the number of layers is n, and the value of the motion parameter is v. Combining the standard values m0 and n0 corresponding to the softness m and the number of layers n, we can obtain v = m0 / m + n0 / n. When the material of the cloth to be cut is highly soft and the number of layers is large, the value of the motion parameter is small. When the material of the cloth to be cut is low in softness and the number of layers is small, the value of the motion parameter is large.
[0061] S303: Use the host computer to compile the graphic file to generate a processing file.
[0062] Specifically, the host computer parses the graphic file to identify all the graphic elements, obtains the coordinates of the graphic elements in the user coordinate system, and converts the coordinates of the graphic elements in the user coordinate system to the machine coordinate system. Among them, in the stage of parsing the graphic file by the host computer to identify the graphic elements, the host computer sets the graphic elements in the user coordinate system set by the user, and sets the graphic elements in the user coordinate system input by the user in the stage of identifying the graphic elements, so that the graphic elements can obtain accurate initial coordinate values after being identified, and converts the coordinates of the graphic elements in the user coordinate system to the machine coordinate system to obtain the coordinates of the graphic elements in the machine coordinate system.
[0063] Further, the host computer picks up the graphic element, selects the machining starting point on the current graphic element and inserts the tool feed instruction, and writes the coordinates of the machining starting point in the machine coordinate system into the machining file according to the coordinates of the graphic element.
[0064] Further, the host computer decomposes the arcs and / or straight lines in the current graphic element, decomposes all the lines in the graphic element into extremely short line segments to generate subdivided line segments, writes the coordinates of the subdivided line segments in the machine coordinate system into the machining file. When the lines on the graphic element are traversed, after the coordinates of the subdivided line segments return to the machining starting point from the machining starting point, the machining trajectory of the current graphic element can be completely written into the machining file. The host computer traverses all the graphic elements in the graphic file, and writes the corresponding machining trajectories into the machining file respectively to form the final machining file.
[0065] S304: Encrypt the machining file, and then transmit the machining file to the motion controller.
[0066] Specifically, encrypt the machining file before transmitting it to the motion controller. The host computer adds a check code to the header file of the machining file and then transmits the encrypted machining file to the motion controller.
[0067] In some embodiments, the check code includes the parameters of the host computer. When an error in the host computer parameters causes an error in the compiled machining file, the motion controller can perform the verification. If the verification fails, the incorrect machining file will not be executed, thereby reducing the probability of executing the incorrect machining file.
[0068] S305: Decrypt and verify the machining file.
[0069] Specifically, after receiving the encrypted machining file, the motion controller decodes and verifies the machining file.
[0070] In some embodiments, the motion controller reads the check code in the header file of the machining file, determines whether the check code is legal. If it is legal, execute step S306; otherwise, report an error to the host computer.
[0071] S306: In response to successful verification of the processing file, the motion controller compiles the processing file to generate corresponding control instructions, and then transmits the control commands to the drive assembly to enable the drive assembly to drive the cloth cutting assembly to cut the fabric.
[0072] Specifically, when the motion controller finishes verifying the encrypted processing file, the motion controller compiles the processing file to generate corresponding control instructions. Among them, the control instructions include NC codes and M instructions. The NC codes are used to control the movement of the cloth cutting tool on the plane of the cloth cutting assembly, and the M instructions control the movement of the cloth cutting tool perpendicular to the plane.
[0073] Specifically, the motion controller transmits the control commands to the drive assembly. The down-cut instruction and the lift-cut instruction in the processing file are compiled by the motion controller to form corresponding M instructions to control the down-cut and lift-cut of the cloth cutting tool. The processing trajectory composed of the segmented line segments in the processing file is compiled by the motion controller to form corresponding NC codes to control the cloth cutting tool to run the corresponding motion trajectory in the machine coordinate system to complete the cutting work.
[0074] In some embodiments, the motion controller controls the planar movement through the G00 instruction in the NC code. The G00 instruction can make the cloth cutting tool quickly move to the specified position in the machine coordinate system, improving the movement efficiency.
[0075] In other embodiments, the motion controller controls the planar movement through the G01 instruction in the NC code. The G01 instruction makes the cloth cutting tool linearly move from a certain point to the target point at a set speed through linear interpolation, improving the movement efficiency between the starting points of different primitive machining.
[0076] Please refer to Figure 4 , Figure 4 FIG. is a schematic structural diagram of an embodiment of the cloth cutting system provided by the present application. The cloth cutting system 40 includes a cloth cutting assembly 400, a host computer 402, a motion controller 404, and a drive assembly 406. Among them, the host computer 402 is used to compile the graphic file to generate a processing file. The motion controller 404 is used to receive the processing file sent by the host computer 402 and compile the processing file to generate control commands. The drive assembly 406 is used to receive the control commands sent by the motion controller 404 and then drive the cloth cutting assembly 400 to cut the fabric.
[0077] In some embodiments, information is exchanged between the host computer 402 and the motion controller 404 through the TCP / IP protocol, and the motion controller 404 transmits control commands to the drive assembly 406 through the FPGA.
[0078] Specifically, the above-mentioned cloth cutting system 40 can be used to implement the cloth cutting method in any of the above embodiments. For the description of related content, please refer to the detailed description of the above method embodiments and will not be repeated here.
[0079] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of an embodiment of an electronic device provided by the present application. The electronic device 50 includes a memory 501 and a processor 502 that are coupled to each other. Among them, the memory 501 stores program data (not shown in the figure), and the processor 502 calls the program data to implement the cloth cutting method in any of the above embodiments. For the description of related content, please refer to the detailed description of the above method embodiments, and details will not be repeated here.
[0080] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of an embodiment of a computer storage medium provided by the present application. The computer storage medium 60 stores program data 600, and when the program data 600 is executed by a processor, it implements the cloth cutting method in any of the above embodiments. For the description of related content, please refer to the detailed description of the above method embodiments, and details will not be repeated here.
[0081] It should be noted that the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0082] In addition, in each embodiment of the present application, the functional units may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0083] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0084] The above are only the embodiments of the present application, and do not thus limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall similarly be included within the patent protection scope of the present application.
Claims
1. A cloth cutting method, characterized in that, The method includes: Compiling a graphic file by a host computer to generate a machining file, and then transmitting the machining file to a motion controller; The motion controller compiles the machining file to generate control commands, and then transmits the control commands to a driving component to enable the driving component to drive a cloth cutting component to cut cloth.
2. The method according to claim 1, wherein The step of compiling a graphic file by a host computer to generate a machining file includes: Parsing the graphic file to identify all the primitives in the graphic file; Picking up one of the primitives in a predetermined order; Selecting a machining start point on the currently picked primitive and inserting a tool-down instruction; Converting the lines in the current primitive into segmented lines, and writing the positions corresponding to the segmented lines into the machining file; Inserting a tool-up instruction; Judging whether all the primitives have been picked up; If so, the machining file is generated; otherwise, picking up the next primitive in the predetermined order, and taking the next primitive as the current primitive, and returning to the step of selecting a machining start point on the currently picked primitive and inserting a tool-down instruction.
3. The method according to claim 2, wherein Before the step of picking up one of the primitives in a predetermined order, it further includes: Numbering all the primitives; The step of picking up one of the primitives in a predetermined order includes: picking up the primitives in the numbered order.
4. The method according to claim 2, wherein Before the step of compiling a graphic file by a host computer to generate a machining file, it includes: Obtaining a user coordinate system set by a user, and reading a machine tool coordinate system of the cloth cutting component; Setting motion parameters of the driving component, wherein the values of the motion parameters are related to the material and number of layers of the cloth to be cut.
5. The method according to claim 4, wherein It further includes: Obtaining the coordinates of the primitive in the user coordinate system, and converting the coordinates of the primitive in the user coordinate system into the machine tool coordinate system.
6. The method according to claim 1, characterized in that, Before the step of transmitting the machining file to the motion controller, it further includes: Performing encryption processing on the machining file.
7. The method according to claim 6, characterized in that, The step of compiling the machining file to generate control commands includes: Performing decryption verification on the machining file; In response to successful verification of the machining file, the motion controller compiles the machining file to generate corresponding control instructions; Wherein, the cloth cutting component includes a cloth cutting tool, the control instructions include NC codes and M instructions, the NC codes are used to control the movement of the cloth cutting tool on the plane of the cloth cutting component, and the M instructions control the movement of the cloth cutting tool perpendicular to the plane.
8. A cloth cutting system, characterized in that, It includes: A cloth cutting component; A host computer for compiling a graphic file to generate a machining file; A motion controller for receiving the machining file sent by the host computer and compiling the machining file to generate control commands; A driving component for receiving the control commands sent by the motion controller and then driving the cloth cutting component to cut cloth.
9. An electronic device, characterized in that, It includes: A memory and a processor coupled to each other, wherein the memory stores program data, and the processor calls the program data to execute the method according to any one of claims 1-7.
10. A computer storage medium having program data stored thereon, characterized in that, When the program data is executed by the processor, the method according to any one of claims 1-7 is implemented.