Door panel generation method, device, electronic device and storage medium

By calculating the interference between the cabinet interior and the panels, obtaining the dimensional parameters of the interfering panels, and generating door panels to fit the cabinet, the problem of low design efficiency in the existing technology is solved, and efficient and accurate door panel generation is achieved.

CN114398702BActive Publication Date: 2025-09-19GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111658694.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-09-19
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

The existing method of generating door panels requires manual modification of parameters and size adjustments, resulting in inefficient and error-prone design and inability to effectively adapt to the cabinet structure.

Method used

By calculating the interference between the cabinet interior and panels, the dimensional parameters of the interfering panels are obtained, and door panels are generated to fit the cabinet, reducing manual modifications and errors.

Benefits of technology

It improves the design accuracy and efficiency of door panel generation, reduces tedious operations, avoids errors, and ensures that the door panel fits the cabinet body well.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114398702B_ABST
    Figure CN114398702B_ABST
Patent Text Reader

Abstract

The present invention provides a door panel generation method, device, electronic device, and storage medium. The method comprises: obtaining a cabinet body and its interior space; expanding the interior space to obtain an expanded interior space; performing interference calculation based on the three-dimensional data of panels in the cabinet body and the three-dimensional data of the expanded interior space to obtain an interfering panel; obtaining dimensional parameters of the interfering panel; and generating a door panel based on the dimensional parameters. Implementing the present invention simplifies the door panel generation process, improves design accuracy and efficiency, reduces errors, and ensures a more fitted door panel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of furniture design technology, and more specifically, to a door panel generation method, device, electronic device, and computer-readable storage medium. Background Art

[0002] The existing method of generating door panels is to model and generate them according to preset parameter values. For special cabinets, after generating the door panels, some panel parameters need to be manually modified to adapt to the door panels.

[0003] After the door panels are generated, multiple additional size adjustments are required. For example, if the thicknesses of the top, bottom, left and right side panels of the cabinet are different, the designer needs to calculate the size of the door panels based on the factory's door gap process and then modify them, which seriously affects the design efficiency. After the door panels are generated, the indentation values ​​of the cabinet shelves and functional parts need to be manually modified to avoid interference with the newly generated door panels. Manual modification operations are cumbersome, error-prone, and inefficient. Summary of the Invention

[0004] The purpose of the embodiments of the present application is to provide a door panel generation method, device, electronic device and computer-readable storage medium to improve design accuracy and efficiency, avoid errors, and make the generated door panels more fitting.

[0005] In a first aspect, an embodiment of the present application provides a door panel generation method, the method comprising:

[0006] Obtaining a cabinet and the interior space of the cabinet;

[0007] expanding the inner space to obtain an expanded inner space;

[0008] Perform interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain interference panels;

[0009] Obtaining dimensional parameters of the interference plate;

[0010] A door panel is generated according to the size parameters.

[0011] In the above implementation process, by calculating the interference between the inner space and the panel, and further calculating the size parameters and direction information of the interfering panel, the door panel is finally generated so that the door panel can be adapted to the cabinet body, reducing possible errors in the adaptation process, reducing manual data modification, reducing tedious operating procedures, making it less prone to errors, and improving efficiency.

[0012] Furthermore, the step of performing interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain the interference panels includes:

[0013] Traversing the panels in the cabinet to obtain bounding boxes of the panels in the cabinet;

[0014] performing interference calculation on the three-dimensional data of the bounding box and the three-dimensional data of the expanded inner space to obtain a calculation result;

[0015] If the calculation result shows that interference exists, the plate corresponding to the bounding box where interference exists is determined as the interfering plate.

[0016] In the above implementation process, the interference plate is obtained by calculation, which facilitates the subsequent calculation of the interference plate, can reduce the amount of calculation and improve the design accuracy.

[0017] Furthermore, the step of obtaining the size parameters of the interference plate includes:

[0018] Obtaining a minimum length value in the three-dimensional data of the intersecting bounding box corresponding to the interference plate;

