Key cutting method, device, key cutting machine and storage medium
By introducing display interface and mobile controls into the key cutting machine, semi-automated key cutting is realized, solving the problem of time-consuming, labor-intensive and poor versatility in the prior art, and realizing time-saving and labor-saving customized key cutting.
Patent Information
- Application Number
- CN202211513479.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2042-11-30
AI Technical Summary
The existing key cutting method cannot take into account the flexibility of manual cutting and the efficiency of automatic cutting, resulting in time-consuming and laborious operation and poor versatility.
By introducing a display key cutting control interface in the key cutting machine, including a moving control for indicating the orientation, the key point is obtained in response to operating the movement detection tool, and the cutting tool is controlled to cut according to the cutting trajectory formed by the key point.
It realizes semi-automated custom key cutting, reducing jitter and inaccurateness of manual cutting, saving time and effort, and has strong versatility.
Smart Images

Figure CN115673393B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of key processing, and in particular to a key cutting method, device, key cutting machine, and storage medium. Background Art
[0002] The ways of key cutting generally include manual cutting and automatic cutting. The manual cutting method is flexible in operation but time-consuming and laborious. The automatic cutting method has conditional judgments on various key blanks and cannot meet the requirements in special situations, with poor versatility. The traditional key cutting methods cannot take into account the advantages of the above two methods. Summary of the Invention
[0003] Based on this, it is necessary to provide a key cutting method, device, key cutting machine, and storage medium for the above technical problems, which can achieve customization in a time-saving and labor-saving manner.
[0004] A key cutting method, the method includes:
[0005] Display a key cutting control interface; the key cutting control interface includes movement controls for representing directions;
[0006] In response to a triggering operation on the movement control, move a detection tool to detect key points at the target direction represented by the triggered movement control until multiple key points are obtained;
[0007] In response to a triggering operation on the cutting control, control a cutting tool to cut a key to be processed according to the cutting trajectory formed by the multiple key points.
[0008] A key cutting device, the device includes:
[0009] A display module, configured to display a key cutting control interface; the key cutting control interface includes movement controls for representing directions;
[0010] A detection module, configured to, in response to a triggering operation on the movement control, move a detection tool to detect key points at the target direction represented by the triggered movement control until multiple key points are obtained;
[0011] A control module, configured to, in response to a triggering operation on the cutting control, control a cutting tool to cut a key to be processed according to the cutting trajectory formed by the multiple key points.
[0012] A key cutting machine, which is used to implement the steps of each embodiment of the key cutting method.
[0013] A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of each embodiment of the key cutting method are implemented.
[0014] The above key cutting method, device, key cutting machine and storage medium, the key cutting control interface includes a moving control for indicating the orientation. In response to the triggering operation on the moving control, taking points with the detection tool at the target orientation indicated by the triggered moving control, and controlling the cutting tool to cut the key to be processed according to the cutting trajectory formed by the key points, realizing semi-automatic custom cutting of the key to be processed. Compared with the manual cutting and automatic cutting methods, it reduces the jitter and inaccuracy caused by manual cutting, can achieve customization time-saving and labor-saving, and has strong versatility. Description of the Drawings
[0015] Figure 1 It is an application environment diagram of the key cutting method in an embodiment;
[0016] Figure 2 It is a flowchart of the key cutting method in an embodiment;
[0017] Figure 3 It is an interface diagram of the key cutting control interface in an embodiment;
[0018] Figure 4 It is an interface diagram of the orientation in an embodiment;
[0019] Figure 5 It is a prompt interface for asking whether to record the key point in an embodiment;
[0020] Figure 6 It is an interface diagram of the key cutting control interface in another embodiment;
[0021] Figure 7 It is an interface diagram of the cutting depth setting interface in an embodiment;
[0022] Figure 8 It is a structural block diagram of the key cutting device in an embodiment. Detailed Embodiments
[0023] 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.
[0024] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0025] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of this application are only used to explain the relative positional relationship and movement conditions between components in a specific posture (as shown in the attached drawings). If the specific posture changes, the directional indications will also change accordingly. The described connection can be a direct connection or an indirect connection.
[0026] It can be understood that for the "connection" in the following embodiments, if there is an electrical signal or data transmission between the connected circuits, modules, units, etc., it should be understood as "electrical connection", "communication connection", etc.
[0027] The key cutting method provided by this application can be applied to, for example, Figure 1 such an application environment. Figure 1 It is an application environment diagram of the key cutting method in an embodiment. Figure 1 It includes a key cutting machine 100 and a key to be processed 110. The key cutting machine 100 includes a display screen 101, a cutting tool 102, and a detection tool 103. The detection tool 103 and the cutting tool 102 can share an installation hole position or can be installed in different hole positions. The cutting tool 102 can be a milling cutter, a diamond cutter, or a laser emitter, etc. The detection tool 103 can be a probe, etc. The display screen 101 can be embedded in the key cutting machine 100 or can be erected.
[0028] In one embodiment, as Figure 2 shown, a key cutting method is provided. Taking the application of this key cutting method to a key cutting machine as an example, it includes the following steps:
[0029] Step 202, display a key cutting control interface; the key cutting control interface includes movement controls for indicating directions.
[0030] Among them, the control can be a button for control on the interface of the touch screen. The key cutting control interface includes a movement control display area. The movement control display area includes movement controls for indicating directions. The movement controls are used to control the movement of the cutting tool.
[0031] The movement control can be a circle, and the user controls the movement of the cutting tool by touching the direction of the circle. The movement control can also be a button on the screen of the key cutting machine for indicating directions. The directions are specifically the directions under the three-dimensional coordinate axes, that is, the two directions of the X-axis, the two directions of the Y-axis, and the two directions of the Z-axis. For example, the movement controls include an X-axis negative direction control, an X-axis positive direction movement control, a Y-axis negative direction movement control, a Y-axis positive direction movement control, a Z-axis negative direction control, and a Z-axis positive direction control. Or the movement controls include a left movement control, a right movement control, a forward movement control, a backward movement control, an upward movement control, a downward movement control, etc.
[0032] Specifically, in response to a triggering operation on the manual cutting control, the key cutting machine displays a key cutting control interface. The key cutting control interface includes movement controls for indicating directions. The key cutting control interface may also include an initialization control.
[0033] Step 204, in response to a triggering operation on the movement control, the detection tool moves to detect key points at the target direction indicated by the triggered movement control until multiple key points are obtained.
[0034] Among them, the triggering operation can be achieved by touching the interface of the key cutting machine. When the movement control is displayed as a circle, the triggering operation can also be an operation of sliding or scrolling around the movement control.
[0035] The target direction refers to the direction indicated by the triggered movement control. For example, if the triggered movement control is the right movement control, the detection tool will move to the right.
[0036] The key points are located on the key to be processed and are used to indicate the positions to be cut. For example, they can indicate the positions of key teeth or the positions of customized engraving. After the detection tool is powered on, the key and the fixture are conducted, because the key points of the key to be processed can be obtained through the detection of the detection tool. Multiple key points refer to at least two key points.
[0037] Specifically, in response to a triggering operation on the movement control, the key cutting machine moves the detection tool in the target direction indicated by the triggered movement control. When the detection tool touches the key to be processed, the key points are detected. Through multiple detections, multiple key points are obtained.
[0038] Step 206, in response to a triggering operation on the cutting control, control the cutting tool to cut the key to be processed according to the cutting trajectory formed by multiple key points.
[0039] Among them, the key to be processed can be a key blank, a key with some damage, a key that can be used normally, etc. The cutting control can be located in the key cutting control interface and is used to start key cutting.
[0040] Specifically, in response to a triggering operation on the cutting control, the key cutting machine controls the cutting tool to cut the key to be processed according to the cutting trajectory formed by connecting multiple key points. Among them, when the cutting tool is a milling cutter, in response to a triggering operation on the cutting control, the key cutting machine controls the milling cutter to rotate and controls the rotating milling cutter to cut the key to be processed according to the cutting trajectory formed by connecting multiple key points. For example, if the key points are the turning points of a broken line, then the cutting trajectory is a broken line, and the milling cutter moves according to the broken line trajectory to cut the key to be processed.
[0041] In this embodiment, the key cutting control interface includes a moving control for indicating directions. In response to a triggering operation on the moving control, the moving detection tool takes points at the target direction indicated by the triggered moving control, and controls the cutting tool to cut the key to be processed along the cutting trajectory formed by the key points, realizing semi-automatic custom cutting of the key to be processed. Compared with the manual cutting and automatic cutting methods, it reduces the jitter and inaccuracy caused by manual cutting, can achieve customization time-saving and labor-saving, and has strong versatility.
[0042] In one embodiment, in response to a triggering operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by multiple key points includes:
[0043] Displaying a cutting depth setting interface;
[0044] After inputting the target cutting depth in the cutting depth setting interface, in response to a triggering operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by multiple key points, and when the cutting reaches the target cutting depth, obtaining the target key.
[0045] Among them, the cutting depth setting interface can be a separate interface triggered in the key cutting control interface or a part of the key cutting control interface. The cutting depth is the cutting distance downward from the height reference point in the thickness direction of the key.
[0046] Specifically, in response to a triggering operation on the cutting depth-related control in the key cutting control interface, the cutting depth setting interface is displayed. The target cutting depth can be a value directly input by the user or the target cutting depth selected through the options on the cutting depth setting interface, etc., which is not limited to this. After inputting the target cutting depth in the cutting depth setting interface, in response to a triggering operation on the cutting control, along the cutting trajectory formed by connecting multiple key points, the key cutting machine can control the cutting tool to cut the key to be processed according to the target cutting depth, and when the cutting reaches the target cutting depth, the target key is obtained.
[0047] In this embodiment, after inputting the target cutting depth in the cutting depth setting interface, in response to a triggering operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by multiple key points, and when the cutting reaches the target cutting depth, obtaining the target key, the key cutting is more accurate.
[0048] In one embodiment, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by multiple key points, and when the cutting reaches the target cutting depth, obtaining the target key includes:
[0049] Control the cutting tool to move along the cutting trajectory formed by connecting the key points. Each time, cut the key to be processed at a preset cutting depth until the target cutting depth is reached, and then obtain the target key.
[0050] Specifically, the preset cutting depth is less than the target cutting depth. The key cutting machine controls the cutting tool to cut along the cutting trajectory formed by connecting the key points on the plane corresponding to the preset cutting depth; after moving along the cutting trajectory once, if the cutting does not reach the target cutting depth, the key cutting machine controls the cutting tool to move downward by the preset cutting depth, or move downward by the depth difference between the target cutting depth and the preset cutting depth, and then cut along the cutting trajectory formed by connecting the key points again until the target cutting depth is reached, and then obtain the target key.
[0051] In the case where the target cutting depth is relatively large, in order to protect the cutting tool such as a milling cutter, the manual cutting method requires moving the milling cutter layer by layer, which is time-consuming and laborious. In this embodiment, by controlling the cutting tool to move along the cutting trajectory formed by connecting the key points, and cutting the key to be processed at a preset cutting depth each time until the target cutting depth is reached, and then obtaining the target key, it can perform automated layer-by-layer cutting, gradually increasing the cutting depth of the milling cutter, saving a lot of time, and protecting the milling cutter.
[0052] In one embodiment, after the moving detection tool detects the key points, the key cutting method further includes:
[0053] Adding key points and recording the corresponding point numbers of the key points;
[0054] In response to a trigger operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by multiple key points, including:
[0055] In response to a trigger operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by sorting multiple key points according to the point numbers.
[0056] Among them, the point number is used to represent the cutting order of the cutting tool. The point number can be displayed on the key cutting control interface. For example, the point number can be displayed by numbers, or by letters, etc.
[0057] Specifically, after the mobile detection tool detects the key point position, the key cutting machine displays a prompt interface for asking whether to record the key point position. In response to the confirmation operation triggered on the prompt interface, the key point position is added, and the point number corresponding to the key point position is recorded in the point-taking drawing area of the key cutting control interface. For example, recording the point number corresponding to the key point position can be the identification of the point numbers already displayed in the point-taking drawing area. After adding the key point position, the identification of the point number is updated.
[0058] Multiple key point positions are sorted according to the point numbers. The key cutting machine automatically moves in a straight line between two points, thus forming a cutting trajectory. In response to the triggering operation on the cutting control, the cutting tool is controlled to cut the key to be processed according to the cutting trajectory.
[0059] In this embodiment, adding the key point position and recording the point number corresponding to the key point position enables the user to intuitively see the point-taking situation of the key and facilitates modification in case of incorrect key point-taking. In response to the triggering operation on the cutting control, the cutting tool is controlled to cut according to the sorted cutting trajectory, enabling customized key cutting with strong versatility.
[0060] In one embodiment, the key cutting method further includes: in response to the triggering operation on the point number in the key cutting control interface, entering the key point position modification state;
[0061] In the point position modification state, in response to the triggering operation on the mobile control, the step of moving the detection tool to detect the key point position in the target direction indicated by the triggered mobile control is executed, and the updated key point position is obtained and recorded.
[0062] Specifically, in the point position modification state, the position of the key point position can be modified. In response to the triggering operation on the point number in the key cutting control interface, the point position modification state is entered. In the point position modification state, in response to the triggering operation on the mobile control, the step of moving the detection tool to detect the key point position in the target direction indicated by the triggered mobile control is executed, and the updated key point position is obtained and recorded. For example, point numbers 1, 2, 3, and 4 respectively correspond to recording a key point position. If the user needs to modify point number 3, then point number 3 is triggered, and a new point is taken to obtain the updated key point position, so that point number 3 corresponds to the updated key point position.
[0063] In this embodiment, in response to the triggering operation on the point number in the key cutting control interface, the key point position modification state is entered. In the key point position modification state, in response to the triggering operation on the mobile control, a new point is taken to obtain the updated key point position and record it, which can correct the point position and improve the accuracy of key cutting.
[0064] In one embodiment, the key cutting method further includes: according to the position of the key points on the key fixture, displaying the corresponding point numbers of the key points in the point-taking drawing area of the key cutting control interface.
[0065] Among them, the position on the key fixture includes the position on the key to be processed.
[0066] Specifically, the point-taking drawing area of the key cutting control interface includes a plane model of the key fixture. According to the position of the key points on the key fixture, the key cutting machine displays the corresponding point numbers of the key points on the plane model of the key fixture.
[0067] In this embodiment, according to the position of the key points on the key fixture, displaying the corresponding point numbers of the key points in the point-taking drawing area of the key cutting control interface enables the user to intuitively see the point-taking position and facilitates adjustment.
[0068] In one embodiment, the key cutting method further includes: detecting the boss of the fixture for clamping the key to be processed; determining the range of the fixture with the boss as the reference position; when the milling cutter moves to the edge of the range, displaying a prompt message indicating that the boundary has been reached and restricting the movement of the milling cutter.
[0069] Specifically, the boss of the fixture is higher than the fixture and is used to locate the position of the fixture. The key cutting machine detects the boss of the fixture for clamping the key to be processed through a detection tool. With the boss as the reference position and in combination with the relevant dimensions of the fixture stored in the key cutting machine, the range of the fixture is determined. It can be understood that the fixture range can refer to the clamping range of the fixture or the outer frame range where the fixture itself is located. When the milling cutter moves to the edge of the range, a prompt message indicating that the boundary has been reached is displayed on the display screen, and the movement of the milling cutter within the range is restricted and cannot exceed the range.
[0070] In this embodiment, during semi-automatic control cutting, it is easy to accidentally cut other tools. By detecting the boss, determining the fixture range, when the milling cutter moves to the edge of the range, displaying a prompt message indicating that the boundary has been reached and restricting the movement of the milling cutter, it is possible to protect the fixture and other tools.
[0071] In one embodiment, such as Figure 3As shown, it is a schematic diagram of the interface of the key cutting control interface in an embodiment. In this embodiment, the detection tool is a probe and the cutting tool is a milling cutter as an example for illustration. It includes the key cutting control interface 300. The key cutting interface 300 includes a point-taking drawing area 310 and a moving control display area 320. The moving control display area 320 includes an X-axis negative direction moving control 321, an X-axis positive direction moving control 322, a Y-axis negative direction moving control 323, a Y-axis positive direction moving control 324, a Z-axis positive direction moving control 325, and a Z-axis negative direction moving control 326. The point-taking drawing area 310 includes a key fixture plane model 311 and a point number 312. The point-taking drawing area 310 displays "Use the probe to detect and take points, and the machine will cut along the points; the number of supported points for taking is 2 to 6, and it is recommended to take the Z point to determine the height reference point". It can be understood that the number of points taken is not limited to 6 and can exceed 6. Figure 3 It includes a "Z" control, and this Z control is used to trigger the detection of the height reference point of the key to be processed. That is, the height of the upper surface of the key to be processed.
[0072] By Figure 3 triggering the small diagrams representing the XYZ axes, a schematic diagram of the orientation as shown in Figure 4 is displayed. Figure 4 It is a schematic diagram of the orientation interface in an embodiment. Figure 4 There is a key fixture in it. The X-axis, Y-axis, and Z-axis directions are as shown in Figure 4 shown.
[0073] The user can trigger the moving control. For example, by triggering the X-axis positive direction moving control 322, the probe will move in the positive X-axis direction. Then the user triggers the Z-axis negative direction moving control 326, and the probe will move in the negative Z-axis direction until it touches the key to be processed to obtain the key point. After the detection is completed, a prompt interface 500 for asking whether to record this key point as shown in Figure 5 is displayed. Figure 5 It is a prompt interface for asking whether to record this key point in an embodiment. In response to the confirmation operation triggered on the prompt interface, this key point is added, and the point number corresponding to this key point is recorded in the key cutting machine, that is, this key point is associated with the corresponding point number. Repeat the above actions until multiple key points are obtained.
[0074] As Figure 6 shown, it is a schematic diagram of the interface of the key cutting control interface in another embodiment. Figure 63 key points have been obtained, which are the key points corresponding to point number 1, point number 2 and point number 3 respectively. Point number 1, point number 2 and point number 3 have been updated, and point number 4, point number 5 and point number 6 have not yet stored the key points. In addition, according to the position of the key point on the key fixture, the point number corresponding to the key point is displayed on the key fixture plane model 311. For example, ①, ② and ③ on the key fixture plane model 311 all correspond to the positions on the fixture.
[0075] In response to Figure 6 The trigger operation of starting cutting is displayed as follows Figure 7 A cutting depth setting interface 700 is shown. Figure 7 The following is a schematic diagram of a cutting depth setting interface in an embodiment. The user can set the cutting depth within the range of 0 mm to 3 mm. Figure 7 In the figure, the setting is 2.5mm. And the prompt message is displayed: The cutting depth is the cutting distance from point Z (height reference point) downward. Figure 7 The trigger operation of the cutting control controls the cutting trajectory formed by the milling cutter according to multiple key points, such as Figure 6 The cutting track shown is used to cut the key to be processed.
[0076] This embodiment aims to provide a feasible method for users to customize the processing of keys. According to the needs of users, the key blank can be customized for the second time without affecting the function of the key itself. The user controls the probe to pick points on the key to be processed. Each time a point is picked, a pop-up window will be displayed to confirm whether to probe the point. After probing multiple points, if it is found that the point is picked incorrectly, a previous point can be re-probed instead of re-picking all the points. The position of each new point will be displayed on the screen accordingly. After the point is picked, the cutting depth can be customized, and then click Cut to let the machine cut according to the set connection line. During mobile cutting, human visual observation is not accurate enough. Cutting the key into several parts by picking points can be more accurate.
[0077] The key cutting method in the embodiment of the present application can be used to cut different key blanks to cut out different types of keys, such as external milling keys, internal milling keys, etc.; it can be used to further process damaged keys, and can also be used for customized operations such as engraving on keys. Simple manual cutting can easily accidentally cut other tools. This embodiment can protect the clamp and other tools by limiting the movement range of the cutting tool.
[0078] In one embodiment, a key cutting method includes:
[0079] Step (a1), detecting a boss of a clamp for clamping a key to be processed.
[0080] Step (a2), taking the boss as the reference position, determine the range of the fixture.
[0081] Step (a3), display the key cutting control interface. The key cutting control interface includes movement controls for indicating directions.
[0082] Step (a4), in response to the triggering operation on the movement control, move the detection tool to the key points detected at the target direction indicated by the triggered movement control, add the key points until multiple key points are obtained.
[0083] Step (a5), record the point numbers corresponding to each key point among the multiple key points.
[0084] Step (a6), display the point numbers corresponding to the key points in the point-taking drawing area of the key cutting control interface according to the positions of the key points on the key fixture.
[0085] Step (a7), display the cutting depth setting interface.
[0086] Step (a8), after inputting the target cutting depth in the cutting depth setting interface, in response to the triggering operation on the cutting control, control the cutting tool to move along the cutting trajectory formed by connecting the key points, and cut the key to be processed at the preset cutting depth each time until the target cutting depth is reached to obtain the target key.
[0087] Step (a9), when the cutting tool moves to the edge of the range, display a prompt message indicating that the boundary has been reached and restrict the movement of the cutting tool.
[0088] In this embodiment, the key cutting control interface includes movement controls for indicating directions. In response to the triggering operation on the movement control, the detection tool takes points at the target direction indicated by the triggered movement control, and controls the cutting tool to cut the key to be processed along the cutting trajectory formed by the key points, thus realizing semi-automatic custom cutting of the key to be processed. Compared with the manual cutting and automatic cutting methods, it reduces the jitter and inaccuracy caused by manual cutting, can achieve customization time-saving and labor-saving, and has strong versatility.
[0089] It should be understood that although the steps in the above steps (a1) to (a9) are displayed in sequence according to the label indications, these steps are not necessarily executed in the order indicated by the arrows or numbers. Unless there is a clear description in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 2Moreover, at least some of the steps from step (a1) to step (a9) may include multiple steps or multiple stages. These steps or stages do not necessarily need to be executed and completed at the same time, but can be executed at different times. The execution order of these steps or stages does not necessarily need to be sequential, but can be executed alternately or in turns with at least some of the steps or stages in other steps or other steps.
[0090] In one embodiment, as Figure 8 shown, it is a structural block diagram of a key cutting device in one embodiment. Figure 8 A key cutting device is provided. This device can be a software module, a hardware module, or a combination of both to become part of a key cutting machine. Specifically, the device includes: a display module 802, a detection module 804, and a control module 806, where:
[0091] The display module 802 is used to display a key cutting control interface; the key cutting control interface includes movement controls for indicating directions.
[0092] The detection module 804 is used to respond to a triggering operation on the movement control, and move a detection tool to detect key points at the target direction indicated by the triggered movement control until multiple key points are obtained.
[0093] The control module 806 is used to respond to a triggering operation on a cutting control, and control a cutting tool to cut a key to be processed along a cutting trajectory formed by multiple key points.
[0094] In this embodiment, the key cutting control interface includes movement controls for indicating directions. In response to a triggering operation on the movement control, a detection tool is moved to obtain points at the target direction indicated by the triggered movement control, and the cutting tool is controlled to cut the key to be processed along the cutting trajectory formed by the key points, realizing semi - automated custom cutting of the key to be processed. Compared with manual cutting and automatic cutting methods, it reduces the jitter and inaccuracy caused by manual cutting, can achieve customization in a time - and - labor - saving manner, and has strong versatility.
[0095] In one embodiment, the display module 802 is used to: display a cutting depth setting interface; the control module 806 is used to, after inputting a target cutting depth in the cutting depth setting interface, respond to a triggering operation on the cutting control, control the cutting tool to cut the key to be processed along the cutting trajectory formed by multiple key points, and obtain a target key when the cutting reaches the target cutting depth.
[0096] In this embodiment, after inputting the target cutting depth in the cutting depth setting interface, in response to the triggering operation on the cutting control, the cutting tool is controlled to cut the key to be processed along the cutting trajectory formed by a plurality of key points. When the cutting reaches the target cutting depth, the target key is obtained, and the key cutting is more accurate.
[0097] In one embodiment, the control module 806 is configured to: control the cutting tool to move along the cutting trajectory formed by connecting the key points, and cut the key to be processed at a preset cutting depth each time until the cutting reaches the target cutting depth, and then obtain the target key.
[0098] In this embodiment, by controlling the cutting tool to move along the cutting trajectory formed by connecting the key points, and cutting the key to be processed at a preset cutting depth each time until the cutting reaches the target cutting depth, and then obtaining the target key, automatic layered cutting can be achieved, the cutting depth of the milling cutter can be increased little by little, a large amount of time can be saved, and the milling cutter can be protected.
[0099] In one embodiment, the display module 802 is further configured to: add key points and record the corresponding point numbers of the key points; the control module 806 is configured to: in response to the triggering operation on the cutting control, control the cutting tool to cut the key to be processed along the cutting trajectory formed by sorting a plurality of key points according to the point numbers.
[0100] In this embodiment, adding key points and recording the corresponding point numbers of the key points enables the user to intuitively see the key point taking situation of the key and facilitates modification in case of incorrect key point taking; in response to the triggering operation on the cutting control, controlling the cutting tool to cut along the sorted cutting trajectory can complete customized key cutting with strong versatility.
[0101] In one embodiment, the display module 802 is further configured to: in response to the triggering operation on the point number in the key cutting control interface, enter the key point modification state; the detection module 804 is configured to, in the point modification state, in response to the triggering operation on the moving control, move the detection tool to detect the key point in the target orientation represented by the triggered moving control, obtain the updated key point and record it.
[0102] In this embodiment, in response to the triggering operation on the point number in the key cutting control interface, entering the key point modification state, and in the key point modification state, in response to the triggering operation on the moving control, re-taking the point, obtaining the updated key point and recording it can correct the point and improve the accuracy of key cutting.
[0103] In one embodiment, the display module 802 is configured to: display the point number corresponding to the key point in the point-taking drawing area of the key cutting control interface according to the position of the key point on the key fixture.
[0104] In this embodiment, by displaying the point number corresponding to the key point in the point-taking drawing area of the key cutting control interface according to the position of the key point on the key fixture, the user can intuitively see the point-taking position, which is convenient for adjustment.
[0105] In one embodiment, the detection module 804 is further configured to: detect the boss of the fixture for clamping the key to be processed; determine the range of the fixture with the boss as the reference position; when the milling cutter moves to the edge of the range, display a prompt message indicating that the boundary has been reached and restrict the movement of the milling cutter.
[0106] In this embodiment, when performing semi-automatic control cutting, it is easy to accidentally cut other tools. By detecting the boss, determining the fixture range, and displaying a prompt message indicating that the boundary has been reached and restricting the movement of the milling cutter when the milling cutter moves to the edge of the range, the fixture can be protected.
[0107] For the specific limitations of the key cutting device, reference can be made to the limitations of the key cutting method in the above text, which will not be elaborated here. Each module in the above key cutting device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the key cutting machine in hardware form or independent of it, or stored in the memory of the key cutting machine in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0108] In one embodiment, a key cutting machine is provided for implementing the steps of the above method embodiments.
[0109] 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 method embodiments are implemented.
[0110] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the above method embodiments.
[0111] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. 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 methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.
[0112] The above are only the preferred embodiments of the present application, and do not 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 be equally included in the patent protection scope of the present application.
Claims
1. A key cutting method, characterized in that, The method includes: Detecting the boss of the fixture for clamping the key to be processed; Determining the range of the fixture with the boss as the reference position; Displaying a key cutting control interface; the key cutting control interface includes a point-taking drawing area and a moving control display area, and the moving control display area includes moving controls for indicating directions; In response to a triggering operation on the moving control, moving the detection tool to detect key points at the target direction indicated by the triggered moving control until multiple key points are obtained; In response to a confirmation operation triggered on the prompt interface, recording the point numbers corresponding to each of the key points, and displaying the point numbers corresponding to the key points in the point-taking drawing area according to the positions of the key points on the key fixture; In response to a triggering operation on the point number in the key cutting control interface, entering the key point modification state; In the key point modification state, in response to a triggering operation on the moving control, moving the detection tool to detect key points at the target direction indicated by the triggered moving control, obtaining updated key points and recording them; In response to a triggering operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by sorting the multiple key points according to the point numbers; When the cutting tool moves to the edge of the range, displaying a prompt message indicating that the boundary has been reached and restricting the movement of the cutting tool.
2. The method according to claim 1, wherein The step of, in response to a triggering operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by the multiple key points includes: Displaying a cutting depth setting interface; After inputting a target cutting depth in the cutting depth setting interface, in response to a triggering operation on the cutting control, controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by the multiple key points, and obtaining a target key when the cutting reaches the target cutting depth.
3. The method according to claim 2, wherein The step of controlling the cutting tool to cut the key to be processed along the cutting trajectory formed by the multiple key points and obtaining a target key when the cutting reaches the target cutting depth includes: Controlling the cutting tool to move along the cutting trajectory formed by connecting the key points, and cutting the key to be processed at a preset cutting depth each time until a target key is obtained when the cutting reaches the target cutting depth.
4. A key cutting device, characterized in that, The device includes a detection module, a display module, and a control module, where: The detection module is used to detect the boss of the fixture for clamping the key to be processed; and Determining the range of the fixture with the boss as the reference position; The display module is used to display a key cutting control interface; the key cutting control interface includes a point-taking drawing area and a moving control display area, and the moving control display area includes moving controls for indicating directions; The detection module is used to, in response to a triggering operation on the moving control, move the detection tool to detect key points at the target direction indicated by the triggered moving control until multiple key points are obtained; The display module is configured to record the point numbers corresponding to each of the key points in response to a confirmation operation triggered on the prompt interface, and display the point numbers corresponding to the key points in the point-taking drawing area according to the positions of the key points on the key fixture; The display module is configured to enter the key point modification state in response to a trigger operation on the point number in the key cutting control interface; The detection module is configured to, in the key point modification state, in response to a trigger operation on the movement control, move the detection tool to detect the key point at the target orientation indicated by the triggered movement control, obtain the updated key point and record it; The control module is configured to, in response to a trigger operation on the cutting control, control the cutting tool to cut the key to be processed according to the cutting trajectory formed by sorting the multiple key points according to the point numbers; The detection module is configured to display a prompt message indicating that the boundary has been reached and restrict the movement of the cutting tool when the cutting tool moves to the edge of the range; 5. A key cutting machine, characterized in that, The key cutting machine is used to implement the steps of the method according to any one of claims 1 to 3; 6. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Coordinate measuring machine probe identification apparatus and method
CN111183333A
Key cutting method and device, key cutting machine and readable storage medium
CN113477993A
Key tooth position data acquisition method and device, key cutting machine and storage medium
CN113532343A