Machining element limiting method, device and equipment, program medium and numerical control machine
By determining the movable range and corresponding area of the movable head in the laser processing system, prompt information is generated, and the problem of inconsistent position of the processing elements on the target page is solved, and the processing success rate is improved.
Patent Information
- Application Number
- CN202410762098.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-28
- Filing Date
- 2024-06-13
- Publication Date
- 2024-12-31
AI Technical Summary
During laser processing, since the light outlets of the machining parts and positioning parts in the movable head are not in the same position, the mapping positions of the processing elements on the target page are inconsistent, and the user fails to identify the exceeding the format in time, resulting in processing failure.
By determining the movable range of the movable head, demarcate the corresponding areas of the machining parts and positioning parts, and generate restricted areas on the target page, prompt information is generated to guide the user to place the machining elements and avoid failures.
Ensure that users can accurately identify the formats of machining parts and positioning parts, avoid processing failures, and improve processing success rate.
Smart Images

Figure CN119216837A_ABST
Abstract
Description
[0001] Cross-references
[0002] The present disclosure claims priority to Chinese patent application No. 2023107829452 filed on June 28, 2023, entitled “Method, device, apparatus and computer program medium for limiting processing elements”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of laser processing technology, and in particular to a method, device, equipment, computer program medium and computer numerical control machine for limiting a processing element. Background Art
[0004] Since the light outlet of the processing part and the light outlet of the positioning part in the movable head are not in the same position, there is a certain physical distance between the two light outlets. Therefore, when the processing part and the positioning part are mapped in the target page, they correspond to two inconsistent frames. During processing, if the processing element set by the user on the target page exceeds the frame corresponding to the processing part or the positioning part, and the user does not perceive it, it is easy to cause processing failure. Summary of the invention
[0005] To solve the above technical problems, the embodiments of the present application provide a method, device, equipment and computer program medium for limiting the position of processing elements. The embodiments provided by the present application can ensure that the user can accurately identify the format corresponding to the processing part or positioning part during laser processing, provide guidance for the user, and help the user to accurately place the processing elements in the expected placement area, thereby effectively avoiding processing failures and improving the success rate of processing.
[0006] According to one aspect of an embodiment of the present application, the present application discloses a method for limiting a processing element, including: determining a processing area corresponding to a processing piece and a positioning area corresponding to a positioning piece according to a movable range of a movable head, the processing piece and the positioning piece being respectively installed at different positions of the movable head; determining a restricted area on a target page according to the processing area and the positioning area; and generating corresponding prompt information when the processing element is within the restricted area.
[0007] According to one aspect of an embodiment of the present application, determining the processing area corresponding to the processing workpiece and the positioning area corresponding to the positioning piece based on the movable range of the movable head includes: superimposing the processing area and the positioning area to obtain an overlapping area and a non-overlapping area; and determining the restricted area based on the overlapping area and the non-overlapping area.
[0008] According to one aspect of an embodiment of the present application, the restricted area includes a restricted positioning area and a restricted processing area, and determining the restricted area based on the overlapping area and the non-overlapping area includes: using the non-overlapping area belonging to the processing area as the restricted positioning area; using the non-overlapping area belonging to the positioning area as the restricted processing area.
[0009] According to one aspect of an embodiment of the present application, the restricted area also includes a restricted processing and positioning area, and determining the restricted area based on the overlapping area and the non-overlapping area also includes: taking the area outside the overlapping area and the non-overlapping area as a restricted processing and positioning area.
[0010] According to one aspect of an embodiment of the present application, when the processing element is within the restricted area, corresponding prompt information is generated, including: when the processing element is within the restricted processing area, generating restricted processing prompt information; when the processing element is within the restricted positioning area, generating restricted positioning prompt information.
[0011] According to one aspect of an embodiment of the present application, when the processing element is within the restricted area, corresponding prompt information is generated, and further includes: when the processing element is within the restricted processing and positioning area, restricted processing and positioning prompt information is generated.
[0012] According to one aspect of an embodiment of the present application, determining the processing area corresponding to the processing workpiece and the positioning area corresponding to the positioning member based on the movable range of the movable head includes: determining the type of the movable head currently in use; wherein each type of the movable head corresponds to a physical structure, and the physical structure includes the distance between the processing workpiece and the positioning member; determining the physical structure of the movable head currently in use based on the correspondence between the type of the movable head and the physical structure; determining the processing area corresponding to the processing workpiece and the positioning area corresponding to the positioning member based on the movable range and the physical structure of the movable head currently in use.
[0013] According to one aspect of an embodiment of the present application, when the processing element is in the restricted area, corresponding prompt information is generated, including: displaying a first mark in the restricted processing area; and / or displaying a second mark in the restricted positioning area.
[0014] According to one aspect of an embodiment of the present application, when the processing element is within the restricted area, generating corresponding prompt information further includes:
[0015] A third marker is displayed in the restricted processing and positioning area.
[0016] According to one aspect of an embodiment of the present application, the first logo, the second logo, and the third logo have different colors.
[0017] According to one aspect of an embodiment of the present application, the method further includes: displaying an auxiliary line at a boundary of the overlapping area, and treating an area within the auxiliary line as a non-restricted area.
[0018] According to one aspect of an embodiment of the present application, the present application discloses a limiting device for a processing element, comprising: a first determination module, used to determine a processing area corresponding to a processing piece and a positioning area corresponding to a positioning piece according to a movable range of a movable head, the processing piece and the positioning piece being respectively installed at different positions of the movable head; a second determination module, used to determine a restricted area on a target page according to the processing area and the positioning area; and a prompt module, used to generate corresponding prompt information when the processing element is within the restricted area.
[0019] According to one aspect of an embodiment of the present application, the present application discloses a limiting device for processing elements, including: a memory storing computer-readable instructions; a processor reading the computer-readable instructions stored in the memory to execute the method as described above.
[0020] According to one aspect of an embodiment of the present application, the present application discloses a computer program medium having computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer executes the method as described above.
[0021] According to one aspect of an embodiment of the present application, the present application discloses a computer numerical control machine, which includes: a slide rail; a movable head, which is slidably disposed on the slide rail; a communication component, which is used to receive a restricted area and prompt information obtained according to the steps of any one of the methods described above; and a controller, which controls the movable head to move on the slide rail to process the surface of the processing material based at least on the restricted area and the prompt information.
[0022] In the embodiment of the present application, the hardware structure of the processing equipment will limit the moving range of the movable head. According to the movable range of the movable head, the processing area corresponding to the processing part and the positioning area corresponding to the positioning part in the movable head are determined, and then the restricted area is determined on the target page according to the processing area and the positioning area. Finally, when the processing element is in the restricted area, corresponding prompt information is generated to provide guidance for the user, which can ensure that the user can accurately identify the format corresponding to the processing part or the positioning part on the target page, and help the user to accurately place the processing element in the expected placement area, thereby effectively avoiding processing failures and thereby improving the success rate of processing.
[0023] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0024] It should be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0026] Figure 1 A schematic diagram of a system architecture to which a method for limiting a processing element according to an embodiment of the present application is applied is shown.
[0027] Figure 2 A flow chart of a method for limiting a processing element according to an embodiment of the present application is shown.
[0028] Figure 3 A schematic diagram of the hardware structure of a laser head according to an embodiment of the present application is shown.
[0029] Figure 4 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown.
[0030] Figure 5 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown.
[0031] Figure 6 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown.
[0032] Figure 7 A schematic diagram of limiting positioning prompts according to an embodiment of the present application is shown.
[0033] Figure 8 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown.
[0034] Fig. 9 A schematic diagram of a gray mask display according to an embodiment of the present application is shown.
[0035] Fig.10 A schematic diagram showing a restriction operation on different positions of a processing element according to an embodiment of the present application is shown.
[0036] Fig.11 A schematic diagram of the structure of format auxiliary lines according to an embodiment of the present application is shown.
[0037] Fig.12A block diagram of a positioning device for a processing element according to an embodiment of the present application is shown.
[0038] Fig.13 A hardware structure diagram of a positioning device for a processing element according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0039] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of the present application will be more comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The accompanying drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0040] In addition, the described features, structures or characteristics may be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solution of the present application may be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. may be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the present application and making the various aspects of the present application obscure.
[0041] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0042] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0043] Since the light outlet of the processing part and the light outlet of the positioning part in the movable head are not in the same position, there is a certain physical distance between the two light outlets. Therefore, when the processing part and the positioning part are mapped in the target page, they correspond to two inconsistent frames. During processing, if the processing element set by the user on the target page exceeds the frame corresponding to the processing part or the positioning part, and the user does not perceive it, it is easy to cause processing failure.
[0044] It is understandable that if the final effect of the processing does not reach the best, it can be regarded as a processing failure. Specifically, when the processing element is in the restricted area, the effect presented by the processing is not the best. When the processing element is in the restricted positioning area, the effect presented by the processing is not the best. When the processing element is in the restricted processing area, the effect presented by the processing is also not the best. When the processing element is in the restricted processing and positioning area, the effect presented by the processing is still not the best.
[0045] To this end, the present application provides a method, apparatus, device and computer program medium for limiting the position of a processing element.
[0046] See also Figure 1 , Figure 1 It is a schematic diagram of a system architecture used in an embodiment of the present application. The system architecture 100 may include: a movable head 110, a communication medium 120 and software 130. Among them, the movable head is a mechanical module contained in the processing equipment, which is not equivalent to the processing equipment. The movable head may include a laser head, a knife cutting head, a plasma cutting head, a water gun head, a drill bit, a pen head, etc., which are not limited here. The communication medium 120 can be a walkie-talkie, a mobile phone, a tablet computer, a mobile Internet device and other devices that at least support data communication through the 3GPP (The 3rd Generation Partnership Project, the third generation partnership project) protocol. Software 130 is installed in the communication medium 120, and the target interface can be displayed through the software 130. The movable head 110 and the communication medium 120 can be connected to each other through a wireless communication link to realize the interaction of wireless data communication, and can also use a wired communication link or an optical fiber cable, etc., which is not limited in this application.
[0047] It should be understood that Figure 1 The number of communication media 120 in FIG. 1 is only illustrative. Any number of communication media 120 may be provided according to implementation requirements.
[0048] Some technical solutions of the embodiments of the present application can be based on Figure 1 The system architecture shown or its variant architecture is used for specific implementation.
[0049] See also Figure 2 , Figure 2 A flow chart of a method for limiting the position of a processing element according to an embodiment of the present application is shown. The method can be applied to Figure 1 The system architecture shown, for example, may be specifically executed by the communication medium 120. Of course, the method may also be applicable to other system architectures, and this embodiment does not limit this.
[0050] like Figure 2 As shown, the method comprises the following steps:
[0051] Step S210, determining a processing area corresponding to the workpiece and a positioning area corresponding to the positioning member according to the movable range of the movable head, and the workpiece and the positioning member are respectively installed at different positions of the movable head;
[0052] Step S220, determining a restricted area on the target page according to the processing area and the positioning area;
[0053] Step S230: When the processing element is within the restricted area, corresponding prompt information is generated.
[0054] The following describes these three steps in detail.
[0055] In step S210, it should be explained that due to the limitation of the hardware structure of the processing equipment, the movable head installed on the processing equipment has its own limited maximum movement range, but for different processing equipment, the maximum movement range of the movable head may be different, so the maximum movement range of the movable head can be obtained according to the hardware structure of the processing equipment to which the movable head belongs. The movable range is not equivalent to the maximum movement range, and the user can also select a small range in the maximum movement range as the movable range, which is not limited in this application.
[0056] For example, when the user wants to process in the center area of the maximum moving range, the user can choose to use this center area as the movable range. It should be noted that although the movable head can still reach the area outside the center area and within the maximum moving range, it is considered a restricted area due to the restrictions imposed by the user. In this way, the movable range of the movable head can be further defined according to the user's processing requirements, thereby obtaining a more precise limiting effect and further improving the success rate of processing.
[0057] According to the movable range of the movable head, the processing area corresponding to the workpiece and the positioning area corresponding to the positioning part on the processing platform can be determined, and the processing area corresponding to the workpiece and the positioning area corresponding to the positioning part can also be determined on the target page, and the present application does not make any restrictions here. Further, in the case of determining the processing area and the positioning area on the target page according to the movable range, it can be that the processing area and the positioning area on the processing platform are first determined according to the movable range, and then the processing area and the positioning area on the processing platform are mapped to the target page accordingly; it can also be that the area corresponding to the movable range is first determined in the target page, and then the processing area and the positioning area on the target page are determined according to the physical distance between the workpiece and the positioning part (for example, the proportion of the physical distance to the entire movable range), and the present application does not make any restrictions here.
[0058] See also Figure 3 , Figure 3 The hardware structure diagram of the laser head according to an embodiment of the present application is shown. As shown in the figure, since there is a certain physical distance between the processing part and the positioning part of the laser head, the processing area corresponding to the processing part and the positioning area corresponding to the positioning part in the laser head are different on the processing platform of the processing equipment. Among them, the processing part can be a device for processing the material to be processed, and the positioning part can be a device for positioning the position of the processing element.
[0059] In one embodiment of the present application, the positioning member can perform red cross positioning by emitting red cross light. The restricted positioning area can be a restricted red cross positioning area. The restricted processing and positioning area can be a restricted processing and red cross positioning area.
[0060] In another embodiment of the present application, the positioning member can also perform weak light positioning when the ambient light is insufficient or the light conditions are poor. The restricted positioning area can also be a restricted weak light positioning area. The restricted processing and positioning area can be a restricted processing and weak light positioning area.
[0061] See also Figure 4 , Figure 4 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown. In this embodiment, step S210 of determining a processing area corresponding to a processing piece and a positioning area corresponding to a positioning piece according to a movable range of a movable head may include the following steps:
[0062] Step S211, determining the type of the movable head currently in use; wherein each type of the movable head corresponds to a physical structure, and the physical structure includes the distance between the processing part and the positioning part;
[0063] Step S212, determining the physical structure of the movable head currently in use according to the correspondence between the type of the movable head and the physical structure;
[0064] Step S213, determining the processing area corresponding to the processing piece and the positioning area corresponding to the positioning piece according to the movable range and the physical structure of the movable head currently in use.
[0065] The following describes these three steps in detail.
[0066] In step S211, the type of movable head currently installed in the processing equipment for use is determined, and the type of movable head includes the type, size and power of the movable head, etc. Among them, the types of movable heads include laser heads, knife cutting heads, plasma cutting heads, water gun heads, drill heads, pen heads, etc., and the power of the movable head can be 5 watts, 8 watts, 10 watts, 18 watts, 20 watts, 36 watts, 40 watts, etc. Each type of movable head corresponds to a physical structure, that is, the distance between the workpiece and the positioning piece in the movable head, but it should be noted that the physical structures corresponding to different types of movable heads may be the same but may also be different.
[0067] In step S212, the physical structure of the movable head currently installed in the processing equipment for use is determined based on the correspondence between the type of the movable head and the physical structure. For example, if the type of the movable head is a 50-watt laser head, the physical structure of the 50-watt laser head can be determined based on the correspondence between the type of the movable head and the physical structure; if the type of the movable head is a high-pressure water gun head, the physical structure of the high-pressure water gun head can be determined based on the correspondence between the type of the movable head and the physical structure.
[0068] In step S213, the processing area corresponding to the processing piece and the positioning area corresponding to the positioning piece are determined according to the movable range and physical structure of the movable head currently in use.
[0069] It can be seen from the above that the present embodiment can be used in combination with different types of movable heads in processing equipment, thereby improving the applicability of the movable head installed in the processing equipment, and determining the physical structure of the movable head according to the type of movable head currently used, so that the determined processing area and positioning area are more accurate.
[0070] In step S220, the target page may be an operation page that can only be operated, a display page that can only be displayed, or a page that can be displayed and operated, and the present application does not limit this. The restricted area may refer to an area where the operation of the processing element is restricted, wherein the restricted operation includes positioning and / or processing the processing element. The restricted area is obtained according to the processing area and the positioning area generated on the target page, and the restricted area may include a restricted processing area, a restricted positioning area, and / or a restricted processing and positioning area.
[0071] If the processing area and positioning area are determined on the target page, the restricted area can be determined directly based on the processing area and positioning area on the target page; if the processing area and positioning area are determined on the processing platform, the processing area and positioning area are mapped on the target page, and then the restricted area on the processing platform is determined based on the processing area and positioning area mapped on the target page.
[0072] See also Figure 5 , Figure 5 A flow chart of a method for limiting the position of a processing element according to another embodiment of the present application is shown. In this embodiment, step S220 of determining a restricted area on a target page according to a processing area and a positioning area may include the following steps:
[0073] Step S221, superimposing the processing area and the positioning area to obtain an overlapping area and a non-overlapping area;
[0074] Step S222: determining a restricted area according to the overlapping area and the non-overlapping area.
[0075] The following describes these two steps in detail.
[0076] In step S221, the processing area and the positioning area generated on the target page are intersected to obtain an overlapping area where the processing area and the positioning area intersect, and a non-overlapping area where the processing area and the positioning area do not intersect. The non-overlapping area includes an area that belongs to the processing area but is outside the positioning area (i.e., a restricted positioning area) and an area that belongs to the positioning area but is outside the processing area (i.e., a restricted processing area).
[0077] In step S222, all areas outside the overlapping area are restricted areas, wherein the restricted areas include restricted processing areas, restricted positioning areas and / or restricted processing and positioning areas.
[0078] See also Figure 6 , Figure 6 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown. In this embodiment, step S222 of determining a restricted area according to overlapping areas and non-overlapping areas may include the following steps:
[0079] Step S2221, taking the non-overlapping area belonging to the processing area as a restricted positioning area;
[0080] Step S2222: Use the non-overlapping area belonging to the positioning area as a restricted processing area.
[0081] The following describes these two steps in detail.
[0082] In step S2221, the restricted positioning area refers to an area where the processing element can be processed but cannot be positioned.
[0083] In step S2222, the restricted processing area refers to an area where the processing element can be positioned but cannot be processed.
[0084] In another exemplary embodiment, the restricted area further includes a restricted processing and positioning area, and the restricted area is determined based on the overlapping area and the non-overlapping area, and further includes:
[0085] The area outside the overlapping area and the non-overlapping area is regarded as the restricted processing and positioning area.
[0086] Further explained, the restricted processing and positioning area refers to an area where the processing element cannot be processed or positioned. For example, when the movable range selected by the user is smaller than the maximum movable range, the restricted processing and positioning area determined thereby will be larger, and the range of the operation restriction on the processing element will be wider, thereby achieving a more precise limiting effect and further improving the success rate of processing.
[0087] As can be seen from the above, this embodiment divides the restricted area into a restricted positioning area, a restricted processing area and / or a restricted processing and positioning area, so as to accurately prompt the user of operations that cannot be performed on processing elements in different types of restricted areas.
[0088] In step S230, the processing element may refer to an element corresponding to the operation that the user intends to perform on the processed material, such as an engraving pattern corresponding to pattern engraving, a cutting position corresponding to material cutting, a graphic mark corresponding to marking, etc. The processing element may be a regular pattern or an irregular pattern, such as a polygon, a circle, etc., and an irregular pattern such as an irregular figure image, a landscape image, etc. The processing element may also be a vector image or a bitmap. A vector image, also known as a vector image, is an image described by a series of geometric figures (such as line segments, curves, polygons, etc.), and can be enlarged or reduced without distortion. A bitmap, also known as a dot map, is an image simulated by many pixels, and each pixel is described by a color value. When the processing element is in a restricted area, a corresponding restriction prompt is made according to the area type of the restricted area, wherein the restriction prompt includes but is not limited to text prompts, voice prompts, auxiliary line prompts, and mask prompts.
[0089] For example, when the processing element is in the restricted area, a text prompt "The element placement exceeds the positioning area, please adjust" can be given through a pop-up window; or a voice prompt "The processing element cannot be processed here, please adjust" can be given; or an auxiliary line can be displayed at the boundary of the restricted area for prompting; or the restricted area can be distinguished from the area outside the restricted area by different colors (for example, a mask is displayed inside the restricted area, etc.), as well as other ways of giving restriction prompts. The way of giving restriction prompts can also be a combination of the above ways, which is not limited here.
[0090] It should be noted that the timing for the software to issue a restriction prompt is not unique, and this embodiment does not limit this timing. Specifically, the restriction prompt may be issued when the processing element is in the restricted area, wherein the processing element being in the restricted area includes the processing element being partially in the restricted area or the processing element being completely in the restricted area.
[0091] It is also possible to make corresponding restriction prompts when executing operations restricted by the restricted area in the software. For example, when a processing element is in a restricted processing area, if you want to perform a processing operation on the processing element at this time, a restricted processing prompt will be made; when a processing element is in a restricted positioning area, if you want to perform a positioning operation on the processing element at this time, a restricted positioning prompt will be made. For example, please refer to Figure 7 , Figure 7 A schematic diagram of a restricted positioning prompt according to an embodiment of the present application is shown. The processing element "hello" is in the restricted positioning area. At this time, when performing a positioning operation in the software, a text prompt "The processing element exceeds the positioning area, please adjust" will pop up above.
[0092] In one embodiment of the present application, if the positioning member performs red cross positioning, then Figure 7 The processing element "hello" is in the restricted red cross positioning area. At this time, when the positioning operation is performed in the software, a text prompt "The processing element exceeds the red cross positioning area, please adjust" will pop up above.
[0093] In another embodiment of the present application, if the positioning member performs weak light positioning, then Figure 7 The processed element "hello" is in the restricted weak-light positioning area. When the positioning operation is performed in the software, a text prompt "The processed element exceeds the weak-light positioning area, please adjust" will pop up above.
[0094] As can be seen from the above, this embodiment automatically performs a corresponding restriction prompt when the processing element is located in the restricted area, and prompts the user through the restriction prompt that the movable head cannot perform corresponding operations in the restricted area.
[0095] See also Figure 8 , Figure 8 A flow chart of a method for limiting a processing element according to another embodiment of the present application is shown. In this embodiment, when the processing element is in a restricted area, step S230 of prompting the user may include the following steps:
[0096] Step S231, generating restricted processing prompt information when the processing element is within the restricted processing area;
[0097] Step S232: when the processing element is within the restricted positioning area, generating restricted positioning prompt information.
[0098] The following describes these two steps in detail.
[0099] In step S231, when the processing element is in the restricted processing area, a prompt message of restricted processing is generated in the software, that is, the user is prompted that the movable head cannot be controlled by the software to perform processing operations on the processing element in the restricted processing area.
[0100] In step S232, when the processing element is in the restricted positioning area, a prompt message of restricted positioning is generated in the software, that is, the user is prompted that the movable head cannot be controlled by the software to perform positioning operations on the processing element in the restricted positioning area.
[0101] In another exemplary embodiment, when the processing element is in the restricted area, prompting the user further includes:
[0102] When the processing element is within the restricted processing and positioning area, restricted processing and positioning prompt information is generated.
[0103] To further illustrate, when a processing element is within a restricted processing and positioning area, a prompt message of restricted processing and positioning is generated in the software, prompting the user that the user cannot use the software to control the movable head to perform processing and positioning operations on the processing element within the restricted processing and positioning area.
[0104] It can be seen from the above that this embodiment divides the operations restricted in the restricted area and specifically explains the operation restrictions on processing elements in different types of restricted areas, which can enhance the interactive experience between the user and the software.
[0105] In another exemplary embodiment, when the processing element is in the restricted area, generating corresponding prompt information includes:
[0106] Displaying the first mark in the restricted processing area; and / or
[0107] A second mark is displayed in the restricted positioning area.
[0108] In another exemplary embodiment, when the processing element is within the restricted area, generating corresponding prompt information further includes:
[0109] A third marker is displayed in the restricted processing and positioning area.
[0110] Further explained, different identifications are displayed on the restricted processing area, the restricted positioning area and / or the restricted processing and positioning area, wherein the different identifications include but are not limited to different types of the first identification, the second identification and the third identification, the first identification, the second identification and the third identification are of the same type but with different symbol directions, etc. Exemplarily, different identifications are distinguished according to different graphics, such as a triangle as the first identification, a circle as the second identification, and a rectangle as the third identification; a straight line as the first identification, a dotted line as the second identification, and a curve as the third identification. Different identifications are distinguished according to the same type but different symbol directions, such as a vertical line at a certain distance as the first identification, a horizontal line at a certain distance as the second identification, and an inclined line at a certain distance as the third identification; a solid line inclined to the left as the first identification, a solid line inclined to the right as the second identification, and a vertical solid line as the third identification.
[0111] In addition, a first mark may be displayed in the restricted processing area, a second mark may be displayed in the restricted positioning area, and no mark may be displayed in the restricted processing and positioning area. Thus, users can also distinguish between the restricted processing area, the restricted positioning area and / or the restricted processing and positioning area.
[0112] As can be seen from the above, this embodiment enables the user to accurately distinguish the types of restricted areas by displaying different logos on the restricted processing area, the restricted positioning area and / or the restricted processing and positioning area, thereby helping the user to accurately identify the processable area of the movable head and enhance the user experience.
[0113] In another exemplary embodiment, the first mark, the second mark and the third mark have different colors.
[0114] To further illustrate, by displaying different colored marks on the restricted processing area, the restricted positioning area and / or the restricted processing and positioning area, for example, using a red mark as the first mark, a black mark as the second mark, and a yellow mark as the third mark, it can also help the user to accurately identify the restricted processing area, the restricted positioning area, and the scope of the restricted processing and positioning area of the movable head, thereby improving the user experience.
[0115] In another embodiment, the marks of different colors are masks of different color types, for example, a red mask is used as the first mark, a gray mask is used as the second mark, and a black mask is used as the third mark. Fig. 9 , Fig. 9 A schematic diagram of a gray mask display according to an embodiment of the present application is shown. The upper portion of the non-restricted area is a gray mask mark displayed in the restricted positioning area, which guides the user that positioning operations cannot be performed in the gray mask area.
[0116] In addition, the masks of different colors also include the same color type but different shades of color. For example, a dark gray mask is used as the first identification, a silver gray mask is used as the second identification, and a light gray mask is used as the third identification. This application does not make any limitation here.
[0117] See also Fig.10 , Fig.10 A schematic diagram of restricting different positions of processing elements according to an embodiment of the present application is shown. Sequence numbers 1, 3, and 4 indicate different positions of the processing element "hello" on the target page (corresponding to different positions of the processing element on the processing platform of the processing equipment), sequence number 4 indicates that the processing element is partially in the restricted positioning area, sequence number 1 indicates that the processing element is completely in the restricted positioning area, and sequence number 3 indicates that the processing element is completely in the restricted processing area. Figure 3 Taking the laser head shown as an example, the positioning part is farther from the upper edge of the movable head than the workpiece. When the processing element is located at the position indicated by number 1 and number 4 (corresponding to being close to the upper edge of the movable head), the positioning part cannot be positioned. However, since the processing element is close to the upper edge of the movable head, the positions indicated by numbers 1 and 4 are still within the processing area, so the movable head can process the positions indicated by numbers 1 and 4. Similarly, the position indicated by number 3 corresponds to being close to the lower edge of the movable head. The positioning part closer to the lower edge can position the position indicated by number 3, and the processing element farther from the lower edge cannot process the position indicated by number 3. The white area in the figure is the overlapping area of the processing area and the positioning area. When the processing element is completely in the white area, the user can perform operations such as processing and positioning on the processing element.
[0118] In one embodiment of the present application, if the positioning member performs red cross positioning, then Fig.10 The sequence number 4 indicates that the processing element is partially within the restricted red cross positioning area, the sequence number 1 indicates that the processing element is completely within the restricted red cross positioning area, and the sequence number 3 indicates that the processing element is completely within the restricted processing area.
[0119] In another embodiment of the present application, if the positioning member performs weak light positioning, then Fig.10 The sequence number 4 indicates that the processing element is partially within the restricted weak-light positioning area, the sequence number 1 indicates that the processing element is completely within the restricted weak-light positioning area, and the sequence number 3 indicates that the processing element is completely within the restricted processing area.
[0120] As can be seen from the above, this embodiment displays masks of different colors on the restricted processing area and the restricted positioning area. When the user uploads a larger format processing element, on the one hand, it helps to guide the user to distinguish different types of restricted areas. On the other hand, it can also retain the original picture of the processed element on the target page, thereby optimizing the user experience.
[0121] In another exemplary embodiment, the method for limiting the position of a processing element further includes:
[0122] Auxiliary lines are displayed at the boundaries of the overlapping areas, and the area within the auxiliary lines is regarded as the unrestricted area.
[0123] For further explanation, the overlapping area is the non-restricted area, and auxiliary lines include but are not limited to dotted lines and solid lines. Fig.11 , Fig.11 The schematic diagram of the format auxiliary line structure according to an embodiment of the present application is shown. The dotted line shown in the figure is the auxiliary line displayed at the boundary of the overlapping area of the processing area and the positioning area. The area within the dotted line is the non-restricted area, that is, there is no operation restriction on the processing element within the dotted line. If the processing element is partially or completely outside the non-restricted area, for example, the position indicated by the serial numbers 1 and 3 in the figure is completely outside the non-restricted area, the operation of the processing element will be subject to certain restrictions, and the restricted operations include positioning and processing.
[0124] It can be seen from the above that this embodiment can prompt the user to determine the range of the non-restricted area by displaying auxiliary lines, thereby helping the user to perform corresponding operations on the processing elements in the non-restricted area.
[0125] See also Fig.12 According to one embodiment of the present application, Fig.12 A limiting device for a processing element is provided. The limiting device for a processing element includes a first determining module 210 , a second determining module 220 , and a prompting module 230 .
[0126] The first determining module 210 is used to determine a processing area corresponding to the processing workpiece and a positioning area corresponding to the positioning member according to the movable range of the movable head. The processing workpiece and the positioning member are respectively installed at different positions of the movable head.
[0127] The second determining module 220 is used to determine a restricted area on the target page according to the processing area and the positioning area.
[0128] The prompt module 230 is used to generate corresponding prompt information when the processing element is in the restricted area.
[0129] In another exemplary embodiment, the first determining module 210 may include a type determining unit 211 , a physical configuration determining unit 212 , and a processing area and positioning area determining unit 213 .
[0130] The type determination unit 211 is used to determine the type of the movable head currently used; wherein each type of the movable head corresponds to a physical structure, and the physical structure includes the distance between the processing part and the positioning part;
[0131] The physical structure determination unit 212 is used to determine the physical structure of the movable head currently in use according to the correspondence between the type of the movable head and the physical structure;
[0132] The processing area and positioning area determining unit 213 is used to determine the processing area corresponding to the processing piece and the positioning area corresponding to the positioning piece according to the movable range and the physical structure of the movable head currently in use.
[0133] In another exemplary embodiment, the second determining module 220 may include a superposition processing unit 221 and a restriction area determining unit 222 .
[0134] The superposition processing unit 221 is used to perform superposition processing on the processing area and the positioning area to obtain an overlapping area and a non-overlapping area;
[0135] The restricted area determining unit 222 is used to determine the restricted area according to the overlapping area and the non-overlapping area.
[0136] In another exemplary embodiment, the restricted area determining unit 222 may include a restricted positioning area determining unit 2221 and a restricted processing area determining unit 2222 .
[0137] The restricted positioning area determining unit 2221 is used to use the non-overlapping area belonging to the processing area as the restricted positioning area.
[0138] The restricted processing area determining unit 2222 is used to use the non-overlapping area belonging to the positioning area as the restricted processing area.
[0139] In another exemplary embodiment, the restriction area determination unit 222 may further include a restriction processing and positioning area determination unit 2223 .
[0140] The restricted processing and positioning area determining unit 2223 is used to set the area outside the overlapping area and the non-overlapping area as the restricted processing and positioning area.
[0141] In another exemplary embodiment, the prompt module 230 may include a processing prompt unit 231 and a positioning prompt unit 232 .
[0142] The processing prompt unit 231 is used to generate restricted processing prompt information when the processing element is in the restricted processing area.
[0143] The positioning prompt unit 232 is used to generate restricted positioning prompt information when the processing element is in the restricted positioning area.
[0144] In another exemplary embodiment, the prompt module 230 may further include a processing and positioning prompt unit 233 .
[0145] The processing and positioning prompt unit 233 is used to generate restricted processing and positioning prompt information when the processing element is in the restricted processing and positioning area.
[0146] In another exemplary embodiment, the limiting device of the processing element may further include first and second identification display units 310 .
[0147] The mark display unit 310 is used to display a first mark in the restricted processing area; and / or display a second mark in the restricted positioning area.
[0148] In another exemplary embodiment, the limiting device of the processing element may further include a third identification display unit 320 .
[0149] The third mark display unit 320 is used to display a third mark in the restricted processing and positioning area.
[0150] In another exemplary embodiment, the limiting device of the processing element may further include a display auxiliary line unit 410 .
[0151] The auxiliary line display unit 410 is used to display auxiliary lines at the boundary of the overlapping area, and regard the area within the auxiliary lines as a non-restricted area.
[0152] It should be noted that the limiting device of the processing element provided in the above embodiment and the limiting method of the processing element provided in the above embodiment belong to the same concept, and the specific way in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here.
[0153] The present application also provides a computer numerical control machine, which includes: a slide rail; a movable head, which is slidably arranged on the slide rail; a communication component, which is used to receive a restricted area and prompt information obtained according to the steps of any one of the methods above; and a controller, which controls the movable head to move on the slide rail to process the surface of the processing material based at least on the restricted area and the prompt information.
[0154] It should be noted that after the controller obtains the restricted area and prompt information, even if the prompt information pops up relevant text prompts, such as "Processing elements exceed the positioning area, please adjust" and "Processing elements exceed the processing area, please adjust", it can still control the movable head to perform laser processing based on the user's operation instructions. However, the final effect of laser processing in the restricted area is not the best and cannot achieve the effect of laser processing in the non-restricted area.
[0155] In another exemplary embodiment, the limiting method of the processing element of the embodiment of the present application can be Fig.13 The processing element of the limit device is realized. Fig.13To describe the limiting device of the processing element according to the embodiment of the present application. Fig.13 The limiting device of the processing element shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0156] like Fig.13 As shown, the limiting device of the processing element is presented in the form of a general computing device. The components of the limiting device of the processing element may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).
[0157] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps according to various exemplary embodiments of the present invention described in the description of the exemplary method described above in this specification. For example, the processing unit 810 can perform the following steps: Figure 2 The steps shown in .
[0158] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .
[0159] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0160] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0161] The position limiting device of the processing element may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the position limiting device of the processing element, and / or may communicate with any device that enables the position limiting device of the processing element to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the position limiting device of the processing element may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the position limiting device of the processing element via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the position limiting device of the processing element, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0162] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0163] In an exemplary embodiment of the present application, a computer program medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the method described in the above method embodiment.
[0164] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited to this. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0165] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0166] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0167] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0168] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0169] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0170] In addition, although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0171] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0172] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
Claims
1. A method for limiting the position of a processing element, characterized in that: The method comprises: Determine, according to the movable range of the movable head, a processing area corresponding to the processing workpiece and a positioning area corresponding to the positioning member, wherein the processing workpiece and the positioning member are respectively installed at different positions of the movable head; Determine a restricted area on a target page according to the processing area and the positioning area; When the processing element is within the restricted area, corresponding prompt information is generated.
2. The method according to claim 1, characterized in that: The step of determining the processing area corresponding to the processing piece and the positioning area corresponding to the positioning piece according to the movable range of the movable head comprises: Superimposing the processing area and the positioning area to obtain overlapping areas and non-overlapping areas; The restricted area is determined according to the overlapping area and the non-overlapping area.
3. The method according to claim 2, characterized in that The restricted area includes a restricted positioning area and a restricted processing area, and the determining of the restricted area according to the overlapping area and the non-overlapping area includes: Using a non-overlapping area belonging to the processing area as the restricted positioning area; The non-overlapping area belonging to the positioning area is used as the restricted processing area.
4. The method according to claim 2 or 3, characterized in that: The restricted area also includes a restricted processing and positioning area, and the determining of the restricted area according to the overlapping area and the non-overlapping area further includes: The area outside the overlapping area and the non-overlapping area is used as a restricted processing and positioning area.
5. The method according to claim 3, characterized in that: When the processing element is within the restricted area, generating corresponding prompt information includes: When the processing element is within the restricted processing area, generating restricted processing prompt information; When the processing element is within the restricted positioning area, restricted positioning prompt information is generated.
6. The method according to claim 4, characterized in that When the processing element is within the restricted area, generating corresponding prompt information further includes: When the processing element is within the restricted processing and positioning area, restricted processing and positioning prompt information is generated.
7. The method according to claim 1, characterized in that The step of determining the processing area corresponding to the processing piece and the positioning area corresponding to the positioning piece according to the movable range of the movable head comprises: Determining the type of movable head currently in use; wherein each type of movable head corresponds to a physical configuration, and the physical configuration includes a distance between the processing member and the positioning member; Determining the physical structure of the movable head currently in use according to the correspondence between the type of the movable head and the physical structure; According to the movable range and the physical structure of the movable head currently in use, a processing area corresponding to the processing piece and a positioning area corresponding to the positioning piece are determined.
8. The method according to claim 3, characterized in that When the processing element is within the restricted area, generating corresponding prompt information includes: Displaying a first mark in the restricted processing area; and / or A second mark is displayed in the restricted positioning area.
9. The method according to claim 8, characterized in that When the processing element is within the restricted area, generating corresponding prompt information further includes: A third marker is displayed in the restricted processing and positioning area.
10. The method according to claim 9, characterized in that The first mark, the second mark and the third mark have different colors.
11. The method according to claim 2, characterized in that The method further comprises: An auxiliary line is displayed at the boundary of the overlapping area, and the area within the auxiliary line is regarded as a non-restricted area.
12. A limiting device for a processing element, characterized in that: The device comprises: A first determining module is used to determine a processing area corresponding to a processing workpiece and a positioning area corresponding to a positioning member according to a movable range of the movable head, wherein the processing workpiece and the positioning member are respectively installed at different positions of the movable head; A second determining module, used for determining a restricted area on a target page according to the processing area and the positioning area; The prompt module is used to generate corresponding prompt information when the processing element is in the restricted area.
13. A limiting device for processing elements, characterized in that: include: a memory storing computer-readable instructions; A processor reads the computer-readable instructions stored in the memory to execute the method described in any one of claims 1 to 11.
14. A computer program medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor of a computer, the computer is caused to perform the method according to any one of claims 1 to 11.
15. A computer numerically controlled machine, characterized in that The computer numerically controlled machine comprises: Slide rails; a movable head, the movable head being slidably disposed on the slide rail; A communication component, the communication component is used to receive the restricted area and prompt information obtained according to the steps of the method described in any one of claims 1 to 11; A controller controls the movable head to move on the slide rail to process the surface of the processing material based at least on the restricted area and the prompt information.