[0019] If the minimum length value is less than or equal to the length of the expanded inner space, the size parameter is obtained according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate.

[0020] In the above implementation, the minimum length of the intersecting bounding box is used to determine the size parameters of the interfering plate, making the size parameters more accurate. Using the minimum length of the intersecting bounding box can also reduce errors and prevent the interfering plate from not meeting the required size. Comparing the minimum length with the length of the expanded internal space before determining the size parameters effectively avoids waste caused by the interfering plate not meeting the required size and reduces the computational effort required to calculate the size parameters.

[0021] Furthermore, the step of obtaining the size parameters according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate includes:

[0022] Obtaining the position coordinates of the intersecting bounding box in the three-dimensional data;

[0023] Obtaining the thickness of the interference plate according to the position coordinates;

[0024] Obtaining direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box;

[0025] The thickness and the direction information are used as the size parameters.

[0026] In the above implementation process, the direction information of the intersecting bounding box is obtained, and the direction information and the thickness can be used together as a size parameter, so that the size parameter contains more information, thereby improving the accuracy of subsequent calculations.

[0027] Furthermore, the step of obtaining direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box includes:

[0028] Obtaining the center point coordinates of the position coordinates;

[0029] Convert the coordinates of the center point and the coordinates of the expanded inner space into a camera coordinate system;

[0030] Direction information of the intersecting bounding box is obtained according to the coordinates of the center point in the camera coordinate system and the coordinates of the expanded inner space.

[0031] In the above implementation process, the coordinates of the center point and the coordinates of the expanded inner space are converted into the camera coordinate system for calculation, so that the center point and the inner space can be in the same coordinate system, reducing the relative error and making the calculation result more accurate.

[0032] Furthermore, the step of generating the door panel according to the size parameters includes:

[0033] Generating the inner space coordinates of the door panel and a preset door gap value according to the size parameters;

[0034] Obtaining the position coordinates and size information of the door panel according to the inner space coordinates and the door gap value;

[0035] The door panel is generated according to the position coordinates and the size information.

[0036] In the above implementation process, the door panel is generated according to the inner space coordinates and the door gap value, so that the obtained door panel can be adapted to the door gap and the inner space at the same time, and fits better.

[0037] Furthermore, after the step of generating the door panel according to the size parameters, the method further includes:

[0038] The door panel and the cabinet are adapted to each other.

[0039] During the above implementation process, it is ensured that the generated door panels can be used and can be adapted to the cabinet body to avoid the generated door panels being unable to be actually used.

[0040] In a second aspect, an embodiment of the present application further provides a door panel generating device, the device comprising:

[0041] An acquisition module, used to acquire the cabinet and the inner space of the cabinet; and also used to acquire the size parameters of the interference plate;

[0042] an expansion module, used for expanding the inner space to obtain an expanded inner space;

[0043] An interference module, configured to perform interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain an interference panel;

[0044] A generation module is used to generate a door panel according to the size parameters.

[0045] In the above implementation process, by calculating the interference between the inner space and the panel, and further calculating the size parameters and direction information of the interfering panel, the door panel is finally generated so that the door panel can be adapted to the cabinet body, reducing possible errors in the adaptation process, reducing manual data modification, reducing tedious operating procedures, making it less prone to errors, and improving efficiency.

[0046] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.

[0047] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.

[0048] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.

[0049] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by practicing the above-mentioned technology of the present disclosure.

[0050] It can be implemented according to the contents of the specification. The following is a detailed description of the preferred embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0052] Figure 1 A schematic diagram of a process for generating a door panel according to an embodiment of the present application;

[0053] Figure 2 A schematic diagram of the structural composition of a door panel generating device provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of the structural composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0056] It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0057] The following embodiments are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0058] Example 1

[0059] Figure 1 This is a flow chart of the door panel generation method provided in the embodiment of the present application. Figure 1 As shown, the method includes:

[0060] S1, obtain the cabinet body and the inner space of the cabinet body;

[0061] S2, expanding the inner space to obtain the expanded inner space;

