Regional element layout method, device, machine, system, storage medium and product
By receiving operation instructions in the design software or laser software to determine the target position of the target processing graphic elements and the alignment reference objects, and controlling their alignment, the problem that the target processing graphic elements in the prior art cannot be accurately aligned, and the layout efficiency is improved.
Patent Information
- Application Number
- CN202411092400.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-11-24
- Filing Date
- 2024-08-09
- Publication Date
- 2025-05-27
AI Technical Summary
During the layout process of existing design software or laser software, the target processing graphic elements cannot be accurately moved to the target position where the target processing graphic elements are required to align, resulting in inconvenient position adjustment and low layout efficiency.
After receiving operation instructions to determine the target processing graphic element on the display interface and determine the target position of the alignment reference object, the target processing graphic element is controlled to move to the target position of the alignment reference object to achieve alignment.
The precise alignment of the target processing graphic elements is achieved, the position adjustment process is simplified, and the layout efficiency is improved.
Smart Images

Figure CN120045113A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and particularly to a method, device, machine, system, storage medium and product for laying out regional elements. Background Art
[0002] Currently, the element layout schemes applied to design software or laser software generally have an element intelligent adsorption function. However, the intelligent adsorption of elements is mainly reflected in the adsorption between elements. The alignment reference objects such as the processing areas created by existing design software or laser software only serve as reference auxiliary areas for realizing the adsorption between elements. Since the alignment reference objects cannot be edited, during the layout process, the target processing graphic elements moved to the alignment reference objects cannot be accurately moved to the target positions where the target processing graphic elements are required to be aligned. And adjusting the positions of the target processing graphic elements set on the alignment reference objects one by one involves a large amount of work and low layout efficiency. Summary of the Invention
[0003] The main object of the present invention is to provide a method, device, machine, system, storage medium and product for laying out regional elements, which is used to solve the problems that in the existing element layout scheme during the layout process, the target processing graphic elements cannot be accurately moved to the target positions where the target processing graphic elements are required to be aligned, and it is inconvenient to adjust the set positions of the target processing graphic elements and the layout efficiency is low.
[0004] To achieve the above object, the present invention provides a method for laying out regional elements, including the following steps:
[0005] Determine a target processing graphic element on a display interface according to a received first operation instruction;
[0006] Determine an alignment reference object, and after determining the target position of the alignment reference object in response to a second operation instruction, control the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position; wherein, the second operation instruction is used to specify the target position where the target processing graphic element is required to be aligned.
[0007] In an embodiment, the step of, after determining the target position of the alignment reference object in response to the second operation instruction, controlling the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position specifically includes:
[0008] In response to the second operation instruction, determine the target position on the alignment reference object where alignment is required;
[0009] Control the target processing graphic element to move to the target position on the alignment reference object where alignment is required so that the target processing graphic element is aligned with the target position.
[0010] In one embodiment, the second operation instruction includes a first sub-operation instruction and a second sub-operation instruction. The steps of determining the alignment reference object, and after determining the target position of the alignment reference object in response to the second operation instruction, controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position specifically include:
[0011] Display a plurality of moving object options, and determine the moving object determined from the plurality of moving object options as the alignment reference object; wherein each of the moving object options corresponds to a moving object displayed on the display interface, and the moving objects include a canvas, a calibrated machining area, a surface machining area, and auxiliary lines;
[0012] In response to the first sub-operation instruction, display at least one position option corresponding to the alignment reference object; wherein each position option corresponds to a candidate alignment position on the alignment reference object;
[0013] In response to the second sub-operation instruction for the position option, determine the candidate alignment position determined from the plurality of position options as the target position required to be aligned on the alignment reference object;
[0014] Control the target machining graphic element to move to the target position required to be aligned on the alignment reference object so that the target machining graphic element is aligned with the target position.
[0015] In one embodiment, the second operation instruction includes a third sub-operation instruction. The steps of determining the alignment reference object, and after determining the target position of the alignment reference object in response to the second operation instruction, controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position specifically include:
[0016] Display a plurality of moving object options, and determine the moving object determined from the plurality of moving object options as the alignment reference object; wherein each of the moving object options corresponds to a moving object displayed on the display interface, and the moving objects include a machining head positioner and a candidate positioning point;
[0017] In response to the third sub-operation instruction, take the alignment reference object as the target position, and control the target machining graphic element to move to the target position so that the target machining graphic element is aligned with the target position.
[0018] In one embodiment, a first interaction control is displayed on the display interface. The second operation instruction includes a fourth sub-operation instruction and a fifth sub-operation instruction. After determining the target position of the alignment reference object in response to the second operation instruction, the step of controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position specifically includes:
[0019] In response to the fourth sub-operation instruction for the first interaction control, a plurality of position options are displayed on the display interface, and each position option corresponds to a sub-region on the alignment reference object;
[0020] In response to the fifth sub-operation instruction for the position option, the sub-region determined from the plurality of position options is taken as the target position, and the target machining graphic element is controlled to move to the target position so that the target machining graphic element is aligned with the target position.
[0021] In one embodiment, the area element layout method further includes:
[0022] In response to the first operation instruction, a machining graphic element and an alignment reference object are created on the display interface;
[0023] According to the position parameters of the alignment reference object, a plurality of target positions are established on the alignment reference object, and a plurality of alignment anchor points are established on the machining graphic element, so that the positions of the plurality of alignment anchor points on the machining graphic element correspond to the positions of the plurality of target positions on the alignment reference object.
[0024] In one embodiment, the step of controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position after determining the target position of the alignment reference object in response to the second operation instruction includes:
[0025] In response to the second operation instruction, the corresponding alignment anchor point on the target machining graphic element is determined according to the target position determined by the second operation instruction, and the target machining graphic element is controlled to move so that the corresponding alignment anchor point on the target machining graphic element is aligned and superimposed with the determined target position.
[0026] In one embodiment, a second interaction control is displayed on the display interface. The second operation instruction includes a trigger instruction for the second interaction control. The step of controlling the target machining graphic element to move to the target position of the alignment reference object after determining the target position of the alignment reference object in response to the second operation instruction specifically includes:
[0027] In response to the trigger instruction for the second interaction control, when the target machining graphic element and a target position of the alignment reference object are within the adsorption distance, the target machining graphic element is controlled to move to the target position of the alignment reference object;
[0028] Alternatively, in response to a trigger instruction for a second interaction control, when the target machining graphic element is within the adsorption distance between multiple target positions of the alignment reference object, control the target machining graphic element to move to the target position closest to the target machining graphic element.
[0029] In one embodiment, the second operation instruction includes a movement trigger instruction. The steps of determining the alignment reference object and, in response to the second operation instruction, after determining the target position of the alignment reference object, controlling the target machining graphic element to move to the target position of the alignment reference object specifically include:
[0030] Obtain the actual position of the machining head, generate a machining head position mark corresponding to the actual position of the machining head on the display interface, and determine the machining head position mark as the alignment reference object;
[0031] In response to a movement trigger instruction for the target machining graphic element, with the machining head position mark as the target position, when the target machining graphic element is within the adsorption distance between the target machining graphic element and the machining head position mark, control the target machining graphic element to move to the machining head position mark.
[0032] In one embodiment, the second operation instruction includes a movement trigger instruction. The steps of, in response to the second operation instruction, after determining the target position of the alignment reference object, controlling the target machining graphic element to move to the target position of the alignment reference object specifically include:
[0033] In response to a movement trigger instruction for the target machining graphic element, when the target machining graphic element is within the adsorption distance between the target machining graphic element and a target position of the alignment reference object, control the target machining graphic element to move to the target position of the alignment reference object; or, when the target machining graphic element is within the adsorption distance between multiple target positions of the alignment reference object, control the target machining graphic element to move to the target position closest to the target machining graphic element.
[0034] In one embodiment, before performing the step of, in response to the second operation instruction, after determining the target position of the alignment reference object, controlling the target machining graphic element to move to the target position of the alignment reference object to align the target machining graphic element with the target position, the following steps are further included:
[0035] In response to a movement trigger instruction for the target machining graphic element, when the target machining graphic element is within the adsorption distance between the target machining graphic element and one or more target positions, highlight the target positions.
[0036] In one embodiment, the alignment reference object includes at least one of the following:
[0037] Canvas, calibrated machining area, surface machining area, auxiliary line.
[0038] In one embodiment, when the alignment reference object is the calibrated machining area, the step of determining the alignment reference object includes:
[0039] Based on the actual machining area calibrated by the machining head, a calibrated machining area corresponding to the actual machining area is generated on the canvas of the display interface, and the generated calibrated machining area is determined as the alignment reference object.
[0040] In one embodiment, after performing the step of controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position, the following steps are further included:
[0041] In response to a third operation instruction, determine the position of the target machining graphic element on the alignment reference object and generate a regional element layout scheme.
[0042] To achieve the above object, the present invention also provides a regional element layout device, including:
[0043] A display module having a display interface;
[0044] A receiving module for receiving operation instructions, where the operation instructions at least include a first operation instruction and a second operation instruction;
[0045] A generating module for performing the above-mentioned regional element layout method according to the operation instructions.
[0046] To achieve the above object, the present invention also provides a computer numerical control machine, and the computer numerical control machine includes:
[0047] A slide rail;
[0048] A machining head, and the machining head is slidably arranged on the slide rail;
[0049] A communication component, where the communication component is used to receive a signal, and the signal is a signal for aligning the target machining graphic element with the position of the alignment reference object obtained according to the steps of the above-mentioned regional element layout method;
[0050] A controller, and the controller controls the machining head to move on the slide rail to machine the surface of the machining material based on the signal.
[0051] To achieve the above object, the present invention also provides a system, including:
[0052] At least one data processor;
[0053] At least one non-transitory computer-readable medium, and program instructions stored on the non-transitory computer-readable medium can be executed by at least one data processor, so that the system is configured to:
[0054] Determine a target processing graphic element on the display interface according to the received first operation instruction;
[0055] Determine an alignment reference object, and after determining the target position of the alignment reference object in response to the second operation instruction, control the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position; wherein, the second operation instruction is used to specify the target position where the target processing graphic element is required to be aligned.
[0056] To achieve the above object, the present invention also provides a storage medium, the storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the above-mentioned regional element layout method are implemented.
[0057] To achieve the above object, the present invention also provides a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned regional element layout method are implemented.
[0058] Compared with the prior art, the present invention has the following beneficial effects:
[0059] Determine a target processing graphic element on the display interface according to the received first operation instruction; by determining an alignment reference object and, in response to the second operation instruction, determining the target position of the alignment reference object, and then controlling the target processing graphic element to move to the target position of the alignment reference object, the position of the target processing graphic element set on the alignment reference object can be accurately specified, which is convenient for adjustment and can effectively solve the problem of low layout efficiency. In this way, the adjustment of the layout position of the target processing graphic element can be made more flexible, meeting the layout requirements of different regional elements, optimizing the use experience, and avoiding affecting the layout effect due to the inability to accurately specify the position of the target processing graphic element on the alignment reference object. Description of the Drawings
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0061] Figure 1 Schematic diagram of the application of the regional element layout method of an embodiment of the present invention to a system architecture;
[0062] Figure 2 Flowchart of an embodiment of the regional element layout method of the present invention;
[0063] Figure 3 Specific flowchart of step S200 of an embodiment of the regional element layout method of the present invention;
[0064] Figure 4 Specific flowchart of step S200 of another embodiment of the regional element layout method of the present invention;
[0065] Figure 5 Specific flowchart of step S200 of yet another embodiment of the regional element layout method of the present invention;
[0066] Figure 6 Specific flowchart of step S200 of yet another embodiment of the regional element layout method of the present invention;
[0067] Figure 7 Specific flowchart of step S200 of yet another embodiment of the regional element layout method of the present invention;
[0068] Figure 8 Partial flowchart of yet another embodiment of the regional element layout method of the present invention;
[0069] Figure 9 Interface diagram of an embodiment of the regional element layout method of the present invention;
[0070] Figure 10 Interface diagram of another embodiment of the regional element layout method of the present invention;
[0071] Figure 11 Interface diagram of yet another embodiment of the regional element layout method of the present invention;
[0072] Figure 12 Implementation schematic diagram of an embodiment of generating a calibrated processing area corresponding to the actual processing area on the display interface of the present invention;
[0073] Figure 13 Implementation schematic diagram of an embodiment of displaying the distance between the target position and the target processing graphic element on the display interface of the present invention.
[0074] Explanation of the reference numerals in the drawings:
[0075] 100, system architecture; 110, terminal device; 120, network; 130, server.
[0076] The realization, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. Specific implementation manners
[0077] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0078] It should be noted that if all the directional indications in the embodiments of the present invention are only used to explain the relative positional relationship and movement conditions between components in a specific posture, when the specific posture changes, the directional indications will also change accordingly.
[0079] If the descriptions involving "first", "second", etc. in the present invention are only for descriptive purposes and cannot be construed as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. If the description involving "A and / or B" in the present invention means including solution A or solution B, or including both solution A and solution B. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions results in contradictions or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.
[0080] Currently, the element layout schemes applied to design software or laser software generally have an element intelligent adsorption function. However, the intelligent adsorption of elements is mainly reflected in the adsorption between elements. The existing alignment reference objects such as the processing areas created by design software or laser software only serve as reference auxiliary areas for realizing the adsorption between elements. Since the alignment reference objects cannot be edited, during the layout process, the target processing graphic elements moved to the alignment reference objects cannot be accurately moved to the target positions where the target processing graphic elements are required to be aligned, and the project volume of adjusting the positions of the target processing graphic elements set in the alignment reference objects one by one is large, and the layout efficiency is low.
[0081] In the field of laser applications, there is a mapping relationship between the processing areas and objects of the equipment used in the software. Laser equipment generally maps the processing area through a camera or obtains the calibrated position of the laser head through an encoder and generates a calibrated area on the software. To solve the problems that in the existing element layout scheme, the target processing graphic elements cannot be accurately adsorbed to the target positions on the alignment reference objects such as the processing area, and it is inconvenient to adjust the set positions of the target processing graphic elements and the layout efficiency is low, refer to Figures 1 to 13, embodiments of the present application provide a method, apparatus, machine, system, storage medium, and product for regional element layout. Among them, the apparatus specifically includes a regional element layout apparatus for implementing regional element layout. Optionally, the regional element layout apparatus includes a host computer, or includes a host computer and a computer numerical control machine; the machine is mainly but not limited to computer numerical control devices such as laser cutting equipment, laser engraving equipment, and knife cutting processing equipment; the storage medium is specifically a computer-readable storage medium, and the product is specifically a computer program product. The system includes at least one data processor and at least one type of computer-readable medium. The computer-readable medium (for example, a non-transitory computer-readable medium) is defined herein as a non-transitory computer-readable medium. The non-transitory computer-readable medium includes a storage space located within a single physical storage device or a storage space distributed across multiple physical storage devices. The program instructions stored on the non-transitory computer-readable medium can be executed by at least one data processor, such that the system is configured to implement the method as shown below.
[0082] Referring to Figure 1 , Figure 1 FIG. schematically shows a schematic diagram of a system architecture 100 applying the technical solution of the present application. The system architecture 100 may include a terminal device 110, a network 120, and a server 130. The terminal device 110 may include processing devices such as a smart phone, a tablet computer, a laptop computer, a smart voice interaction device, and laser processing equipment, etc. The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The network 120 may be a communication medium of various connection types capable of providing a communication link between the terminal device 110 and the server 130. For example, it may be a wired communication link or a wireless communication link. According to the implementation requirements, the system architecture 100 in the embodiments of the present application may have any number of terminal devices 110, networks 120, and servers 130.
[0083] The technical solution provided by the embodiments of the present application can be applied to the terminal device 110, or can be applied to the server 130, or can be jointly implemented by the terminal device 110 and the server 130. The present application does not make special limitations on this. For example, if the terminal device 110 is a processing device such as laser cutting equipment, laser engraving equipment, or knife cutting processing equipment, and the server 130 is the server corresponding to the processing device, the technical solution of the present application can be implemented by the processing device, or can be implemented by the server corresponding to the processing device, or can be jointly implemented by the processing device and its corresponding server.
[0084] The technical solution of the present application can be, but is not limited to, applied to the regional element layout scenarios in laser processing such as laser cutting and laser engraving to align the target processing graphic elements with the alignment reference objects, or applied to the regional element layout scenarios in knife cutting processing to align the target processing graphic elements with the alignment reference objects; for accurately processing the target processing image elements at the positions required to be aligned when using a laser beam to perform operations such as cutting, welding, and surface treatment on materials, or using a tool to perform operations such as cutting and surface treatment on materials.
[0085] Some technical solutions of the embodiments of the present application can be implemented based on the system architecture 100 as shown in Figure 1 or its deformed system architecture. The regional element layout method can be applicable to the system architecture shown in Figure 1 or other system architectures, which are not limited herein.
[0086] Referring to Figure 2 , the regional element layout method includes the following steps:
[0087] Step S100: Determine the target processing graphic element on the display interface according to the received first operation instruction.
[0088] It can be understood that specifically, according to the received first operation instruction, the target processing graphic element can be determined from at least one processing graphic element displayed on the display interface; or in response to the received first operation instruction, a processing graphic element is created on the display interface, and the created processing graphic element is determined as the target processing graphic element; or at least one of the created multiple processing graphic elements is determined as the target processing graphic element. The display interface displays processing areas such as a canvas, a calibrated processing area, and a curved surface processing area. Among them, the canvas corresponds to the calibrated range of the processing head, and the calibrated processing area, the curved surface processing area, etc. correspond to the actual calibrated processing areas of the processing head. By completing the element layout on the canvas or the calibrated processing area of the display interface, the element layout of the actual processing area can be further completed.
[0089] Step S200: Determine the alignment reference object, and after determining the target position of the alignment reference object in response to the second operation instruction, control the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position; wherein, the second operation instruction is used to specify the target position where the target processing graphic element is required to be aligned.
[0090] The alignment reference object can be, but is not limited to, the canvas, the calibrated processing area, the curved surface processing area, the auxiliary line; it can also be the positioning of the processing head such as the laser head marking point and other marking points. Determining the alignment reference object and, in response to the second operation instruction, determining the alignment reference object and in response to the second operation instruction can be achieved simultaneously or successively; specifically, it can be set according to the actual situation and is not limited herein.
[0091] In response to the second operation instruction, it can be, but is not limited to, in response to a movement trigger instruction such as a drag operation on a target processing graphic element; or, intelligent adsorption switches, operation buttons, etc. are provided at positions such as the canvas, the set position, and the operation bar on the display interface as trigger controls. In response to the trigger instructions for these trigger controls, the trigger controls can be further refined into a first interaction control, a second interaction control, a third interaction control, a moving object interaction control, etc. according to the positions, trigger methods, functions, and alignment methods set on the display interface, so as to achieve functions such as movement, adsorption, and alignment. By means of drag adsorption, button triggering, intelligent adsorption switch control, etc., the target processing graphic element is required to be aligned with the set target position, so as to control the target processing graphic element to move to the corresponding target position. In the embodiment of the present application, after determining the target processing graphic element on the display interface and determining the target position of the alignment reference object, by controlling the target processing graphic element to move to the target position, the position of the target processing graphic element in the actual processing area can be accurately specified, which is convenient for adjustment and can effectively solve the problem of low layout efficiency. In this way, the adjustment of the layout position of the target processing graphic element can be made more flexible, meeting the layout requirements of elements in different areas, optimizing the use experience, and avoiding affecting the layout effect due to the inability to accurately specify the position of the target processing graphic element with respect to the alignment reference object.
[0092] It should be noted that in the embodiment of the present application, the alignment reference object includes at least one of the following: the canvas, the calibrated processing area, the curved surface processing area, the auxiliary line.
[0093] When the alignment reference object is the calibrated processing area, the steps of determining the alignment reference object include: based on the actual processing area calibrated by the processing head, generating a calibrated processing area corresponding to the actual processing area on the canvas of the display interface, and determining the generated calibrated processing area as the alignment reference object.
[0094] Optionally, specifically, one or more actual processing areas can be calibrated by a processing head such as a laser head, and a corresponding calibrated processing area can be generated on the canvas or other positions of the display interface for each calibrated actual processing area.
[0095] When the alignment reference is the auxiliary line, multiple target positions are generated on the auxiliary line. The multiple target positions can be set along the length direction of the auxiliary line, or the multiple target positions are arranged regularly or irregularly in the form of sub-regions such as a grid corresponding to the position of the auxiliary line. At least some of the generated multiple target positions are set in the calibrated processing area or other positions of the display interface. When the alignment reference is the calibrated processing area, taking the actual rectangular processing area as an example, specifically, the actual rectangular processing area has two sets of bending point groups, and each set of bending point groups includes two oppositely arranged bending points. The positions of the two bending points in any one of the two sets of bending points are determined by the processing head, that is, the position coordinates and other position parameters of each point in the actual processing area are determined by the processing head, so as to generate a calibrated processing area with corresponding dimensions at the corresponding position on the canvas of the display interface, and determine the generated calibrated processing area as the alignment reference. Specifically, the actual processing area can also be set into a combination of a circle, an ellipse, a triangle or other regular or irregular figures according to the actual situation, and the calibrated position and the calibration method are determined according to the specific shape of the actual processing area, which is not limited here. For the implementation manner in which the actual processing area is a curved surface and the alignment reference is other alignment references of the curved surface processing area, refer to the foregoing examples and will not be elaborated here one by one.
[0096] Taking the calibrated processing area as the alignment reference as an example, refer to Figure 12 , specifically, the corresponding nodes and other alignment positions can also be highlighted on the display interface with a cross mark, a dot, etc. according to the calibrated nodes (such as the bending points of the actual processing area) and other positions. During the calibration process, the position coordinates and other position parameters corresponding to the node can be displayed by clicking on the generated node on the display interface. Specifically, the actual processing area calibrated by the processing head can be obtained according to the position of the processing area obtained when moving the processing head, and after generating a calibrated processing area corresponding to the actual processing area on the canvas of the display interface, by clicking on the nodes and other alignment positions (such as bending points, centers, etc.) of the generated calibrated processing area on the canvas of the display interface, the corresponding nodes can be highlighted and the position coordinates and other position parameters corresponding to the node can be displayed. Specifically, it can be set according to the actual situation and will not be elaborated here one by one.
[0097] Optionally, there may be one or more alignment references displayed on the display interface, and there is one or more processed graphic elements displayed on the display interface. Specifically, it can respond to trigger instructions such as click trigger instructions for the processed graphic elements displayed on the display interface to determine the selected processed graphic element according to the trigger instruction, and determine the selected processed graphic element as the target processed graphic element; or directly determine all the processed graphic elements displayed on the display interface as the target processed graphic elements. When there are multiple determined target processed graphic elements, when performing step S200, specifically, after determining the target position of any target processed graphic element, control the target processed graphic element to move to the corresponding target position until the position assignment of all target processed graphic elements is completed; or, after determining the target positions of each target processed graphic element, control each target processed graphic element to move to the corresponding target position simultaneously; or, a target position can also be specified, and control multiple target processed graphic elements to move to this target position simultaneously. When there are multiple target processed graphic elements, the sizes, included graphics, etc. of the multiple target processed graphic elements can be the same or different, which can be specifically set according to the actual situation and will not be elaborated here one by one.
[0098] Optionally, the alignment reference further includes at least one of the following: processing headmark positioning, candidate mark positioning, etc. mark positioning or reference points. Specifically, the processing light spot of the processing head can be set to be displayed on the display interface in the form of a cross mark, etc. The implementation manners of other mark positioning, reference points, etc. as alignment references refer to the foregoing examples and will not be elaborated here one by one.
[0099] Further, after performing the step of controlling the target processed graphic element to move to the target position of the alignment reference in step S200 to align the target processed graphic element with the target position, the following steps are further included:
[0100] In response to the third operation instruction, determine the position of the target processed graphic element in the alignment reference and generate a regional element layout plan. The generated regional element layout plan can be, but is not limited to, a processing file in gcode format or any other format, so as to complete the processing of the corresponding target processed graphic element at each target position according to the generated regional element layout plan, realize the global planning of the target processed graphic element, and improve the processing efficiency.
[0101] In some alternative embodiments of the present application, responding to the second operation instruction includes responding to the second operation instruction to achieve the moving adsorption or automatic adsorption of the target processed graphic element.
[0102] As an example, responding to the second operation instruction includes responding to a moving trigger instruction such as click and drag movement of the target processed graphic element to move the target processed graphic element when realizing drag and move adsorption.
[0103] Taking the example of moving a target machining graphic element by dragging, continuously obtain the distance between the target position and the target machining graphic element during the process of dragging and moving the target machining graphic element. When the distance between the target position and the target machining graphic element is less than or equal to the adsorption distance, perform the adsorption operation to control the target machining graphic element to move to the target position.
[0104] The second operation instruction includes a movement trigger instruction. When controlling the target machining graphic element to move to the target position of the alignment reference object, it is necessary to consider the number of target positions of the alignment reference object such as the calibrated machining area. The number of the indicated target positions is one or more.
[0105] As one of the examples, when the alignment reference object is a machining area or an auxiliary line such as a calibrated machining area with one or more alignment positions, and there is one target position within the adsorption distance between the target machining graphic element and the alignment reference object, after the step S200 of determining the target position of the alignment reference object in response to the second operation instruction, the step of controlling the target machining graphic element to move to the target position of the alignment reference object specifically includes:
[0106] In response to the movement trigger instruction for the target machining graphic element, when the target machining graphic element is within the adsorption distance from a target position of the alignment reference object, control the target machining graphic element to move to the target position of the alignment reference object.
[0107] When the number of target positions is one, during the process of dragging and moving the target machining graphic element, the target machining graphic element moves towards the target position. When the distance between the target position and the target machining graphic element is less than or equal to the adsorption distance, perform the automatic adsorption operation to control the target machining graphic element to move to this target position. This target position can specifically be the center of the alignment reference object or any other arbitrary position of the alignment reference object, which is not limited here.
[0108] As another example, when the alignment reference object is a machining area or an auxiliary line such as a calibrated machining area with one or more alignment positions, and there are multiple target positions within the adsorption distance between the target machining graphic element and the alignment reference object, after the step S200 of determining the target position of the alignment reference object in response to the second operation instruction, the step of controlling the target machining graphic element to move to the target position of the alignment reference object specifically includes:
[0109] In response to the movement trigger instruction for the target machining graphic element, when the target machining graphic element is within the adsorption distance from multiple target positions of the alignment reference object, control the target machining graphic element to move to the target position that is closest to the target machining graphic element.
[0110] When the number of target positions is multiple, the multiple target positions may specifically be any multiple positions of the alignment reference object, such as the center of the alignment reference object. In response to the movement trigger instruction for the target processed graphic element, during the process of dragging and moving the target processed graphic element, continuously obtain the distances between the multiple target positions and the target processed graphic element to obtain the distances between each target position and the target processed graphic element, and use the target position corresponding to the smallest of the multiple distances, that is, the shortest distance, as the target processing area. When the distance between the target position and the target processed graphic element is less than or equal to the adsorption distance, perform an automatic adsorption operation to control the target processed graphic element to move to the target position.
[0111] Further, to solve the problem that the spatial relationship such as the distance between the target processed graphic element and the target position cannot be known during the process of dragging and moving the target processed graphic element, after receiving the movement trigger instruction for the target processed graphic element, continuously obtain the distances between the multiple target positions and the target processed graphic element during the process of dragging and moving the target processed graphic element to obtain and display the first distances between each target position and the target processed graphic element. The so-called first distances can be specifically displayed through methods such as pop-up windows and status bars, or the numerical values corresponding to the first distances can be directly displayed between the target processing position and the target processed graphic element to display and remind the user of the distance between the target processed graphic element and the target position in real time. In addition, according to the actual situation, the movement path of the target processed graphic element, the identification lines of the minimum movement paths from the target processed graphic element to each target position, etc. can also be displayed in real time during the process of dragging and moving the target processed graphic element. It can be specifically set according to the actual situation and will not be elaborated here one by one.
[0112] It can be understood that the aforementioned adsorption distance can be optionally set to be not greater than the distance between adjacent two target positions or other distance values, which can be specifically set according to the actual situation and will not be limited here.
[0113] Refer to Figure 3 , as the third example, when the alignment reference object is a processing head positioning such as a laser head mark positioning or other mark positioning, reference point, and the second operation instruction includes a movement trigger instruction, after step S200, determining the alignment reference object, and in response to the second operation instruction, after determining the target position of the alignment reference object, the steps of controlling the target processed graphic element to move to the target position of the alignment reference object specifically include:
[0114] Step S241, obtain the actual position of the processing head, generate a processing head mark positioning corresponding to the actual position of the processing head on the display interface, and determine the processing head mark positioning as the alignment reference object.
[0115] Generate a machining head mark positioning corresponding to the actual position of machining heads such as a laser head, a knife cutting head, a cutting head, a pen head, a drill bit, etc. on the display interface, and display it as a cross mark, a dot, etc. Determine the machining head mark positioning as an alignment reference object, and directly use the machining head mark positioning as the target position.
[0116] Step S242: In response to a movement trigger instruction for a target machining graphic element, using the machining head mark positioning as the target position, when the target machining graphic element and the machining head mark positioning are within the adsorption distance, control the target machining graphic element to move to the machining head mark positioning.
[0117] Using the machining head mark positioning as the target position, during the process of dragging and moving the target machining graphic element, the target machining graphic element moves towards the machining head mark positioning. When the distance between the target machining graphic element and the machining head mark positioning is less than or equal to the adsorption distance, an automatic adsorption operation is achieved to control the target machining graphic element to move to the target position.
[0118] It should be noted that specifically, the foregoing step S241 may be executed before determining the target machining graphic element, that is, generate the machining head mark positioning on the display interface in advance; or, execute the step of generating the machining head mark positioning on the display interface in the foregoing step S241 after determining the target machining graphic element, which is not limited herein.
[0119] In some other optional embodiments of the present application, the machining head mark positioning may optionally be replaced with a reference point such as a candidate mark positioning displayed at any position on the display interface. The implementation manner of generating other candidate mark positionings on the display interface refers to the foregoing embodiment of the machining head mark positioning, which will not be elaborated herein one by one.
[0120] As another example, in response to the second operation instruction including a trigger instruction for an intelligent adsorption switch, an operation button, etc. displayed at positions such as a canvas, a set position, an operation bar, etc. displayed on the display interface, to achieve automatic adsorption of the target machining graphic element.
[0121] In an embodiment, a second interaction control is displayed on the display interface, and the second operation instruction includes a trigger instruction for the second interaction control. The step of controlling the target machining graphic element to move to the target position of the alignment reference object after determining the target position of the alignment reference object in response to the second operation instruction in step S200 specifically includes:
[0122] In response to the trigger instruction for the second interaction control, when the target machining graphic element and a target position of the alignment reference object are within the adsorption distance, control the target machining graphic element to move to the target position of the alignment reference object.
[0123] It can be understood that when the number of target positions is one, in response to a trigger instruction for the second interaction control, when the distance between the target machining graphic element and the target position is less than or equal to the adsorption distance, the target machining graphic element automatically moves towards the target position, implementing an automatic adsorption operation to control the target machining graphic element to automatically move to the target position. The target position can specifically be the center of the alignment reference object or any other arbitrary position of the alignment reference object, which is not limited herein.
[0124] It should be noted that when the number of target positions is one, in response to a trigger instruction for the second interaction control, when the target machining graphic element is within the adsorption distance from a target position of the alignment reference object, controlling the target machining graphic element to move to the target position of the alignment reference object is to avoid moving to other moving objects except the alignment reference object, so as to achieve precise positioning and improve the reliability of automatic adsorption. To avoid limiting the embodiments of the present application, in some other alternative embodiments of the present application, it can also be that, in response to a trigger instruction for the second interaction control, when the number of target positions is one, the target machining graphic element automatically moves to the target position without determining whether the target machining graphic element is within the adsorption distance from a target position of the alignment reference object, so as to control the target machining graphic element to move to the target position of the alignment reference object; specifically, it can be set according to the actual situation, which is not limited herein.
[0125] Alternatively, in response to a trigger instruction for the second interaction control, when the target machining graphic element is within the adsorption distance from multiple target positions of the alignment reference object, control the target machining graphic element to move to the target position that is closest to the target machining graphic element.
[0126] It can be understood that when the number of target positions is multiple, the multiple target positions can specifically be the center of the alignment reference object or any other arbitrary position of the alignment reference object. In response to a trigger instruction for the second interaction control, when the distance between the multiple target positions and the target machining graphic element is less than or equal to the adsorption distance, determine the target position that is closest to the target machining graphic element among the multiple target positions as the target position where the target machining graphic element is required to be aligned, and control the target machining graphic element to move to the target position that is closest to the target machining graphic element, implementing an automatic adsorption operation to control the target machining graphic element to automatically move to the closest target position, so as to achieve precise positioning and improve the reliability of automatic adsorption.
[0127] Before the step of, in response to the second operation instruction in step S200, after determining the target position of the alignment reference object, controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position, in order to achieve the moving adsorption or automatic adsorption of the target machining graphic element and help the user determine the target position and the distance between the target machining graphic element and the target position, the following steps are further included:
[0128] In response to the movement trigger instruction for the target machining graphic element, when the target machining graphic element is within the adsorption distance from one or more target positions, highlight the target positions.
[0129] When the target machining graphic element is within the adsorption distance from one or more target positions, that is, when the distance between the target machining graphic elements is less than or equal to the adsorption distance, highlight the target positions. Taking the alignment reference object as the machining head position, candidate position, etc. positioning or reference point as an example, highlight the machining head position, candidate position, etc. positioning or reference point. Taking the alignment reference object as the calibrated machining area as an example, the highlighted target positions include at least one of the identification lines of the calibrated machining area, and the indicated identification lines include a first boundary line extending along the vertical direction of the calibrated machining area, a second boundary line extending along the horizontal direction of the calibrated machining area, the intersection point of the first boundary line and the second boundary line, and the center of the calibrated machining area; when the calibrated machining area has multiple sub-areas, the highlighted target positions may also include the sub-areas and the boundary lines of the sub-areas; in other alternative embodiments of the present application, when the target machining graphic element is within the adsorption distance from one or more target positions, the calibrated machining area and the boundary line of the calibrated machining area may also be highlighted, etc.; it can be specifically set according to the actual situation and is not limited here.
[0130] Refer to Figure 4 , in some other optional embodiments of the present application, in response to the second operation instruction, including responding to the trigger instruction for the intelligent adsorption switch, operation button, etc. displayed on the canvas, set position, operation bar, etc. of the display interface to achieve the automatic movement alignment operation of the target machining graphic element. The step of, in response to the second operation instruction in step S200, after determining the target position of the alignment reference object, controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position specifically includes:
[0131] Step S201, in response to the second operation instruction, determine the target position required to be aligned on the alignment reference object.
[0132] Specifically, operation controls such as intelligent adsorption switches and operation buttons are provided at positions such as the canvas, setting positions, and operation bars on the display interface. Step S201 is mainly used to respond to a second operation instruction for such operation parts of operation controls, so as to specify the target position where the target machining graphic element is required to be aligned and set.
[0133] Step S202, control the target machining graphic element to move to the target position on the alignment reference object where it is required to be aligned and set, so that the target machining graphic element is aligned with the target position.
[0134] It is used to specify any moving object on the display interface, such as the canvas, calibration machining area, surface machining area, auxiliary line, machining head position, etc. as the alignment reference object, and move the target machining graphic element to achieve the alignment of the target machining graphic element with the alignment reference object at any position.
[0135] Refer to Figure 5 , as an example, when the moving object is a calibration machining area, a surface machining area, an auxiliary line, etc. that can have one or more alignment positions, and the target machining graphic element is aligned and set with one of the multiple alignment positions in the machining area, the second operation instruction includes a first sub-operation instruction and a second sub-operation instruction. Step S200, determining the alignment reference object, and after determining the target position of the alignment reference object in response to the second operation instruction, controlling the target machining graphic element to move to the target position of the alignment reference object so that the target machining graphic element is aligned with the target position specifically includes:
[0136] Step S211, display multiple moving object options, and determine the moving object determined from the multiple moving object options as the alignment reference object; wherein, each moving object option corresponds to a moving object displayed on the display interface, and the moving objects include the canvas, calibration machining area, surface machining area, auxiliary line.
[0137] Specifically, the display interface displays a moving object interaction control. In response to a trigger instruction for the moving object interaction control, multiple moving object options such as "canvas", "calibration machining area", "surface machining area", "auxiliary line", etc. are displayed in the form of a menu, list, etc., and the selected moving object among the multiple moving object options is determined according to the trigger instruction, and the selected moving object is determined as the alignment reference object. It should be noted that according to the actual situation, other moving objects suitable for actual machining can also be used as the alignment reference object, which will not be elaborated here one by one.
[0138] Step S212, in response to the first sub-operation instruction, display at least one position option corresponding to the alignment reference object; wherein, each position option corresponds to a candidate alignment position on the alignment reference object.
[0139] Specifically, a plurality of moving objects are displayed through an expanded primary menu, and the selected moving object is determined as an alignment reference object according to a trigger instruction for an interaction control of the moving object. At least one position option corresponding to a candidate alignment position of the alignment reference object is displayed through an expanded secondary menu.
[0140] Step S213: In response to a second sub-operation instruction for the position option, the candidate alignment position determined from the plurality of position options is used as the target position required to be aligned on the alignment reference object.
[0141] Specifically, the alignment reference object is provided with at least one candidate alignment position, which can be set by the user himself when creating the moving object; or automatically set by the host computer according to the size, coordinate position, etc. of the moving object when downloading or creating the moving object; or set by the user or the host computer according to the corresponding relationship between the target processing graphic element and the alignment reference object in terms of position, size, etc. Specifically, the candidate alignment position of the alignment reference object and other alignment positions can be set according to the actual situation, and are not limited herein. When the expanded secondary menu displays one candidate alignment position corresponding to the alignment reference object, in response to the trigger instruction for the candidate alignment position, the candidate alignment position is determined as the target position required to be aligned on the alignment reference object; when the expanded secondary menu displays a plurality of candidate alignment positions corresponding to the alignment reference object, in response to the trigger instruction for any one of the plurality of candidate alignment positions, the selected candidate alignment position is determined as the target position required to be aligned on the alignment reference object.
[0142] Step S214: Control the target processing graphic element to move to the target position required to be aligned on the alignment reference object, so that the target processing graphic element is aligned with the target position. This is used to achieve the alignment of the target processing graphic element with any target position on the alignment reference object.
[0143] Taking the direct control of the target processing graphic element to move to the target position according to a trigger instruction such as a received click operation as an example, in response to a second sub-operation instruction such as a click trigger for the position option, it is used to determine the selected candidate alignment position according to the second sub-operation instruction, and after determining the selected candidate alignment position as the target position required to be aligned on the alignment reference object, directly control the target processing graphic element to move to the target position required to be aligned on the alignment reference object, so that the target processing graphic element is aligned with the target position; or, determine the selected candidate alignment position as the target position required to be aligned on the alignment reference object according to the second sub-operation instruction, and control the target processing graphic element to move to the target position required to be aligned on the alignment reference object after receiving the determination instruction, so that the target processing graphic element is aligned with the target position.
[0144] Refer to Figure 6, as another example, when the moving object is for processing header positioning such as laser header positioning or other header positioning, and the moving object itself is used as the calibration point or reference point of the target position, the second operation instruction includes a third sub-operation instruction. After step S200, determining the alignment reference object, and in response to the second operation instruction, after determining the target position of the alignment reference object, the steps of controlling the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position specifically include:
[0145] Step S221, displaying multiple moving object options, and determining the moving object determined from the multiple moving object options as the alignment reference object; wherein, each moving object option corresponds to a moving object displayed on the display interface, and the moving objects include processing header positioning and candidate calibration points.
[0146] Specifically, the display interface displays a moving object interaction control. In response to the trigger instruction for the moving object interaction control, multiple moving object options such as "laser header positioning" and other processing header positionings and other candidate calibration points are displayed in the form of a menu, list, etc. The selected moving object among the multiple moving object options is determined according to the trigger instruction, and the selected moving object is determined as the alignment reference object. It should be noted that according to the actual situation, other moving objects suitable for actual processing can also be used as the alignment reference object, and the processing header positioning such as laser header positioning, etc., which uses the moving object itself as the calibration point or reference point of the target position, can be combined with the moving objects having one or more alignment positions such as the calibrated processing area in the previous embodiment in the same menu or list, and can be specifically set according to the actual situation, which will not be elaborated here one by one.
[0147] Step S222, in response to the third sub-operation instruction, using the alignment reference object as the target position, controlling the target processing graphic element to move to the target position so that the target processing graphic element is aligned with the target position.
[0148] Specifically, the processing header positioning, candidate calibration points, etc. displayed through the expanded first-level menu are used as moving objects. Any determined moving object is used as the alignment reference object, and this alignment reference object is determined as the target position. The target processing graphic element is directly controlled to move to the position where this alignment reference object is located so that the target processing graphic element is aligned with the selected alignment reference object such as the processing header positioning; or, any determined moving object is used as the alignment reference object, and this alignment reference object is determined as the target position. After receiving the confirmation instruction, the target processing graphic element is controlled to move to the position where this alignment reference object is located so that the target processing graphic element is aligned with the selected alignment reference object such as the processing header positioning.
[0149] Further, the target position in the foregoing embodiments may be represented by a reference object such as a reference point or a reference line on a moving object provided on the display interface; or it may also be a nine-grid, twelve-grid, sixteen-grid, twenty-grid, etc. with multiple sub-regions divided on a moving object such as a calibrated processing area. The target position is designated as one of the multiple sub-regions such as grids, or the target position is designated as the corresponding boundary point position on the multiple sub-regions such as grids. If the target position is a reference object such as a reference point or a reference line, when the distance between the target position and the target processing graphic element is less than or equal to the adsorption distance, the target position is highlighted; if the target position is a sub-region such as a grid, when the distance between the target position and the target processing graphic element is less than or equal to the adsorption distance, the identification line of the sub-region or the corresponding boundary point position is highlighted. The identification line of the sub-region includes at least one of a first boundary line extending in the vertical direction of the sub-region, a second boundary line extending in the horizontal direction of the sub-region, the intersection point of the first boundary line and the second boundary line, and the center of the sub-region.
[0150] As a specific embodiment, a plurality of target positions are provided in the calibrated processing area. The plurality of target positions include positions corresponding to nine boundary point positions such as the center of the calibrated processing area, the upper left corner of the calibrated processing area, the lower left corner of the calibrated processing area, the upper right corner of the calibrated processing area, the lower right corner of the calibrated processing area, the middle on the left side of the calibrated processing area, the middle on the right side of the calibrated processing area, the middle on the top of the calibrated processing area, and the middle on the bottom of the calibrated processing area. Specifically, a point P(x, y) on the target processing graphic element can be designated as the alignment anchor point to obtain the distances between P(x, y) and the multiple target positions in the calibrated processing area during the adsorption process, so as to determine the distances between the target processing graphic element and the multiple target positions of the alignment reference object, and obtain a plurality of first distances, which are used to control the target processing graphic element to move to the target position closest to the target processing graphic element when realizing drag-and-drop movement adsorption and automatic adsorption.
[0151] Optionally, the target position may be represented by a reference object such as a reference point or a reference line on a moving object provided on the display interface; or it may also be a nine-grid, twelve-grid, sixteen-grid, twenty-grid, etc. with multiple sub-regions divided on a moving object such as a calibrated processing area. The target position is designated as one of the multiple sub-regions such as grids, or the target position is designated as the corresponding boundary point position on the multiple sub-regions such as grids.
[0152] Refer to Figure 7, as another example, taking the alignment reference object such as a calibrated processing area that can be divided into multiple sub-areas as an example, the display interface displays a first interaction control, the second operation instruction includes a fourth sub-operation instruction and a fifth sub-operation instruction. After determining the target position of the alignment reference object in response to the second operation instruction in step S200, the step of controlling the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position specifically includes:
[0153] Step S231, in response to the fourth sub-operation instruction for the first interaction control, display a plurality of position options on the display interface, and each position option corresponds to a sub-area on the alignment reference object.
[0154] Display a plurality of position options corresponding to the multiple sub-areas of the alignment reference object on the display interface. The multiple position options are displayed in the form of a menu, a list, an interactive button, etc., to determine the selected sub-area from the multiple position options as the target position.
[0155] Step S232, in response to the fifth sub-operation instruction for the position option, take the sub-area determined from the multiple position options as the target position, and control the target processing graphic element to move to the target position so that the target processing graphic element is aligned with the target position.
[0156] Specifically, the alignment reference object is provided with at least one sub-area. This sub-area as a candidate alignment position can be set by the user himself when creating a moving object; or automatically set by the host computer according to the size, coordinate position, etc. of the moving object when downloading or creating a moving object; or, set by the user or the host computer according to the corresponding relationship between the target processing graphic element and the position and size of the alignment reference object, etc. Specifically, the candidate alignment position and other alignment positions of the alignment reference object can be set according to the actual situation, which is not limited here.
[0157] Taking the sub-area determined according to the fifth sub-operation instruction as the selected sub-area, when controlling the target processing graphic element to move to the selected sub-area, by controlling the target processing graphic element to be aligned and superimposed with the selected sub-area, the alignment setting of the target processing graphic element with the target position is realized, and the positioning accuracy is optimized.
[0158] Optionally, taking the calibrated processing area as the alignment reference object and the sub-area as the divided grid as an example for illustration, specifically, an alignment anchor point can be set on the target graphic element to control the alignment and superimposition of the alignment anchor point with the center, bending angle, corresponding boundary points, etc. of the selected sub-area when controlling the target processing graphic element to move to the corresponding sub-area, so as to realize the alignment setting of the target processing graphic element with the target position.
[0159] Refer to Figure 8 , in an embodiment, the area element layout method further includes:
[0160] Step S310: In response to the first operation instruction, create a machining graphic element and an alignment reference on the display interface.
[0161] Optionally, in response to the first operation instruction, creating a machining graphic element can be specifically achieved by providing an element library including various machining graphic elements, and in response to the first operation instruction, used to create and display on the display interface the machining graphic element selected or set from the element library. In response to the first operation instruction, creating an alignment reference can be specifically achieved by providing a material library including various moving objects, and in response to the first operation instruction, used to create and display on the display interface the moving object selected or set from the material library as the alignment reference; or, based on the actual machining area calibrated by the machining head, create an alignment reference by generating a calibrated machining area corresponding to the actual machining area on the canvas of the display interface.
[0162] Step S320: Establish a plurality of target positions on the alignment reference according to the position parameters of the alignment reference, and establish a plurality of alignment anchor points on the machining graphic element, so that the positions of the plurality of alignment anchor points on the machining graphic element correspond to the positions of the plurality of target positions on the alignment reference.
[0163] The execution order of the above steps can be carried out sequentially or without considering the order, that is, a plurality of target positions can be established on the alignment reference while creating the machining graphic element and the alignment reference, and a plurality of alignment anchor points can be established on the machining graphic element; or, after creating the machining graphic element and the alignment reference, a plurality of target positions can be established on the alignment reference, and a plurality of alignment anchor points can be established on the machining graphic element. Among them, the position parameters of the alignment reference and the plurality of alignment positions such as the plurality of target positions established on the alignment reference according to the position parameters can be preset or set or updated according to the received setting instructions during the machining process.
[0164] When the alignment reference shown is the calibrated processing area, obtain the actual processing area calibrated by the laser head. After generating the calibrated processing area corresponding to the actual processing area on the display interface, according to the position parameters such as the position coordinates of each point in the obtained actual processing area, establish multiple target positions on the alignment reference. The multiple target positions include the positions corresponding to nine boundary points such as the center of the calibrated processing area, the upper left corner of the calibrated processing area, the lower left corner of the calibrated processing area, the upper right corner of the calibrated processing area, the lower right corner of the calibrated processing area, the middle on the left side of the calibrated processing area, the middle on the right side of the calibrated processing area, the middle at the top of the calibrated processing area, and the middle at the bottom of the calibrated processing area, so as to divide nine sub-areas in the shape of a nine-square grid in the calibrated processing area. The graphic parameters of the target processing graphic element and multiple alignment anchor points determined according to the graphic parameters on the target processing graphic element can be preset or set or updated according to the received setting instructions during the processing. The positions of the multiple alignment anchor points on the target processing graphic element correspond to the positions of the multiple target positions on the alignment reference. In this way, control the target processing graphic element on the display interface to move to the target position in the calibrated processing area. Specifically, when specifying the upper left corner of the calibrated processing area as the target position, control the upper left corner of the target processing graphic element to align and overlap with the upper left corner of the calibrated processing area; when specifying the middle on the right side of the calibrated processing area as the target position, control the middle on the right side of the target processing graphic element to align and overlap with the middle on the right side of the calibrated processing area. Specifically, it can be set according to the actual situation and will not be elaborated one by one here.
[0165] It should be noted that the canvas displayed on the display interface corresponds to the calibration range of the processing head such as the laser head, and the calibrated processing area corresponds to the actual processing area. During the actual processing process, it is inevitable that there will be situations where it is necessary to layout the target processing graphic element outside the actual processing area calibrated by the laser head, and there are multiple target positions generated in the calibrated processing area by a moving object located outside the calibrated processing area. Therefore, when determining the target position, it is also necessary to consider other alignment references located outside the actual processing area.
[0166] The area element layout method shown in the embodiments of the present application can not only manually drag the target processing graphic element to make the target processing graphic element move and adsorb to the target position, but also be compatible with intelligent adsorption switches, operation buttons and other operation parts to select the moving object and / or the target position. The step of, in step S200, after determining the target position of the alignment reference in response to the second operation instruction, controlling the target processing graphic element to move to the target position of the alignment reference so that the target processing graphic element is aligned with the target position includes:
[0167] In response to the second operation instruction, determine the corresponding alignment anchor point on the target processing graphic element according to the target position determined by the second operation instruction, and control the target processing graphic element to move so that the corresponding alignment anchor point on the target processing graphic element is aligned and overlapped with the determined target position.
[0168] By specifying the target position set on the alignment reference object, the target machining graphic element is automatically moved to the alignment reference object and aligned and stacked with the selected target position set on the alignment reference object. When multiple target machining graphic elements are displayed on the display interface, specifically, multiple target machining graphic elements can be successively specified, and after each specification, by selecting the corresponding target position, the multiple target machining graphic elements are controlled to move to the corresponding target positions; alternatively, after specifying multiple target machining graphic elements, the multiple target machining graphic elements are controlled to move to the target positions corresponding to the calibrated machining area simultaneously.
[0169] Taking the machining area, auxiliary line, etc. with one or more alignment positions such as the alignment reference object as the calibrated machining area as an example, the area element layout method shown in the embodiments of the present application can be specifically implemented by the following implementation manners:
[0170] As one of the embodiments, according to the received movement trigger instruction for the target machining graphic element, the drag and move adsorption is realized. Specifically:
[0171] When there is one target position within the adsorption distance between the target machining graphic element and the alignment reference object, in response to the movement trigger instruction for the target machining graphic element, when within the adsorption distance between the target machining graphic element and a target position of the alignment reference object, the target machining graphic element is controlled to move to the target position of the alignment reference object;
[0172] When there are multiple target positions within the adsorption distance between the target machining graphic element and the alignment reference object, in response to the movement trigger instruction for the target machining graphic element, when within the adsorption distance between the target machining graphic element and the multiple target positions of the alignment reference object, the target machining graphic element is controlled to move to the target position closest to the target machining graphic element to realize the movement adsorption alignment operation.
[0173] As the second embodiment, intelligent adsorption switches, operation buttons, etc. are provided as operation controls at positions such as the canvas, setting position, operation bar, etc. of the display interface. According to the received trigger instruction for the second interaction control such as the adsorption switch, the movement of the target machining graphic element is controlled to realize automatic adsorption. Specifically:
[0174] In response to the triggering of the second interaction control, when the target machining graphic element is within the adsorption distance from a target position of the alignment reference object, control the target machining graphic element to move to the target position of the alignment reference object to achieve an automatic adsorption alignment operation; or, according to the received triggering of the second interaction control, when the target machining graphic element is within the adsorption distance from multiple target positions of the alignment reference object, control the target machining graphic element to move to the target position that is closest to the target machining graphic element to achieve an automatic adsorption alignment operation.
[0175] Referring to Figure 11 , as the third embodiment, the display interface displays a moving object interaction control. In response to a triggering instruction for the moving object interaction control, display multiple moving object options such as "canvas", "calibration machining area", "surface machining area", "auxiliary line", etc. in the form of a menu, list, etc., and use the moving object determined from the multiple moving object options as the alignment reference object. Specifically:
[0176] In response to the first sub-operation instruction, display multiple moving object options through an expanded first-level menu, and determine the selected moving object according to a triggering instruction for one of the multiple moving object options, and determine the selected moving object as the alignment reference object, and display at least one position option corresponding to the candidate alignment position of the alignment reference object through an expanded second-level menu;
[0177] In response to the second sub-operation instruction for the position option, specifically, in response to a triggering instruction for any one of the selected candidate alignment positions among the multiple candidate alignment positions, to determine the selected candidate alignment position, determine the target position required for alignment setting on the alignment reference object with the selected candidate alignment position, and control the target machining graphic element to move to the target position required for alignment setting on the alignment reference object to achieve an automatic moving alignment operation for the target machining graphic element.
[0178] Referring to Figure 10 , as the fourth embodiment, taking an alignment reference object such as a calibration machining area that can be divided into multiple sub-regions as an example, the display interface displays multiple position options corresponding to the sub-regions of the alignment reference object. According to a triggering instruction for one of the multiple position options of the first interaction control, control the movement of the target machining graphic element to achieve automatic moving adsorption. Specifically:
[0179] In response to the fourth sub-operation instruction for the first interaction control, display multiple position options corresponding to the multiple sub-regions of the alignment reference object on the display interface;
[0180] In response to the fifth sub-operation instruction for the position option, according to the trigger instruction for one of the multiple position options, determine the selected sub-region, and determine the selected sub-region as the target position, and control the target processing graphic element to move to the selected sub-region to achieve the automatic movement alignment operation of the target processing graphic element.
[0181] For the specific implementation manners of the above embodiments, refer to the relevant content of the foregoing examples, so details are not described herein.
[0182] Taking the processing head positioning such as laser head positioning or other positioning, etc., and the positioning or reference point with the alignment reference object itself as the target position as an example, the region element layout method shown in the embodiments of the present application can be specifically implemented by the following implementation manners:
[0183] As one of the embodiments: According to the received movement trigger instruction for the target processing graphic element, etc., realize the drag and move adsorption. Specifically:
[0184] In response to the movement trigger instruction for the target processing graphic element, taking the processing head positioning as the target position, when the target processing graphic element and the processing head positioning are within the adsorption distance, control the target processing graphic element to move to the processing head positioning to achieve the movement adsorption alignment operation.
[0185] Refer to Figure 11 , as the second embodiment: The display interface displays a moving object interaction control. In response to the trigger instruction for the moving object interaction control, display multiple moving object options such as "laser head positioning" and other candidate calibration points in the form of a menu, list, etc., and determine the selected moving object from the multiple moving object options as the alignment reference object. Specifically:
[0186] In response to the third sub-operation instruction, use the processing head positioning, candidate calibration points, etc. displayed through the expanded first-level menu as the moving objects, determine any selected moving object as the alignment reference object according to the third sub-operation instruction, and determine the alignment reference object as the target position, and directly control the target processing graphic element to move to the position where the alignment reference object is located to achieve the automatic movement alignment operation of the target processing graphic element.
[0187] For the specific implementation manners of the above embodiments, refer to the relevant content of the foregoing examples, so details are not described herein.
[0188] Refer to Figures 9 to 13 , the embodiments of the present application also provide a region element layout device, and the region element layout device includes a display module, a receiving module, and a generating module.
[0189] The display module has a display interface; the display module can specifically be a display or other display device; the receiving module can be, but is not limited to, devices such as a mouse, an input keyboard, a communication interface, etc. for receiving operation instructions, and the operation instructions at least include a first operation instruction and a second operation instruction; the generating module is configured to have a data processing function and is used to execute the regional element layout method of the above embodiments according to the operation instructions.
[0190] Further, after completing the layout of all target processing graphic elements, the generating module is further used to determine the positions of the target processing graphic elements on the alignment reference object and generate a regional element layout plan. The generated regional element layout plan can be, but is not limited to, a processing file in gcode format or any other format.
[0191] In one embodiment, at least one of a first operation part and a second operation part is displayed on the display interface, where: the first operation part includes a first interaction control, the first interaction control has multiple position options, and each position option corresponds to a sub-region on the alignment reference object; the second operation part includes a moving object interaction control, which is used to display multiple moving objects through an expanded first-level menu, determine the selected moving object according to the operation instructions, and determine the selected moving object as the alignment reference object. When the selected alignment reference object is a processing region such as a calibrated processing region or an auxiliary line that has one or more alignment positions, at least one position option corresponding to the candidate alignment position of the alignment reference object is displayed through an expanded second-level menu; when the selected alignment reference object is a processing head positioning such as a laser head positioning or other positioning or a reference point, the selected alignment reference object is used as the target position.
[0192] The first operation part can specifically be set as a control button, an intelligent adsorption switch, etc., or it can also be manifested as a nine-square grid or other multiple sub-regions divided by alignment reference objects such as a calibrated processing region displayed through the device sidebar to specify the sub-region to be used as the target position. The second operation part can specifically be set as the top bar of the display interface. The first operation part and the second operation part can also be used to gray out the functions when no object is selected. Taking the first operation part as an example, the first operation part displays multiple sub-regions such as grids, and specifically, it can be manifested as keeping the displayed multiple sub-regions such as grids in gray scale when no corresponding operation instruction is received. The first operation part and the second operation part can be specifically set according to the actual situation, and are not limited here.
[0193] Since this regional element layout device can be used to implement the above regional element layout method, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, so they will not be elaborated here one by one.
[0194] The present application also provides a computer numerical control machine, which may be, but is not limited to, a laser cutting device, a laser engraving device, or a knife cutting processing device. The computer numerical control machine includes a slide rail, a processing head, a communication component, and a controller. Among them, the processing head is used to move and process the surface of the processing material by emitting a processing light spot. The processing head may be, but is not limited to, a laser head, a knife cutting head, a cutting head, a pen head, or a drill bit. The processing head is slidably arranged on the slide rail, and the slide rail is used to drive the processing head to reciprocate in the X direction and / or the Y direction. The communication component is used to receive a signal, which is a signal for aligning the position of the target processing graphic element with the alignment reference object obtained according to the steps of the regional element layout method in the above embodiments; based on the signal, the controller controls the movement of the processing head on the slide rail to process the surface of the processing material.
[0195] The computer numerical control machine is connected to a host computer, and the host computer is used to provide a display interface and control the computer numerical control machine to process the surface of the processing material; alternatively, the signal for aligning the position of the target processing graphic element with the alignment reference object obtained according to the steps of the foregoing regional element layout method is transmitted to the control of the numerical control machine through the communication component of the numerical control machine to achieve the processing of the surface of the processing material.
[0196] Specifically, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above functions defined in the method of the embodiments disclosed in the present application are executed.
[0197] The regional element layout device provided by the present application adopts the regional element layout method in the above embodiments, and can solve the problems that in the existing element layout scheme, the target processing graphic element cannot be accurately moved to the target position where the target processing graphic element is required to be aligned, the adjustment of the setting position of the target processing graphic element is inconvenient, and the layout efficiency is low. Compared with the prior art, the beneficial effects of the regional element layout device provided by the present application are the same as those of the regional element layout method provided by the above embodiments, and other technical features in the regional element layout device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.
[0198] It should be understood that the various parts disclosed in the present application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.
[0199] The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
[0200] The control and cooperation of the above-mentioned parts can be provided by software instructions that can be stored in a non-transitory computer-readable medium. When the instructions are executed on one or more programmed processors, the above-mentioned method operations are executed and functionality is generated. The program operations and processing for implementing the specific embodiments in the above-mentioned embodiments, as well as the associated data, can be implemented using a disk storage device and other forms of storage devices, which include but are not limited to non-transitory storage media (where non-transitory is only intended to exclude propagated signals, not transient signals, because they will be erased by removing power or an explicit erasure action), such as, for example, read-only memory (ROM) devices, random access memory (RAM) devices, network storage devices, optical storage elements, magnetic storage elements, magneto-optical storage elements, flash memory, core memory, and / or other equivalent volatile and non-volatile storage technologies.
[0201] In addition, to achieve the above object, the present application provides a computer-readable storage medium, on which a calibration program is stored. When the calibration program is executed by a processor, the area element layout method in the above-mentioned embodiments is implemented.
[0202] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, device, or component. The program code contained on the computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0203] The above computer-readable storage medium can be included in the area element layout device; or it can exist separately and not be assembled into the area element layout device.
[0204] The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by the area element layout device, the area element layout device is caused to: determine a target processing graphic element on the display interface according to a received first operation instruction; determine an alignment reference object, and after determining the target position of the alignment reference object in response to a second operation instruction, control the target processing graphic element to move to the target position of the alignment reference object so that the target processing graphic element is aligned with the target position; where the second operation instruction is used to specify the target position where the target processing graphic element is required to be aligned.
[0205] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).
[0206] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0207] The modules described in the embodiments of this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation on the unit itself in some cases.
[0208] The readable storage medium provided by this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned regional element layout method, and can solve the problems that in the layout process of the existing element layout scheme, the target processing graphic element cannot be accurately moved to the target position where the target processing graphic element is required to be aligned, the setting position of the target processing graphic element is inconvenient to adjust, and the layout efficiency is low. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by this application are the same as those of the regional element layout method provided by the above embodiment, and will not be elaborated here.
[0209] An embodiment of this application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the steps of the above regional element layout method.
[0210] The computer program product provided by this application can solve the problems that in the layout process of the existing element layout scheme, the target processing graphic element cannot be accurately moved to the target position where the target processing graphic element is required to be aligned, the setting position of the target processing graphic element is inconvenient to adjust, and the layout efficiency is low. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of this application are the same as those of the regional element layout method provided by the above embodiment, and will not be elaborated here.
[0211] The above are only optional embodiments of the present invention, and do not limit the patent scope of the present invention accordingly. Any equivalent structural transformation made by using the content of the specification and drawings of the present invention under the inventive concept of the present invention, or direct / indirect application in other related technical fields, is included in the patent protection scope of the present invention.
Claims
1. A method for regional element layout, characterized in that: The following steps are involved: Determining a target processing graphic element on a display interface according to the received first operation instruction; Determine an alignment reference, and in response to a second operation instruction, after determining a target position of the alignment reference, control the target processing graphic element to move to the target position of the alignment reference so that the target processing graphic element is aligned with the target position; wherein the second operation instruction is used to specify the target position to which the target processing graphic element is required to be aligned.
2. The method for regional element layout according to claim 1, characterized in that: The step of controlling the target processed graphic element to move to the target position of the alignment reference object in response to the second operation instruction so that the target processed graphic element is aligned with the target position after determining the target position of the alignment reference object, specifically comprises: In response to the second operation instruction, determining a target position on the alignment reference object that is required to be aligned and set; The target processing graphic element is controlled to move to the target position on the alignment reference object that is required to be aligned and set, so that the target processing graphic element is aligned with the target position.
3. The method for regional element layout according to claim 2, characterized in that: The second operation instruction includes a first sub-operation instruction and a second sub-operation instruction. The steps of determining the alignment reference object and, in response to the second operation instruction, determining the target position of the alignment reference object, controlling the target processed graphic element to move to the target position of the alignment reference object so that the target processed graphic element is aligned with the target position specifically include: Displaying multiple moving object options, and using a moving object determined from the multiple moving object options as an alignment reference; wherein each of the moving object options corresponds to a moving object displayed on the display interface, and the moving objects include a canvas, a calibrated processing area, a curved surface processing area, and auxiliary lines; In response to the first sub-operation instruction, display at least one position option corresponding to the alignment reference; wherein each position option corresponds to a candidate alignment position on the alignment reference; In response to a second sub-operation instruction on the position option, the candidate alignment position determined from the plurality of position options is used as the target position required to be aligned and set on the alignment reference object; The target processing graphic element is controlled to move to a target position on the alignment reference object that is required to be aligned and set, so that the target processing graphic element is aligned with the target position.
4. The method for regional element layout according to claim 2, characterized in that: The second operation instruction includes a third sub-operation instruction, and the steps of determining the alignment reference object, and controlling the target processed graphic element to move to the target position of the alignment reference object in response to the second operation instruction so that the target processed graphic element is aligned with the target position specifically include: Display multiple moving object options, and use a moving object determined from the multiple moving object options as an alignment reference; wherein each of the moving object options corresponds to a moving object displayed on the display interface, and the moving object includes a machining head mark location and candidate calibration points; In response to the third sub-operation instruction, the target processing graphic element is controlled to move to the target position with the alignment reference as the target position, so that the target processing graphic element is aligned with the target position.
5. The method for regional element layout according to claim 1, characterized in that: The display interface displays a first interactive control, the second operation instruction includes a fourth sub-operation instruction and a fifth sub-operation instruction, and the step of controlling the target processing graphic element to move to the target position of the alignment reference object after determining the target position of the alignment reference object in response to the second operation instruction so that the target processing graphic element is aligned with the target position specifically includes: In response to a fourth sub-operation instruction on the first interactive control, a plurality of position options are displayed on the display interface, each position option corresponding to a sub-region on the alignment reference object; In response to the fifth sub-operation instruction for the position option, the sub-region determined from the plurality of position options is used as the target position, and the target processing graphic element is controlled to move to the target position so that the target processing graphic element is aligned with the target position.
6. The method for regional element layout according to claim 1, characterized in that: The regional element layout method also includes: In response to the first operation instruction, creating a processing graphic element and an alignment reference on the display interface; A plurality of target positions are established on the alignment reference object according to the position parameters of the alignment reference object, and a plurality of alignment anchor points are established on the processed graphic element, so that the positions of the plurality of alignment anchor points on the processed graphic element correspond to the positions of the plurality of target positions on the alignment reference object.
7. The method for regional element layout according to claim 6, characterized in that: The step of controlling the target processed graphic element to move to the target position of the alignment reference object in response to the second operation instruction so that the target processed graphic element is aligned with the target position after determining the target position of the alignment reference object, comprises: In response to the second operation instruction, the corresponding alignment anchor point on the target processing graphic element is determined according to the target position determined by the second operation instruction, and the target processing graphic element is controlled to move so that the corresponding alignment anchor point on the target processing graphic element is aligned and overlapped with the determined target position.
8. The method for regional element layout according to claim 1, characterized in that: The display interface displays a second interactive control, the second operation instruction includes a trigger instruction for the second interactive control, and the step of controlling the target processing graphic element to move to the target position of the alignment reference object after determining the target position of the alignment reference object in response to the second operation instruction specifically includes: In response to a trigger instruction for the second interactive control, when the target processing graphic element is within an adsorption distance from a target position of the alignment reference object, controlling the target processing graphic element to move to the target position of the alignment reference object; Alternatively, in response to a trigger instruction to the second interactive control, when the target processing graphic element is within the adsorption distance from multiple target positions of the alignment reference object, the target processing graphic element is controlled to move to the target position closest to the target processing graphic element.
9. The method for regional element layout according to claim 1, characterized in that: The second operation instruction includes a movement trigger instruction, and the steps of determining the alignment reference object and, in response to the second operation instruction, determining the target position of the alignment reference object, and controlling the target processing graphic element to move to the target position of the alignment reference object specifically include: Acquire the actual position of the machining head, generate a machining head mark position corresponding to the actual position of the machining head on the display interface, and use the machining head mark position as an alignment reference; In response to a movement trigger instruction for a target processing graphic element, the processing head mark is used as the target position, and when the target processing graphic element is within an adsorption distance from the processing head mark, the target processing graphic element is controlled to move to the processing head mark.
10. The method for regional element layout according to claim 1, characterized in that: The second operation instruction includes a movement trigger instruction, and the step of controlling the target processing graphic element to move to the target position of the alignment reference object after determining the target position of the alignment reference object in response to the second operation instruction specifically includes: In response to a movement trigger instruction for a target processing graphic element, when the target processing graphic element is within an adsorption distance from a target position of an alignment reference, the target processing graphic element is controlled to move to the target position of the alignment reference; or, when the target processing graphic element is within an adsorption distance from multiple target positions of the alignment reference, the target processing graphic element is controlled to move to the target position closest to the target processing graphic element.
11. The method for regional element layout according to any one of claims 8 to 10, characterized in that: Before executing the step of determining the target position of the alignment reference object in response to the second operation instruction and controlling the target processed graphic element to move to the target position of the alignment reference object so that the target processed graphic element is aligned with the target position, the step further includes: In response to a movement trigger instruction for a target processing graphic element, when the target processing graphic element is within an adsorption distance from one or more target positions, the target positions are highlighted.
12. The method for regional element layout according to claim 1, characterized in that: The alignment reference includes at least one of the following: Canvas, calibrated processing area, surface processing area, auxiliary lines.
13. The method for regional element layout according to claim 12, characterized in that: When the alignment reference object is a calibration processing area, the step of determining the alignment reference object includes: Based on the actual processing area calibrated by the processing head, a calibrated processing area corresponding to the actual processing area is generated on the canvas of the display interface, and the generated calibrated processing area is determined as an alignment reference.
14. The method for regional element layout according to any one of claims 1-10, 12 or 13, characterized in that: After executing the step of controlling the target processed graphic element to move to the target position of the alignment reference object so that the target processed graphic element is aligned with the target position, the following steps are also included: In response to the third operation instruction, the position of the target processing graphic element on the alignment reference object is determined, and a regional element layout plan is generated.
15. A regional element layout device, characterized in that: include: A display module having a display interface; A receiving module, used to receive an operation instruction, wherein the operation instruction includes at least a first operation instruction and a second operation instruction; A generation module is used to execute the regional element layout method according to any one of claims 1 to 14 according to the operation instruction.
16. A computer numerically controlled machine, characterized in that The computer numerically controlled machine comprises: Slide rails; a processing head, the processing head being slidably disposed on the slide rail; A communication component, the communication component is used to receive a signal, the signal being a signal for aligning a target processed graphic element with a position of an alignment reference object obtained by the steps of the regional element layout method according to any one of claims 1 to 14; A controller is used to control the processing head to move on the slide rail to process the surface of the processing material based on the signal.
17. A system, characterized in that: include: at least one data processor; At least one non-transitory computer-readable medium, program instructions stored on the non-transitory computer-readable medium executable by at least one data processor, such that the system is configured to: Determining a target processing graphic element on a display interface according to the received first operation instruction; Determine an alignment reference, and in response to a second operation instruction, after determining a target position of the alignment reference, control the target processing graphic element to move to the target position of the alignment reference so that the target processing graphic element is aligned with the target position; wherein the second operation instruction is used to specify the target position to which the target processing graphic element is required to be aligned.
18. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the regional element layout method according to any one of claims 1 to 14 are implemented.
19. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the regional element layout method according to any one of claims 1 to 14 are implemented.