Key blank cutting method, device, CNC machine and storage medium
By obtaining the size of the target universal key embryo and using a CNC machine to cut the rough key embryo, the problem of high key cutting costs and complex management in the existing technology is solved, and the size of the key embryo is reduced and the cutting efficiency is improved.
Patent Information
- Application Number
- CN202210800817.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-08
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-07-08
AI Technical Summary
Existing key cutting technology requires the preparation of multiple prototypes for various key shapes in advance, resulting in high costs, complex storage, difficult management, and waste of time.
By obtaining the target size of the target universal key embryo, a CNC machine-controlled tool is used to cut the rough key embryo into a universal key embryo suitable for multiple key types, thereby reducing the size of the key embryo and reducing warehousing and management costs.
It achieves a reduction in the size of the key embryo, reduces warehousing and management costs, reduces the need to purchase a variety of original embryos through universal key embryos, and improves key cutting efficiency and adaptability.
Smart Images

Figure CN115401528B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of key cutting, and in particular to a key blank cutting method, device, CNC machine and storage medium. Background Art
[0002] At present, all the different key shapes on the market require the corresponding key blanks to be cut, so it is necessary to cut all the key types of blanks in advance. However, the traditional method has the problem of high cost. Summary of the invention
[0003] Based on this, it is necessary to provide a key blank cutting method, device, CNC machine and storage medium that can reduce costs in response to the above technical problems.
[0004] A key blank cutting method, the method comprising:
[0005] Obtaining target dimensions of a target universal key blank; the target dimensions include target thickness, target length and target width;
[0006] According to the target size, the tool is controlled to cut the rough key blank into the target universal key blank.
[0007] A key blank cutting device, comprising:
[0008] A size acquisition module, used to acquire a target size of a target universal key blank; the target size includes a target thickness, a target length and a target width;
[0009] The tool control module is used to control the tool to cut the key rough blank into the target universal key blank according to the target size.
[0010] A numerical control machine is used to implement the steps of each key blank cutting method.
[0011] A computer-readable storage medium stores a computer program, which implements the steps of each key blank cutting method when executed by a processor.
[0012] The key blank cutting method, device, CNC machine and storage medium obtain the target size of the target universal key blank, and control the tool according to the target size to cut the key rough blank into the target universal key blank, thereby reducing the size of the key blank and reducing the storage cost. Moreover, since the target universal key blank can be cut into a variety of keys by the key cutting machine, there is no need to purchase a large number of types of key blanks, thereby reducing the cost. In addition, there is no need to classify and manage various types of key blanks as in the traditional way, thereby reducing the management cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 Schematic diagram of a key blank cutting method according to an embodiment;
[0014] Figure 2 is a schematic diagram of a target universal key embryo in one embodiment;
[0015] Figure 3 A schematic diagram of a spiral cutting track in one embodiment;
[0016] Figure 4 is a schematic diagram of cutting the long side and the short side in one embodiment;
[0017] Figure 5 A schematic diagram of a general head cutting trajectory in one embodiment;
[0018] Figure 6 A schematic diagram of a key blank cutting method according to another embodiment;
[0019] Figure 7 FIG. 4 is a structural block diagram of a key blank cutting device in one embodiment. DETAILED DESCRIPTION
[0020] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. The connection can be a direct connection or an indirect connection.
[0023] In addition, in this application, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0024] In one embodiment, Figure 1 FIG. 1 is a schematic diagram of a process of a key blank cutting method in one embodiment. Figure 1 The key embryo cutting method can be directly applied to a CNC machine, or can be implemented by controlling a CNC machine through a computer device. The CNC machine can specifically be a key cutting machine. In the embodiment of the present application, the application on a CNC machine is used as an example for explanation. A key embryo cutting method includes:
[0025] Step 102, obtaining the target size of the target universal key blank; the target size includes a target thickness, a target length and a target width.
[0026] Specifically, the target thickness refers to the maximum thickness of a key among the multiple keys. The target length refers to the maximum length of a key among the multiple keys. The target width refers to the maximum width of a key among the multiple keys. The target universal key embryo refers to a key embryo suitable for cutting multiple keys.
[0027] Step 104, according to the target size, control the cutter to cut the rough key blank into the target universal key blank.
[0028] Among them, the length, width and thickness of the tool key rough blank are greater than or equal to the length, width and thickness of each key blank. The target universal key blank refers to a key blank that is smaller than the key rough blank and is suitable for a variety of key types. In addition, the target universal key blank is also suitable for cutting on a key cutting machine. The target universal key blank can specifically be a universal blank for car keys. The major categories of car keys can be divided into external milling types and internal milling types. The external milling type can be further divided into flat tooth types and external groove types. The present application is based on the analysis of multiple key types, and the external milling type and internal milling type keys can be cut from the target universal key blank in the embodiment of the present application. Therefore, the target universal key blank is at least universal for external groove keys and internal milling keys.
[0029] Specifically, the CNC machine controls the tool to cut the rough key blank into a target universal key blank that meets the target size. Optionally, the reference size of the rough key blank is obtained, and the reference size includes a reference thickness, a reference length, and a reference width; according to the target size and the reference size, the tool is controlled to cut the rough key blank into the target universal key blank. The reference size of the rough key blank is the actual size of the rough key blank.
[0030] In this embodiment, by obtaining the target size of the target universal key blank, the tool is controlled to cut the key rough blank into the target universal key blank according to the target size, thereby reducing the size of the key blank and reducing the storage cost; and because the target universal key blank can be cut into a variety of keys by the key cutting machine, there is no need to purchase a large number of types of key blanks, thereby reducing the cost; and there is no need to classify and manage various types of key blanks as in the traditional way, thereby reducing the management cost.
[0031] In one embodiment, according to the target size, the tool is controlled to cut the rough key blank into the target universal key blank, including: according to the target thickness, the tool is controlled to cut the rough key blank into the first key blank; the thickness of the first key blank is the target thickness; according to the target length and the target width, the tool is controlled to cut the first key blank into the target universal key blank.
[0032] Specifically, the thickness of the first key embryo is the target thickness. The size of the target universal key embryo includes the target thickness, target length and target width. The cutting part can be the tooth position part, and the target length and target width are the length and width of the tooth position part. The target thickness is the thickness of the tooth position part. Figure 2 FIG. 1 is a schematic diagram of a target universal key blank in an embodiment, wherein the portion indicated by the arrow is the tooth portion.
[0033] In this embodiment, according to the target thickness, the tool is controlled to cut the key rough blank into the first key blank, that is, the key thickness cutting is performed; according to the target length and target width, the tool is controlled to cut the first key blank into the target universal key original blank, and the length and width are cut together to the required values, which can shorten the cutting time and avoid empty cutting.
[0034] In one embodiment, according to the target thickness, controlling the tool to cut the rough key blank into the first key blank includes: controlling the tool to cut the rough key blank into the first key blank according to a circular spiral cutting trajectory on a plane corresponding to the target thickness.
[0035] like Figure 3The figure shows a schematic diagram of a meandering spiral cutting trajectory in one embodiment. The circle in the figure is a milling cutter, and the direction of the arrow indicates the direction in which the milling cutter moves. When cutting to the target thickness, the milling cutter starts from circle 1 and moves to circle 16 according to the arrow in the figure, forming a meandering spiral cutting trajectory. The feed amount of each cutting is less than the milling cutter diameter to ensure that there is no residue. For example, if the target thickness of the key blank is 3 mm, then the plane corresponding to the target thickness is the plane at 3 mm. In the last circle, if the remaining part of the cutting is less than the feed amount, the feed amount is reduced for cutting.
[0036] Specifically, the numerical control machine controls the tool to cut the rough key blank into the first key blank according to a circular spiral cutting trajectory on a plane corresponding to the target thickness.
[0037] Optionally, the CNC machine controls the tool to cut the rough key blank into the first key blank according to a circular spiral cutting trajectory and a preset feed amount on a plane corresponding to the target thickness; the preset feed amount is smaller than the tool diameter.
[0038] In this embodiment, the tool is controlled to cut the rough key blank into the first key blank according to a zigzag spiral cutting trajectory on a plane corresponding to the target thickness, thereby avoiding cutting residues.
[0039] In one embodiment, according to the target length and the target width, controlling the cutter to cut the first key embryo into a target universal key embryo comprises:
[0040] The cutter is controlled to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, thereby obtaining a target universal key embryo.
[0041] Specifically, the CNC machine controls the tool to reach down to the bottom of the key, cut along the long side of the first key embryo, and cut along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, thereby obtaining the target universal key embryo.
[0042] Optionally, the CNC machine may first cut along the long side of the first key embryo and then cut along the short side; or may first cut along the short side of the first key embryo and then cut along the long side.
[0043] In this embodiment, Figure 4The figure shows a schematic diagram of long side and short side cutting in one embodiment. The dotted lines represent the range corresponding to the target length and the target width. The circle represents the tool, which starts from the position of circle 1 and cuts in the direction of the arrow in the figure. Every time the tool reaches the right side of the tail of the key, it lifts the tool, moves to the left side of the tail of the key, and then goes down to the bottom of the key. The feed amount of each cutting is less than the diameter of the milling cutter to ensure that there is no residue. That is, circle 1 to circle 4 in the figure, lift the tool, move to circle 5, and circle 5 to circle 8. Figure 3 The upper middle part is the key head, which is the part that is first inserted into the key hole. The key tail is the key teeth part close to the hand-held part.
[0044] In this embodiment, the tool is controlled to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, so as to obtain the target universal key embryo, which can reduce empty travel and improve the key embryo cutting efficiency.
[0045] In one embodiment, according to the target length and the target width, controlling the cutter to cut the first key embryo into a target universal key embryo comprises:
[0046] Cutting the first key embryo into universal key embryos according to the target length and the target width;
[0047] The tool is controlled to cut the head corner of the universal key blank to obtain the target universal key blank.
[0048] The universal key blank refers to a key blank that has been cut according to the target length, target width and target thickness. The target universal key blank includes a key blank that has at least the head corner of the universal key blank cut. The head cutting trajectory refers to the trajectory of cutting the key head corner. Figure 5 FIG. 502 is a schematic diagram of a universal head cutting track in an embodiment. The head angle is the two angles of the head of the universal key blank. By cutting the two head angles, a target universal key blank suitable for most key types can be obtained.
[0049] Specifically, the CNC machine cuts along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, thereby obtaining a universal key embryo; the tool is controlled to cut the head corner of the universal key embryo according to the universal head cutting trajectory, thereby obtaining a target universal key embryo.
[0050] In this embodiment, according to the target length and target width, the first key embryo is cut into a universal key embryo, and the tool is controlled to cut the head corner of the universal key embryo to obtain the target universal key embryo, thereby further improving the adaptability of the key and improving the key cutting efficiency when the target universal key embryo is used for key cutting.
[0051] In one embodiment, controlling a cutter to cut the head corner of a universal key blank to obtain a target universal key blank includes:
[0052] The tool is controlled to cut the head corner of the universal key blank according to the universal head cutting trajectory, and the tail of the universal key blank is cut according to the universal tail cutting trajectory to obtain the target universal key blank.
[0053] Among them, the tail cutting track is the cutting track of the tail of the key.
[0054] Specifically, the CNC machine controls the tool to cut the head angle of the universal key blank according to the universal head cutting trajectory, and cuts the tail of the universal key blank according to the universal tail cutting trajectory to obtain the target universal key blank.
[0055] In this embodiment, the tool is controlled to cut the head corner of the universal key embryo according to the universal head cutting trajectory, and the tail of the universal key embryo is cut according to the universal tail cutting trajectory to obtain the target universal key embryo. The obtained embryo is closer to the key actually required by the user, reducing the difficulty of subsequent key cutting and improving the key cutting efficiency.
[0056] In one embodiment, according to the target size, the tool is controlled to cut the rough key blank into the target universal key blank, including: according to the target length and target width, the tool is controlled to cut the rough key blank into the second key blank; according to the target thickness, the tool is controlled to cut the second key blank into the target universal key blank.
[0057] The rough key blank may be cut according to a target width first, or may be cut according to a target length and a target width.
[0058] In this embodiment, according to the target length and target width, the tool is controlled to cut the rough key embryo into a second key embryo, including: controlling the tool to cut along the long side of the second key embryo, and cutting along the short side of the second key embryo until the length of the second key embryo meets the target length and the width meets the target width, thereby obtaining the target universal key embryo.
[0059] In this embodiment, according to the target length and target width, the tool is controlled to cut the second key embryo into a target universal key embryo, including: according to the target length and target width, the second key embryo is cut into a universal key embryo; and the tool is controlled to cut the head corner of the universal key embryo to obtain the target universal key embryo.
[0060] In this embodiment, the tool is controlled to cut the head corner of the universal key blank to obtain the target universal key blank, including: controlling the tool to cut the head corner of the universal key blank according to the universal head cutting trajectory, and cutting the tail of the universal key blank according to the universal tail cutting trajectory to obtain the target universal key blank.
[0061] In this embodiment, according to the target length and target width, the tool is controlled to cut the rough key blank into the second key blank, and the length and width are cut together to the required values, which can shorten the cutting time and avoid empty cutting; according to the target thickness, the tool is controlled to cut the second key blank into the target universal key blank, that is, key thickness cutting is performed.
[0062] In one embodiment, all the different key shapes currently on the market require the corresponding key blanks to be cut, so it is necessary to prepare the blanks of all key types in advance. Under this requirement, the following problems will arise:
[0063] (1) It is necessary to increase the storage of key blanks, which increases costs.
[0064] (2) Key blanks need to be classified and managed, which increases management costs.
[0065] (3) A large number of different key blanks need to be placed, increasing space costs.
[0066] (4) When in use, it is necessary to find the corresponding key blank from a large number of stored key blanks, which increases time cost.
[0067] Under the above circumstances, the present invention designs a universal key blank based on solving the above problems, and uses a special algorithm to automatically cut the corresponding key blank using a CNC machine. On this basis, only a specific key rough blank needs to be placed to obtain the corresponding key blank, which greatly reduces the reserve of key blanks and solves the above four problems.
[0068] Keys can be divided into external milling and internal milling. External milling can be divided into flat tooth and external groove. Based on the analysis of key type data, both external groove and internal milling keys can be cut out using a specific key rough blank, provided that the length, width and thickness of the rough blank are greater than or equal to the maximum length, width and thickness of the key original blank. In this way, key original blanks of any conditions and head shapes can be cut out through the key rough blank.
[0069] like Figure 6 As shown, it is a flow chart of the key blank cutting method in another embodiment. The CNC machine obtains the target length L1, target width W1 and target thickness T1 of the target universal key blank. The CNC machine detects and obtains the rough blank length L2, rough blank width W2 and rough blank thickness T2 of the key blank. It is judged whether the rough blank thickness T2 is greater than or equal to the target thickness T1. When T2 ≥ T1, the CNC machine cuts the rough blank thickness to T1. When T2 is less than T1, it is judged whether W2 is greater than or equal to W1, and whether L2 is greater than or equal to L1. When W2 ≥ W1 and L2 ≥ L1, the width is cut to W1 and the length is cut to L1. The head shape information and the tail shape information are obtained, and the tool is controlled to cut the head corner of the universal key blank according to the universal head cutting trajectory, and the tail of the universal key blank is cut according to the universal tail cutting trajectory to obtain the target universal key blank. After cutting, the key blank cutting function is exited. When at least one of W2<W1 and L2<L1 is satisfied, the information that the current rough embryo shape cannot be cut into the original embryo is reported.
[0070] Under normal circumstances, the length, width and thickness of the rough blank used will be greater than or equal to the length, width and thickness of the original blank. Therefore, the rough blank will be processed into the key thickness in turn until it reaches the thickness of the original blank. The width and length of the key will also be processed to the width and length of the original blank at the same time.
[0071] Thickness cutting algorithm:
[0072] In order to shorten the cutting time, when cutting the key thickness, according to the algorithm, the machine will gradually approach the center of the key in the XY direction according to the last movement result, until it is completely cut in the X direction or Y direction. The specific cutting route is shown in the figure below. The circle in the figure is the milling cutter, and the arrow direction indicates the direction of the milling cutter movement. When cutting the specified thickness, the milling cutter starts from circle 1 and moves to circle 16 as shown by the arrow in the figure. The cutting amount each time is 2 / 3 of the milling cutter diameter to ensure that there will be no residue.
[0073] Length and width cutting algorithm: In order to shorten the cutting time and avoid empty cutting, the machine will cut the length and width to the required values at the same time. Figure 4 .
[0074] The part surrounded by the purple line is the final required length and width. The circle represents the milling cutter. The machine will start from the position of circle 1 and cut in the direction of the arrow in the figure. Every time it reaches the right side of the key tail, it will lift the cutter, move to the left side of the key tail, and then cut to the specified depth, and cut 2 / 3 of the diameter to the right. That is, circle 1→circle 4 in the figure, lift the cutter to circle 5, circle 5→circle 8.
[0075] In one embodiment, a key blank cutting method includes:
[0076] Step (a1), obtaining target dimensions of a target universal key blank; the target dimensions include target thickness, target length and target width.
[0077] Step (a2), controlling the tool to cut the rough key blank into a first key blank according to a zigzag spiral cutting trajectory on a plane corresponding to the target thickness; the thickness of the first key blank is the target thickness.
[0078] Step (a3), controlling the cutter to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, thereby obtaining a universal key embryo.
[0079] Step (a4), controlling the tool to cut the head corner of the universal key blank according to the universal head cutting trajectory, and cutting the tail of the universal key blank according to the universal tail cutting trajectory, to obtain the target universal key blank.
[0080] In this embodiment, by obtaining the target size of the target universal key blank, the tool is controlled to cut the key rough blank into the target universal key blank according to the target size, thereby reducing the size of the key blank and reducing the storage cost. Moreover, since the target universal key blank can be cut into multiple keys by the key cutting machine, there is no need to purchase a large number of types of key blanks, thereby reducing the cost. In addition, there is no need to classify and manage various types of key blanks as in the traditional way, thereby reducing the management cost. Furthermore, according to the target length and target width, the first key blank is cut into a universal key blank, and the tool is controlled to cut the head corner of the universal key blank to obtain the target universal key blank, thereby further improving the adaptability of the key and improving the key cutting efficiency when the target universal key blank is used for key cutting.
[0081] It should be understood that although the above Figure 1 and Figure 2 The steps in the flowchart are shown in sequence according to the arrows, and the steps in steps (a1) to (a4) are shown in sequence according to the numbers, but these steps are not necessarily executed in the order indicated by the arrows or numbers. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 and Figure 2 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0082] In one embodiment, Figure 7 FIG. 1 is a block diagram of a key blank cutting device in one embodiment. Figure 7 A key blank cutting device is provided. The device can adopt a software module or a hardware module, or a combination of the two to become a part of a computer device. The device specifically includes: a size acquisition module and a tool control module, wherein:
[0083] A size acquisition module, used to acquire a target size of a target universal key blank; the target size includes a target thickness, a target length and a target width;
[0084] The tool control module is used to control the tool to cut the key rough blank into the target universal key blank according to the target size.
[0085] In this embodiment, by obtaining the target size of the target universal key blank, the tool is controlled to cut the key rough blank into the target universal key blank according to the target size, thereby reducing the size of the key blank and reducing the storage cost. In addition, since the target universal key blank can be cut into a variety of keys by a key cutting machine, there is no need to purchase a large number of types of key blanks, thereby reducing costs. In addition, there is no need to classify and manage various types of key blanks as in the traditional way, thereby reducing management costs.
[0086] In one embodiment, the tool control module is used to control the tool to cut the key rough blank into the first key blank according to the target thickness; the thickness of the first key blank is the target thickness; according to the target length and target width, the tool is controlled to cut the first key blank into the target universal key blank.
[0087] In this embodiment, according to the target thickness, the tool is controlled to cut the key rough blank into the first key blank, that is, the key thickness cutting is performed; according to the target length and target width, the tool is controlled to cut the first key blank into the target universal key original blank, and the length and width are cut together to the required values, which can shorten the cutting time and avoid empty cutting.
[0088] In one embodiment, the tool control module is used to control the tool to cut the rough key blank into the first key blank according to a zigzag spiral cutting trajectory on a plane corresponding to the target thickness.
[0089] In this embodiment, the tool is controlled to cut the rough key blank into the first key blank according to a zigzag spiral cutting trajectory on a plane corresponding to the target thickness, thereby avoiding cutting residues.
[0090] In one embodiment, the tool control module is used to control the tool to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, thereby obtaining the target universal key embryo.
[0091] In this embodiment, the tool is controlled to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, so as to obtain the target universal key embryo, which can reduce empty travel and improve the key embryo cutting efficiency.
[0092] In one embodiment, the tool control module is used to cut the first key embryo into a universal key embryo according to a target length and a target width; and control the tool to cut the head corner of the universal key embryo to obtain a target universal key embryo.
[0093] In this embodiment, according to the target length and target width, the first key embryo is cut into a universal key embryo, and the tool is controlled to cut the head corner of the universal key embryo to obtain the target universal key embryo, thereby further improving the adaptability of the key and improving the key cutting efficiency when the target universal key embryo is used for key cutting.
[0094] In one embodiment, the tool control module is used to control the tool to cut the head corner of the universal key blank according to the universal head cutting trajectory, and to cut the tail of the universal key blank according to the universal tail cutting trajectory to obtain the target universal key blank.
[0095] In this embodiment, the tool is controlled to cut the head corner of the universal key embryo according to the universal head cutting trajectory, and the tail of the universal key embryo is cut according to the universal tail cutting trajectory to obtain the target universal key embryo. The obtained embryo is closer to the key actually required by the user, reducing the difficulty of subsequent key cutting and improving the key cutting efficiency.
[0096] In one embodiment, the tool control module is used to control the tool to cut the rough key blank into the second key blank according to the target length and the target width; and to control the tool to cut the second key blank into the target universal key blank according to the target thickness.
[0097] In this embodiment, according to the target length and target width, the tool is controlled to cut the rough key blank into the second key blank, and the length and width are cut together to the required values, which can shorten the cutting time and avoid empty cutting; according to the target thickness, the tool is controlled to cut the second key blank into the target universal key blank, that is, key thickness cutting is performed.
[0098] The specific definition of the key embryo cutting device can be found in the definition of the key embryo cutting method above, which will not be repeated here. Each module in the above-mentioned key embryo cutting device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0099] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above-mentioned method embodiments when executing the computer program.
[0100] In one embodiment, a numerical control machine is provided, and the numerical control machine is used to implement the steps of the above-mentioned method embodiments.
[0101] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method embodiments are implemented.
[0102] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.
[0103] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes in the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0104] The above description is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A key blank cutting method, characterized in that: The method comprises: Obtaining target dimensions of a target universal key blank; the target dimensions include target thickness, target length and target width; When the thickness of the rough key blank is greater than or equal to the target thickness, according to the target thickness, the tool is controlled to cut the rough key blank into a first key blank according to a zigzag spiral cutting trajectory and a feed amount less than a milling cutter diameter. When the rough length of the first key embryo is greater than or equal to the target length, and the rough width of the first key embryo is greater than or equal to the target width, the tool is controlled to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, so as to obtain a target universal key embryo; the target universal key embryo refers to a key embryo that is smaller in size than the rough key embryo and is suitable for a variety of key types; the target universal key embryo is at least universal for external groove keys and internal milling keys.
2. The method according to claim 1, characterized in that The method further comprises: The tool is controlled to cut the head corner of the universal key blank according to the universal head cutting trajectory, and the tail of the universal key blank is cut according to the universal tail cutting trajectory to obtain the target universal key blank.
3. A key blank cutting device, characterized in that: The device comprises: A size acquisition module, used to acquire a target size of a target universal key blank; the target size includes a target thickness, a target length and a target width; Tool control module for: When the thickness of the rough key blank is greater than or equal to the target thickness, according to the target thickness, the tool is controlled to cut the rough key blank into a first key blank according to a zigzag spiral cutting trajectory and a feed amount less than a milling cutter diameter. When the rough length of the first key embryo is greater than or equal to the target length, and the rough width of the first key embryo is greater than or equal to the target width, the tool is controlled to cut along the long side of the first key embryo and along the short side of the first key embryo until the length of the first key embryo meets the target length and the width meets the target width, so as to obtain a target universal key embryo; the target universal key embryo refers to a key embryo that is smaller in size than the rough key embryo and is suitable for a variety of key types; the target universal key embryo is at least universal for external groove keys and internal milling keys.
4. A numerical control machine, characterized in that: The numerical control machine is used to implement the steps of the method described in claim 1 or 2.
5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.