[0062] S3, performing interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain the interference panels;

[0063] S4, dimensional parameters of the interference plate;

[0064] S5, generating a door panel according to the size parameters.

[0065] In the above implementation process, by calculating the interference between the inner space and the panel, and further calculating the size parameters and direction information of the interfering panel, the door panel is finally generated so that the door panel can be adapted to the cabinet body, reducing possible errors in the adaptation process, reducing manual data modification, reducing tedious operating procedures, making it less prone to errors, and improving efficiency.

[0066] The concepts of cabinet body, door panel, shelf panel, functional parts, etc. in the embodiments of the present application belong to the terms of the furniture industry, wherein the cabinet body may have a top panel, a bottom panel, a left panel, and a right panel, which refer to the panels corresponding to the top, bottom, left, and right directions of the front view of the cabinet body, respectively.

[0067] The inner space in the embodiment of the present application refers to the space inside the cabinet. Optionally, the inner space is a rectangular geometric node (the concept of node belongs to the basic concept of the osg engine and is a general concept). The rectangular block also includes a cube or a square. The inner space is used to assist in generating door panels, and the generation of door panels is based on the inner space.

[0068] In an embodiment of the present application, the bounding box and the inner space can be regarded as the outline of a rectangular parallelepiped, and interference calculation refers to determining whether the two rectangular parallelepipeds have intersecting parts in three-dimensional space. For example, an embodiment of the present application is used to calculate whether there is an intersecting part between the bounding box and the inner space. If there is an intersecting part, it is said that there is interference between the bounding box and the inner space, and the part that produces interference can also be regarded as a bounding box.

[0069] In S2, the inner space is expanded along the upper side, lower side, left side and right side by a length L, respectively. The length of L depends on the design accuracy (in the embodiment of the present application, L is 0.5 mm).

[0070] Furthermore, S3 includes:

[0071] Traverse the panels in the cabinet and obtain the bounding boxes of the panels in the cabinet;

[0072] Perform interference calculation on the three-dimensional data of the bounding box and the three-dimensional data of the expanded inner space to obtain a calculation result;

[0073] If the calculation result shows that interference exists, the plate corresponding to the interfering bounding box is determined as the interfering plate.

[0074] In the above implementation process, the interference plate is obtained by calculation, which facilitates the subsequent calculation of the interference plate, can reduce the amount of calculation and improve the design accuracy.

[0075] Interference calculation is performed on the bounding box of the panel and the bounding box of the expanded inner space. If there is interference between the panels, the panel is considered an interference panel. If there is no interference, continue to traverse the next panel until all the panels in the cabinet are traversed.

[0076] Furthermore, S4 includes:

[0077] Obtain the minimum length value in the three-dimensional data of the intersecting bounding box corresponding to the interference plate;

[0078] If the minimum length value is less than or equal to the length of the expanded inner space, the size parameters are obtained according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate.

[0079] The intersecting bounding box corresponding to the interference plate is the bounding box of the intersection of the interference plate and the expanded inner space.

[0080] Optionally, the bounding box is a cuboid, and the three-dimensional data of the bounding box includes the length, width, and height of the bounding box. The minimum length value refers to the smallest value among the length, width, and height of the bounding box.

[0081] In the above implementation process, the size parameters of the interference plate are obtained by the minimum length value of the intersecting bounding box, which can make the size parameters more accurate. At the same time, the minimum length value of the intersecting bounding box can be used to reduce errors and avoid the size of the interference plate not meeting the requirements.

[0082] Calculate the minimum length of the intersecting bounding box corresponding to the interfering panel. If the minimum length is less than or equal to the expanded inner space length L (i.e., 0.5mm), determine the position of the intersecting bounding box and its position in the four directions of the inner space. Then, obtain the thickness of the interfering panel and store the direction information and thickness value. Traverse each panel of the cabinet until the panel traversal is complete. If the minimum length is greater than the expanded inner space length L, continue traversing the next panel until the cabinet panels are completely traversed.

