Method, device, processor and readable storage medium for realizing processing element guide processing in plate rotating and turning processing
By defining the direction and margin of the processing elements, and combining the rotation algorithm and processor execution instructions, the problem of data consistency during the plate rotation and flipping process was solved, achieving rotation processing with unchanged shape information, and optimizing the performance and debugging efficiency of the rotation algorithm.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-08
- Publication Date
- 2026-03-10
AI Technical Summary
Existing door and wall cabinet software suffers from inconsistent processing element information and data inconsistency during panel rotation and flipping processes, making efficient processing difficult.
Define three directions and two edge distances for the machining element, adjust the machining surface, reference surface and direction surface through rotation algorithm to ensure that the relative position of the element on the plate remains unchanged, and use processor and memory to execute computer-executable instructions to realize rotary flipping machining.
It ensures that the shape information of the processed elements remains unchanged, reduces data errors, simplifies the performance of the rotation algorithm, and improves data consistency and debugging efficiency during the development process.
Smart Images

Figure CN121637594A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of numerical control door wall cabinet, especially to the field of wall cabinet equipment machining workpiece, in particular to a method and device for realizing machining element guide processing in plate rotating and flipping processing, a processor and a readable storage medium thereof. BACKGROUND
[0002] Generally, the machining elements of the plate of the door wall equipment are generated by specific software to generate the position, shape, direction and other information of the machining elements, and are saved and recorded as mpr\xml and other different file formats. Due to the characteristics of the door wall cabinet software, the plate needs to be frequently rotated and flipped. In this process, the information of the machining elements needs to be point set converted according to specific rotation rules, so as to generate the machining point set of the machining elements after corresponding rotation and flipping. In the rotation process, the original model data is changed due to point set conversion inversion, and the consistency of the data is lost. In view of the diversity of the types of the machining elements of the door wall cabinet software and the multiple frequencies of the rotation and flipping, a method for conveniently processing this process is designed. SUMMARY
[0003] The purpose of the present application is to overcome the shortcomings of the prior art, and to provide a method and device for realizing machining element guide processing in plate rotating and flipping processing, a processor and a readable storage medium thereof, which are simple to operate, have high consistency and are widely applicable.
[0004] In order to achieve the above purpose, the method and device for realizing machining element guide processing in plate rotating and flipping processing, the processor and the readable storage medium thereof are as follows: The method for realizing machining element guide processing in plate rotating and flipping processing mainly comprises the following steps: (1) defining three directions and two edge margins for each machining element, wherein the three directions include a machining surface, a reference surface and a direction surface, and the two edge margins include a longitudinal edge margin and a transverse edge margin; (2) during the plate rotating or flipping process, direction transformation is performed on the machining surface, the reference surface and the direction surface according to a rotation algorithm; (3) determining the relative position of the machining element on the plate according to the transformed direction surface and the corresponding distance.
[0005] Preferably, the machining surface is the surface where the main body of the machining element is located, corresponding to the tool machining surface; the reference surface is a lateral main surface perpendicular to the machining surface, corresponding to the transverse edge margin; and the direction surface is a lateral auxiliary surface perpendicular to both the machining surface and the reference surface, corresponding to the longitudinal edge margin.
[0006] Preferably, the plate member is composed of six processing surfaces, which are the upper surface, the lower surface, the left surface, the right surface, the front surface and the back surface, corresponding to the Z+, Z-, X-, X+, Y- and Y+ directions in the coordinate system.
[0007] Preferably, the rotation algorithm includes a right rotation of 90 degrees, i.e. X+ is changed to Y-, Y- is changed to X-, X- is changed to Y+, Y+ is changed to X+, and Z+ and Z- remain unchanged.
[0008] Preferably, the rotation algorithm includes a right rotation of 180 degrees, i.e. X+ is changed to X-, Y- is changed to Y+, X- is changed to X+, Y+ is changed to Y-, and Z+ and Z- remain unchanged.
[0009] Preferably, the rotation algorithm includes a right rotation of 270 degrees, i.e. X+ is changed to Y+, Y- is changed to X-, X- is changed to Y-, Y+ is changed to X-, and Z+ and Z- remain unchanged.
[0010] Preferably, the rotation algorithm includes a left-right flipping of the plate member and a flipping of the plate member along the X axis, i.e. Z+ is changed to Z-, Z- is changed to Z+, Y+ is changed to Y-, Y- is changed to Y+, and X+ and X- remain unchanged.
[0011] Preferably, the rotation algorithm includes an up-down flipping of the plate member and a flipping of the plate member along the Y axis, i.e. Z+ is changed to Z-, Z- is changed to Z+, X+ is changed to X-, X- is changed to X+, and Y+ and Y- remain unchanged.
[0012] The device for guiding processing elements in plate member rotation and flipping processing, the main feature of which is that the device comprises: a processor configured to execute computer executable instructions; a memory storing one or more computer executable instructions, which, when executed by the processor, implement the steps of the method for guiding processing elements in plate member rotation and flipping processing.
[0013] The processor for guiding processing elements in plate member rotation and flipping processing, the main feature of which is that the processor is configured to execute computer executable instructions, which, when executed by the processor, implement the steps of the method for guiding processing elements in plate member rotation and flipping processing.
[0014] The computer readable storage medium, the main feature of which is that it stores a computer program, which can be executed by a processor to implement the steps of the method for guiding processing elements in plate member rotation and flipping processing.
[0015] The method, device, processor and readable storage medium for realizing processing element guide processing in plate rotating and turning processing of the application ensure the shape information of the element unchanged, facilitate ensuring data consistency, reducing error transformation caused by data change, facilitating debugging in the development process, greatly optimizing the performance of the rotating algorithm, and simplifying the logical processing of obtaining the processing tool path according to the element information. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 The figure is a plan view of the processing element of the method for realizing processing element guide processing in plate rotating and turning processing of the application.
[0017] Figure 2 The figure is a schematic view of the processing surface, reference surface and direction surface of the plate of the method for realizing processing element guide processing in plate rotating and turning processing of the application.
[0018] Figure 3 The figure is a schematic view of the processing surface, reference surface and direction surface of the plate of the method for realizing processing element guide processing in plate rotating and turning processing of the application. DETAILED DESCRIPTION
[0019] In order to more clearly describe the technical content of the application, the following further describes in combination with specific embodiments.
[0020] The method for realizing processing element guide processing in plate rotating and turning processing of the application comprises the following steps: (1) defining three directions and two margins for each processing element, wherein the three directions comprise a processing surface, a reference surface and a direction surface, and the two margins comprise a longitudinal margin and a transverse margin; (2) in the process of plate rotating or turning, direction transformation is performed on the processing surface, reference surface and direction surface according to a rotating algorithm; (3) determining the relative position of the processing element on the plate according to the transformed direction surface and the corresponding distance.
[0021] As a preferred embodiment of the application, the processing surface is the surface where the main body of the processing element is located, corresponding to the tool processing surface; the reference surface is the lateral main surface perpendicular to the processing surface, corresponding to the transverse margin; and the direction surface is the lateral auxiliary surface perpendicular to the processing surface and the reference surface, corresponding to the longitudinal margin.
[0022] As a preferred embodiment of the application, the plate is composed of six processing surfaces, namely, an upper surface, a lower surface, a left surface, a right surface, a front surface and a rear surface, corresponding to the Z+, Z-, X-, X+, Y- and Y+ directions in the coordinate system.
[0023] As a preferred embodiment of the present application, the rotation algorithm includes a right rotation of 90 degrees, i.e. X+ becomes Y-, Y- becomes X-, X- becomes Y+, Y+ becomes X+, and Z+ and Z- remain unchanged.
[0024] As a preferred embodiment of the present application, the rotation algorithm includes a right rotation of 180 degrees, i.e. X+ becomes X-, Y- becomes Y+, X- becomes X+, Y+ becomes Y-, and Z+ and Z- remain unchanged.
[0025] As a preferred embodiment of the present application, the rotation algorithm includes a right rotation of 270 degrees, i.e. X+ becomes Y+, Y- becomes X-, X- becomes Y-, Y+ becomes X-, and Z+ and Z- remain unchanged.
[0026] As a preferred embodiment of the present application, the rotation algorithm includes a left-right flipping of the plate and a flipping of the plate along the X axis, i.e. Z+ becomes Z-, Z- becomes Z+, Y+ becomes Y-, Y- becomes Y+, and X+ and X- remain unchanged.
[0027] As a preferred embodiment of the present application, the rotation algorithm includes an up-down flipping of the plate and a flipping of the plate along the Y axis, i.e. Z+ becomes Z-, Z- becomes Z+, X+ becomes X-, X- becomes X+, and Y+ and Y- remain unchanged.
[0028] The device for guiding processing of a plate in a rotation and flipping process according to the present application, wherein the device comprises: a processor configured to execute computer executable instructions; a memory storing one or more computer executable instructions, which, when executed by the processor, implement the steps of the method for guiding processing of a plate in a rotation and flipping process.
[0029] The processor for guiding processing of a plate in a rotation and flipping process according to the present application, wherein the processor is configured to execute computer executable instructions, which, when executed by the processor, implement the steps of the method for guiding processing of a plate in a rotation and flipping process.
[0030] The computer readable storage medium according to the present application, which stores a computer program executable by a processor to implement the steps of the method for guiding processing of a plate in a rotation and flipping process.
[0031] The present application ensures the integrity and consistency of the guide data by modeling the processing elements, separating the position and direction information, changing the position and direction information in the rotation process, and not changing the mathematical model information of the processing elements to realize the correspondence between the model information and the plate rotation.
[0032] Three directions are defined for each machining element, i.e. machining face, reference face and direction face, two edge distances including longitudinal edge distance and transverse edge distance.
[0033] I. Description: The actual machined plate consists of 6 machining faces, i.e. upper, lower, left, right, front and back. The corresponding coordinate system directions are Z+, Z-, X-, X+, Y- and Y+.
[0034] (1) Machining face: the face where the main body of the machining element is located, which mostly corresponds to the machining face of the tool; (2) Reference face: the lateral main face perpendicular to the machining face, which corresponds to the transverse edge distance, and the distance of the element in the transverse direction from the reference face is the transverse edge distance; (3) Direction face: the lateral auxiliary face perpendicular to both the machining face and the reference face, which corresponds to the longitudinal edge distance, i.e. the distance of the element in the longitudinal direction from the direction face is the longitudinal distance.
[0035] II. As shown in Figure 1 The planar view of the machining element is shown, the machining face of which is Z+, the reference face is Y+, the direction face is X-, the transverse edge distance is 20, the longitudinal edge distance is 200, and other information is the inherent information of the element itself, such as length 100, width 200, machining depth, etc.
[0036] III. Rotating the plate, during the rotating process, only the machining face, reference face and direction face need to be adjusted, and other information remains unchanged.
[0037] (1) Rotation algorithm Right rotation by 90 degrees: X+ becomes Y-, Y- becomes X-, X- becomes Y+, Y+ becomes X+, and Z+ and Z- remain unchanged.
[0038] Right rotation by 180 degrees: X+ becomes X-, Y- becomes Y+, X- becomes X+, Y+ becomes Y-, and Z+ and Z- remain unchanged.
[0039] Right rotation by 270 degrees: X+ becomes Y+, Y- becomes X-, X- becomes Y-, Y+ becomes X-, and Z+ and Z- remain unchanged.
[0040] Left and right plate flipping, the plate is flipped along the X axis: Z+ becomes Z-, Z- becomes Z+, Y+ becomes Y-, Y- becomes Y+, and X+ and X- remain unchanged.
[0041] Up and down plate flipping, the plate is flipped along the Y axis: Z+ becomes Z-, Z- becomes Z+, X+ becomes X-, X- becomes X+, and Y+ and Y- remain unchanged.
[0042] (2) Rotation example, as shown in Figure 2 After rotating by 90 degrees, only the machining face is modified, and other data model information remains unchanged.
[0043] Figure 3 In this context, the machining surface, reference surface, direction surface, and corresponding distances determine the position of the machining element relative to the plate, which is independent of the coordinate system quadrants. Therefore, no processing of the coordinate point set is required during rotation.
[0044] In conventional CNC reverse engineering, the position and shape information of elements are usually represented by a set of three-dimensional coordinate points and shape feature information. During the plate-turning process, it is necessary to perform coordinate transformation on the set of coordinate points according to the coordinate system quadrant, and even the shape information needs to be updated synchronously according to the plate rotation logic.
[0045] This invention innovatively proposes a logical design for the shape information and relative orientation and position of elements in the field of woodworking doors, walls, and cabinets. It innovatively designs the concept of a three-dimensional orientation—processing surface, reference surface, and orientation—which is fundamentally different from coordinate system transformation. This design is based on the concept of orientation relative to the board in any coordinate system. That is, even when the board rotates or moves in any coordinate system, the position and shape of the element relative to the board can be obtained based on the transformation of the three-dimensional information of the processing surface, reference surface, and orientation, while ensuring that the original shape information remains unchanged.
[0046] For the specific implementation scheme of this embodiment, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0047] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0048] It should be noted that in the description of this invention, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this invention, unless otherwise stated, "a plurality of" means at least two.
[0049] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0050] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution device. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0051] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The corresponding program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0052] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0053] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.
[0054] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0055] The present invention employs a method, apparatus, processor, and readable storage medium for guiding processing of machining elements in plate rotation and flipping machining. While ensuring that the shape information of the elements remains unchanged, it facilitates plate rotation and quadrant switching, helps to ensure data consistency, reduces error transformation caused by data changes, facilitates debugging during development, greatly optimizes the performance of rotation algorithms, and simplifies the logical processing of obtaining machining toolpaths based on element information.
[0056] In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. Therefore, the specification and drawings should be considered illustrative rather than restrictive.
Claims
1. A method for realizing machining element guide processing in plate-rotating and flipping machining of a plate member, characterized by, The method comprises the following steps: (1) defining three directions and two margins for each machining element, the three directions comprising a machining surface, a reference surface and a direction surface, and the two margins comprising a longitudinal margin and a transverse margin; (2) performing direction transformation on the machining surface, the reference surface and the direction surface according to a rotation algorithm during rotation or flipping of the plate; (3) determining the relative position of the machining element on the plate according to the transformed direction surface and the corresponding distance.
2. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The machining surface is a surface where the main body of the machining element is located, corresponding to the machining surface of a tool; the reference surface is a lateral main surface perpendicular to the machining surface, corresponding to the transverse margin; and the direction surface is a lateral auxiliary surface perpendicular to both the machining surface and the reference surface, corresponding to the longitudinal margin.
3. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The plate is composed of six machining surfaces, namely, an upper surface, a lower surface, a left surface, a right surface, a front surface and a rear surface, corresponding to the Z+, Z-, X-, X+, Y- and Y+ directions in the coordinate system.
4. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The rotation algorithm comprises a right rotation of 90 degrees, i.e., X+ is changed to Y-, Y- is changed to X-, X- is changed to Y+, Y+ is changed to X+, and Z+ and Z- remain unchanged.
5. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The rotation algorithm comprises a right rotation of 180 degrees, i.e., X+ is changed to X-, Y- is changed to Y+, X- is changed to X+, Y+ is changed to Y-, and Z+ and Z- remain unchanged.
6. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The rotation algorithm comprises a right rotation of 270 degrees, i.e., X+ is changed to Y+, Y- is changed to X-, X- is changed to Y-, Y+ is changed to X-, and Z+ and Z- remain unchanged.
7. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The rotation algorithm comprises left and right flipping and flipping of the plate along the X axis, i.e., Z+ is changed to Z-, Z- is changed to Z+, Y+ is changed to Y-, Y- is changed to Y+, and X+ and X- remain unchanged.
8. The method for plate rotary turning processing to realize machining element guide processing according to claim 1, characterized in that, The rotation algorithm comprises up and down flipping and flipping of the plate along the Y axis, i.e., Z+ is changed to Z-, Z- is changed to Z+, X+ is changed to X-, X- is changed to X+, and Y+ and Y- remain unchanged.
9. A device for guiding processing elements in the rotary flipping process of sheet metal, characterized in that, The device comprises: a processor configured to execute computer executable instructions; a memory storing one or more computer executable instructions, which, when executed by the processor, implement each step of the method for guiding machining elements in plate rotation and flipping machining according to any one of claims 1 to 8.
10. A processor for plate rotation flipping machining to implement machining element guide processing, characterized in that, The processor is configured to execute computer executable instructions, which, when executed by the processor, implement each step of the method for guiding machining elements in plate rotation and flipping machining according to any one of claims 1 to 8.
11. A computer readable storage medium, characterized in that, A computer program is stored thereon, which can be executed by a processor to implement each step of the method for guiding machining elements in plate rotation and flipping machining according to any one of claims 1 to 8.