[0083] In the above implementation process, the minimum length value and the length of the expanded inner space are compared to obtain the size parameters, which can effectively avoid waste caused by the size of the interference plate not meeting the requirements, and reduce the amount of calculation for further calculating the size parameters.

[0084] Furthermore, the step of obtaining size parameters according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate includes:

[0085] Get the position coordinates of the intersecting bounding box in the three-dimensional data;

[0086] Obtaining the thickness of the interference plate according to the position coordinates;

[0087] Obtain direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box;

[0088] Takes thickness and orientation information as size parameters.

[0089] In the above implementation process, the direction information of the intersecting bounding box is obtained, and the direction information and the thickness can be used together as a size parameter, so that the size parameter contains more information, thereby improving the accuracy of subsequent calculations.

[0090] Furthermore, the step of obtaining direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box includes:

[0091] Get the center point coordinates of the position coordinates;

[0092] Convert the coordinates of the center point and the expanded inner space into the camera coordinate system;

[0093] The direction information of the intersecting bounding box is obtained according to the coordinates of the center point in the camera coordinate system and the coordinates of the expanded inner space.

[0094] Take the center point coordinate as box.center, and record box.center and the expanded content as the coordinates of frameB, and convert them to the camera coordinate system.

[0095] If |box.center.z-frameB.zMax|<=L / 2, where box.center.z refers to the z-axis coordinate of the center point of the bounding box, and frameB.zMax refers to the maximum value of the inner space frameB in the z-axis direction, that is, the top edge, then the panel is the top edge panel.

[0096] If |box.center.z-frameB.zMin|<=L / 2, where box.center.z refers to the z-axis coordinate of the center point of the bounding box, and frameB.zMin refers to the minimum value of the inner empty frameB in the z-axis direction, that is, the bottom edge, then the panel is the bottom panel.

[0097] If |box.center.x-frameB.xMax|<=L / 2, where box.center.x refers to the x-axis coordinate of the center point of the bounding box, and frameB.xMax refers to the maximum value of the inner space frameB in the x-axis direction, that is, the right side, then the panel is the right panel.

[0098] If |box.center.x-frameB.xMin|<=L / 2, where box.center.x refers to the x-axis coordinate of the center point of the bounding box, and frameB.xMin refers to the minimum value of the inner empty frameB in the x-axis direction, that is, the left side, then the panel is the left panel.

[0099] The panel and its thickness are stored and retained, and the traversal continues to the next panel until the traversal of the cabinet panels is completed.

[0100] In the above implementation process, the coordinates of the center point and the coordinates of the expanded inner space are converted into the camera coordinate system for calculation, so that the center point and the inner space can be in the same coordinate system, reducing the relative error and making the calculation result more accurate.

[0101] Furthermore, the step of generating the door panel according to the size parameters includes:

[0102] Generate the inner space coordinates of the door panel and the preset door gap value according to the size parameters;

[0103] Get the position coordinates and size information of the door panel based on the inner space coordinates and the door gap value;

[0104] Generate door panels based on position coordinates and size information.

[0105] The door gap in the embodiment of the present application refers to the gap between the door panel and the cabinet body after the door panel is generated. The door gap value is a reserved value and can be customized according to the factory process.

[0106] In the above implementation process, the door panel is generated according to the inner space coordinates and the door gap value, so that the obtained door panel can be adapted to the door gap and the inner space at the same time, and fits better.

[0107] After generating the door panel according to the size parameters, the process also includes: adapting the door panel to the cabinet body.

[0108] After the door panels are generated, the embodiment of the present application can also adaptively adjust the cabinet body so that the cabinet body and the door panels are adapted to each other.

[0109] Traverse the shelves, functional parts, drawers and other panels of the cabinet, and perform interference calculation on the bounding box of the generated door panel and the shelves, functional parts, drawers and other panels of the cabinet. If there is interference, obtain the shape and size of the bounding box of the interference part, calculate the depth d of the interference part, subtract d from the shrinkage value of the shelves and other panels, and set the shrinkage value of the shelves, functional parts, drawers and other panels that cause interference, so as to realize the cabinet adaptation to the door panel model.

[0110] Example 2

[0111] In order to execute the method corresponding to the above embodiment 1 and achieve the corresponding functions and technical effects, a door panel generating device is provided below, such as Figure 2 As shown, the device includes:

[0112] Acquisition module 1 is used to obtain the cabinet body and the inner space of the cabinet body; it is also used to obtain the size parameters of the interference plate;

[0113] Expansion module 2, used for expanding the inner space to obtain an expanded inner space;

[0114] Interference module 3, used to perform interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain the interference panels;

[0115] The generation module 4 is used to generate the door panel according to the size parameters.

[0116] In the above implementation process, by calculating the interference between the inner space and the panel, and further calculating the size parameters and direction information of the interfering panel, the door panel is finally generated so that the door panel can be adapted to the cabinet body, reducing possible errors in the adaptation process, reducing manual data modification, reducing tedious operating procedures, making it less prone to errors, and improving efficiency.

[0117] Furthermore, the interference module 3 is also used for:

[0118] Traverse the panels in the cabinet and obtain the bounding boxes of the panels in the cabinet;

[0119] Perform interference calculation on the three-dimensional data of the bounding box and the three-dimensional data of the expanded inner space to obtain a calculation result;

[0120] If the calculation result shows that interference exists, the plate corresponding to the interfering bounding box is determined as the interfering plate.

[0121] Furthermore, the acquisition module 1 is further configured to:

[0122] Obtain the minimum length value in the three-dimensional data of the intersecting bounding box corresponding to the interference plate;

[0123] If the minimum length value is less than or equal to the length of the expanded inner space, the size parameters are obtained according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate.

[0124] Furthermore, the acquisition module 1 is further configured to:

[0125] Get the position coordinates of the intersecting bounding box in the three-dimensional data;

[0126] Obtaining the thickness of the interference plate according to the position coordinates;

[0127] Obtain direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box;

[0128] Takes thickness and orientation information as size parameters.

[0129] Furthermore, the acquisition module 1 is further configured to:

[0130] Get the center point coordinates of the position coordinates;

[0131] Convert the coordinates of the center point and the expanded inner space into the camera coordinate system;

[0132] The direction information of the intersecting bounding box is obtained according to the coordinates of the center point in the camera coordinate system and the coordinates of the expanded inner space.

[0133] Furthermore, the generating module 4 is further configured to:

[0134] Generate the inner space coordinates of the door panel and the preset door gap value according to the size parameters;

[0135] Get the position coordinates and size information of the door panel based on the inner space coordinates and the door gap value;

[0136] Generate door panels based on position coordinates and size information.

[0137] The door panel generating device can implement the method of the embodiment 1. The options in the embodiment 1 are also applicable to this embodiment and will not be described in detail here.

[0138] The rest of the contents of the embodiments of this application can refer to the contents of the above-mentioned embodiment 1, and will not be repeated in this embodiment.

[0139] Example 3

[0140] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the door panel generation method of embodiment 1.

[0141] Optionally, the above-mentioned electronic device may be a server.

[0142] See Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 31, a communication interface 32, a memory 33, and at least one communication bus 34. The communication bus 34 is used to enable direct communication between these components. The communication interface 32 of the device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 31 may be an integrated circuit chip with signal processing capabilities.

[0143] The processor 31 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor, or the processor 31 can also be any conventional processor.

[0144] The memory 33 may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc. The memory 33 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 31, the device can perform the above-mentioned operations. Figure 1The various steps involved in the method embodiment.

[0145] Optionally, the electronic device may further include a storage controller and an input / output unit. The memory 33, storage controller, processor 31, peripheral interfaces, and input / output units are electrically connected to each other, directly or indirectly, to enable data transmission or interaction. For example, these components may be electrically connected to each other via one or more communication buses 34. The processor 31 is configured to execute executable modules stored in the memory 33, such as software function modules or computer programs included in the device.

[0146] The input and output unit is used to provide users with the ability to create tasks and to create optional start time periods or preset execution times for the tasks to enable interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and keyboard.

[0147] I understand. Figure 3 The structure shown is only for illustration, and the electronic device may also include Figure 3 More or fewer components than shown, or with Figure 3 Different configurations shown. Figure 3 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0148] In addition, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which implements the door panel generation method of embodiment 1 when executed by a processor.

[0149] An embodiment of the present application further provides a computer program product, which, when running on a computer, enables the computer to execute the method described in the method embodiment.

[0150] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.

[0151] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0152] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0153] The foregoing is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included within the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures.

[0154] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

[0155] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

Claims

1. A door panel generation method, characterized in that: The method comprises: Obtaining a cabinet and the interior space of the cabinet; expanding the inner space to obtain an expanded inner space; Perform interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain interference panels; Obtaining dimensional parameters of the interference plate; generating a door panel according to the size parameters; The step of performing interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain the interference panels includes: Traversing the panels in the cabinet to obtain bounding boxes of the panels in the cabinet; performing interference calculation on the three-dimensional data of the bounding box and the three-dimensional data of the expanded inner space to obtain a calculation result; If the calculation result shows that interference exists, the plate corresponding to the bounding box where interference exists is determined as the interfering plate.

2. The door panel generation method according to claim 1, characterized in that: The step of obtaining the size parameters of the interference plate comprises: Obtaining a minimum length value in the three-dimensional data of the intersecting bounding box corresponding to the interference plate; If the minimum length value is less than or equal to the length of the expanded inner space, the size parameter is obtained according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate.

3. The door panel generation method according to claim 2, characterized in that: The step of obtaining the size parameters according to the three-dimensional data of the intersecting bounding box corresponding to the interference plate comprises: Obtaining the position coordinates of the intersecting bounding box in the three-dimensional data; Obtaining the thickness of the interference plate according to the position coordinates; Obtaining direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box; The thickness and the direction information are used as the size parameters.

4. The door panel generation method according to claim 3, characterized in that: The step of obtaining direction information of the intersecting bounding box according to the position coordinates of the intersecting bounding box comprises: Obtaining the center point coordinates of the position coordinates; Convert the coordinates of the center point and the coordinates of the expanded inner space into a camera coordinate system; Direction information of the intersecting bounding box is obtained according to the coordinates of the center point in the camera coordinate system and the coordinates of the expanded inner space.

5. The door panel generation method according to claim 4, characterized in that: The step of generating the door panel according to the size parameters includes: Generating the inner space coordinates of the door panel and a preset door gap value according to the size parameters; Obtaining the position coordinates and size information of the door panel according to the inner space coordinates and the door gap value; The door panel is generated according to the position coordinates and the size information.

6. The door panel generation method according to claim 5, characterized in that: After the step of generating the door panel according to the size parameters, the method further includes: The door panel and the cabinet are adapted to each other.

7. A door panel generating device, characterized in that: The device comprises: An acquisition module, used to acquire the cabinet body and the inner space of the cabinet body; and also used to acquire the size parameters of the interference plate; an expansion module, used for expanding the inner space to obtain an expanded inner space; An interference module, configured to perform interference calculation based on the three-dimensional data of the panels in the cabinet and the three-dimensional data of the expanded inner space to obtain an interference panel; A generating module, configured to generate a door panel according to the size parameters; The interference module is further configured to: Traversing the panels in the cabinet to obtain bounding boxes of the panels in the cabinet; performing interference calculation on the three-dimensional data of the bounding box and the three-dimensional data of the expanded inner space to obtain a calculation result; If the calculation result shows that interference exists, the plate corresponding to the bounding box where interference exists is determined as the interfering plate.

8. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the door panel generation method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that The device stores a computer program, which, when executed by a processor, implements the door panel generation method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and system for generating closing door based on free plate selection of user

    CN110866298A

  • Plate recognition method and device, storage medium and computer equipment

    CN111539081A