Cabinet design method and device, equipment, storage medium and product

By projection, the geometric data of the subproop is determined and adjusted the model and outline of the partitioned partition, solving the problem of intermediate partition penetration in the cabinet design, and achieved efficient partition effects.

CN119358053APending Publication Date: 2025-01-24HANGZHOU QUNHE INFORMATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411479211.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In cabinet design, it is difficult for the prior art to effectively realize that the partition plate penetrates the back plate or side plate of the cabinet frame, resulting in poor partitioning effect.

Method used

The geometric data of the sub-partition is determined through projection, and the size is adjusted on the model copy and outline copy of the partition to generate the sub-partition model and outline, thereby achieving the partition effect.

Benefits of technology

This method does not require the overall reconstruction model, which improves the design efficiency, reduces the design cost, and can achieve the partition effect in any direction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119358053A_ABST
    Figure CN119358053A_ABST
Patent Text Reader

Abstract

The invention provides a cabinet design method and device, equipment, a storage medium and a product, and the method comprises the steps: calculating the projection of a surface, opposite to a partitioned plate, in a partition plate to the partitioned plate if a partition operation of a user is obtained, and obtaining a projection bounding box of the partition plate on the plane of the partitioned plate; according to the projection bounding box, determining the model size, the contour size and the relative position of each sub-partition plate after the partition plate is partitioned; adjusting the model data copy and the contour data copy of the partitioned plate according to the model size, the contour size and the relative position of the sub-partition plate to obtain the model and the contour of the sub-partition plate; and generating a cabinet body model according to the sub-partition plate model and the contour. According to the embodiment of the invention, the partition effect in the cabinet body design is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a cabinet design method, device, equipment, storage medium and product. Background Art

[0002] With the development of technology, the intelligence of design software is constantly improving, and design products are also constantly being refined. Intelligent cabinet design is a design function in current design software. Users can use the software to customize the cabinet design. After the design is completed, the drawings can be exported for subsequent product production.

[0003] Usually, the cabinet body is composed of a cabinet frame and internal partitions, and the cabinet frame includes a back panel located at the back of the frame and side panels located at the sides of the frame. Users can separate the space inside the frame by adjusting the partitions to meet different storage needs.

[0004] When designing partitions, there are design requirements that require the partitions to penetrate the back or side panels of the cabinet frame, that is, to separate the back or side panels through the partitions to separate the back or side panels into different parts. In this case, the partitions serve as partition panels, and the back or side panels that are separated serve as partitioned panels. Summary of the invention

[0005] The present invention provides a cabinet design method, device, equipment, storage medium and product to achieve a partition effect in cabinet design.

[0006] In a first aspect, an embodiment of the present invention provides a cabinet design method, the method comprising:

[0007] If the user's partition operation is obtained, the projection of the surface of the partition board opposite to the partition board to the partition board is calculated to obtain the projection bounding box of the partition board on the plane of the partition board;

[0008] According to the projection bounding box, the model size, outline size and relative position of each sub-partition after the partition is separated are determined;

[0009] According to the model size, outline size and relative position of the sub-partition, the model data copy and outline data copy of the partition are adjusted to obtain the model and outline of the sub-partition;

[0010] Generate a cabinet model based on the sub-partition model and outline.

[0011] Furthermore, the determining of the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box includes:

[0012] Calculate the superposition data of the projection bounding box and the partition, and divide the partition into at least two parts using the superposition data;

[0013] The model size, outline size and relative position of each sub-partition are determined according to the model size, outline size and relative position of each part in the partition.

[0014] Furthermore, before determining the model size, outline size and relative position of each sub-partition after the partition is separated according to the projected bounding box, the method further includes:

[0015] According to the projection bounding box, determine whether the partition board will be completely penetrated by the partition board, wherein completely penetrated means that the partition board will be divided into two parts by the partition board;

[0016] If not, the isolation operation is not performed.

[0017] Furthermore, generating the cabinet model according to the model and outline of the sub-partition includes:

[0018] Extend or retract the insertion end of the partition board model and profile according to the extension or retract parameters entered by the user;

[0019] The cabinet model is generated according to the model and outline of the extended or indented partition board and the model and outline of the sub-partition board.

[0020] Furthermore, after generating the cabinet model according to the model and outline of the sub-partition, the method further includes:

[0021] If the cabinet size update operation is obtained, the sizes of the partition board and the partition board are adjusted according to the size parameters input by the user, and the partition operation is performed using the projection of the adjusted partition board to the adjusted partition board.

[0022] Furthermore, before generating the cabinet model according to the model and outline of the sub-partition, the method further includes:

[0023] Determine the existing partitions in the cabinet that are connected to the sub-partitions as connected partitions;

[0024] Establish a dependency relationship between the sub-partition and the connected partitions, where the partition effect of the sub-partition depends on the connected partitions;

[0025] After generating the cabinet model based on the sub-partition model and outline, it also includes:

[0026] If a deletion operation of a connected partition is obtained, the connected partition is deleted, and according to the dependency relationship, the partition effect of the sub-partition is deleted together.

[0027] Furthermore, after deleting the connected partitions, the method further includes:

[0028] It is determined whether the sub-partition is to be completely penetrated by the partition. If not, the sub-partition is extended so that the sub-partition is to be completely penetrated by the partition.

[0029] Furthermore, after generating the cabinet model according to the model and outline of the sub-partition, the method further includes:

[0030] If a partition operation of adding a new partition to a sub-partition is obtained, the sub-partition is used as the partitioned plate and the new partition is used as the partitioning plate, and the operation of "determining the model size, outline size and relative position of each sub-partition after the partitioned plate is partitioned based on the projection bounding box" is returned.

[0031] In a second aspect, an embodiment of the present invention further provides a cabinet design device, the device comprising:

[0032] A projection module, for calculating the projection of the surface of the partition board opposite to the partition board to the partition board if a partition operation by the user is obtained, and obtaining a projection bounding box of the partition board on the plane of the partition board;

[0033] A geometric calculation module is used to determine the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box;

[0034] A parameter adjustment module is used to adjust the model data copy and the outline data copy of the partitioned plate according to the model size, outline size and relative position of the sub-partition plate to obtain the model and outline of the sub-partition plate;

[0035] The model generation module is used to generate a cabinet model according to the model and outline of the sub-partition.

[0036] In a third aspect, an embodiment of the present invention further provides an electronic device, including:

[0037] at least one processor; and

[0038] a memory communicatively connected to the at least one processor; wherein,

[0039] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of the methods in the embodiments of the present invention.

[0040] In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute any one of the methods described in the embodiments of the present invention.

[0041] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which implements any one of the methods in the embodiments of the present invention when executed by a processor.

[0042] The technical solution of the embodiment of the present invention determines the geometric data of the sub-partition through projection, and then adjusts the size on the model copy and contour copy of the partition to obtain the sub-partition model and contour, thereby achieving a partition effect. This method does not require overall reconstruction of the model, thereby improving design efficiency and reducing design costs. Because projection in any direction can be achieved, the embodiment of the present invention can achieve a partition effect in any direction.

[0043] In addition, because the adjustment is made on the basis of the model copy and outline copy of the partitioned board, the model and outline of the adjusted sub-partition inherit other parameters of the partitioned board, including the style of the partition. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0045] Figure 1 is a flow chart of a cabinet design method provided by an embodiment of the present invention;

[0046] Figure 2 This is a schematic diagram of an effect of incomplete penetration provided by an embodiment of the present invention;

[0047] Figure 3 This is a schematic diagram of a complete penetration effect provided by an embodiment of the present invention;

[0048] Figure 4 It is a schematic diagram of an extended effect provided by an embodiment of the present invention;

[0049] Figure 5 is a flow chart of another cabinet design method provided by an embodiment of the present invention;

[0050] Figure 6 It is a schematic diagram of the architecture of a cabinet design method provided by an embodiment of the present invention;

[0051] Figure 7 is a structural schematic diagram of a cabinet design device provided by an embodiment of the present invention;

[0052] Figure 8 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0054] Figure 1 is a flow chart of a cabinet design method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to the case where partition effect design is performed in cabinet design. Typically, it can be applied to the case where a partition is required to penetrate the back panel or side panel of the cabinet frame in the intelligent cabinet design software. Figure 1 The cabinet design method provided by the embodiment of the present invention includes:

[0055] S110: If a partition operation of the user is obtained, a projection of the surface of the partition board opposite to the partition board to the partition board is calculated to obtain a projection bounding box of the partition board on the plane of the partition board.

[0056] The user's partition operation can be implemented in various ways such as voice, text, etc. For example, on the design page of the design software, the user can manually drag the partition board to the partitioned board and select the connection method as partition.

[0057] The opposite surface refers to the surface of the partition board facing the partition board, and can also be described as the contact surface of the partition board that is about to be connected to the partition board.

[0058] The projection bounding box refers to the projection area of ​​the opposite surface on the separated plane.

[0059] S120. Determine the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box.

[0060] The sub-partition refers to at least two partitions formed after the partition is separated.

[0061] The model size is used to describe the structure of the sub-partition, the outline size is used to describe the outline of the sub-partition, and the relative position is used to describe the position of the sub-partition in the partition.

[0062] Specifically, the partition can be divided into at least two parts with the projection bounding box as the boundary, and the model size, outline size and relative position of each part are used as the model size, outline size and relative position of each sub-partition.

[0063] Optionally, determining the model size, outline size and relative position of each sub-partition after the partition is separated according to the projected bounding box includes:

[0064] Calculate the superposition data of the projection bounding box and the partition, and divide the partition into at least two parts using the superposition data;

[0065] The model size, outline size and relative position of each sub-partition are determined according to the model size, outline size and relative position of each part in the partition.

[0066] Among them, the superposition data of the projected bounding box and the partition can be calculated through Boolean operation.

[0067] S130. According to the model size, outline size and relative position of the sub-partition, the model data copy and outline data copy of the partitioned plate are adjusted to obtain the model and outline of the sub-partition.

[0068] For example, if there are two sub-partitions, two copies of the model of the partitioned plates are copied. According to the model size of the sub-partition, the data of the model copy is adjusted, and the adjusted model copy is used as the model of the sub-partition. The model of the sub-partition is adjusted according to the outline size and relative position to obtain the outline and position of the sub-partition.

[0069] S140: Generate a cabinet model according to the model and outline of the sub-partition.

[0070] Sub-partitions are used to replace the partitioned boards, and partition boards are set between the sub-partitions to generate a cabinet model with partition effects.

[0071] The technical solution of the embodiment of the present invention determines the geometric data of the sub-partition through projection, and then adjusts the size on the model copy and contour copy of the partition to obtain the sub-partition model and contour, thereby achieving a partition effect. This method does not require overall reconstruction of the model, thereby improving design efficiency and reducing design costs. Because projection in any direction can be achieved, the embodiment of the present invention can achieve a partition effect in any direction.

[0072] In addition, because the adjustment is made on the basis of the model copy and outline copy of the partitioned board, the model and outline of the adjusted sub-partition inherit other parameters of the partitioned board, including the style of the partition.

[0073] In order to make the technical effect of the embodiment of the present invention closer to the actual needs of users, before determining the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box, it also includes:

[0074] According to the projection bounding box, determine whether the partition board will be completely penetrated by the partition board, wherein completely penetrated means that the partition board will be divided into two parts by the partition board;

[0075] If not, the isolation operation is not performed.

[0076] If so, the step of "determining the model size, outline size and relative position of each sub-partition after the partition is partitioned according to the projection bounding box" will be executed.

[0077] Here, completely penetrating can also be understood as dividing the partition from one area into two areas, without limiting whether the partition is disconnected. Figure 2 The middle partition plate 210 is not completely penetrated by the partition plate 220. Figure 3 The middle partition plate 210 will be completely penetrated by the partition plate 220 .

[0078] This technical feature determines whether the partition board will be completely penetrated by the partition before implementing the partition operation. If not, the partition operation will not be performed. Because incompletely penetrated partitions are generally not desired by users, through this technical feature, the technical effect of the embodiment of the present invention can be more in line with the actual needs of users.

[0079] To achieve the extension or retraction effect of the partition board, the cabinet model is generated according to the model and outline of the sub-partition board, including:

[0080] Extend or retract the insertion end of the partition board model and profile according to the extension or retract parameters entered by the user;

[0081] The cabinet model is generated according to the model and outline of the extended or indented partition board and the model and outline of the sub-partition board.

[0082] See also Figure 4 , Figure 4 The middle partition plate 210 will be completely penetrated by the partition plate 220 and extended to a set length, and the extended portion is shown at 230.

[0083] To update the cabinet size, after generating the cabinet model according to the model and outline of the sub-partition, the method further includes:

[0084] If the cabinet size update operation is obtained, the sizes of the partition board and the partition board are adjusted according to the size parameters input by the user, and the partition operation is performed using the projection of the adjusted partition board to the adjusted partition board.

[0085] This technical feature achieves the update of the cabinet size by first adjusting the size of the partition board and the partitioned board, and then re-projecting the partition.

[0086] Furthermore, before generating the cabinet model according to the model and outline of the sub-partition, the method further includes:

[0087] Determine the existing partitions in the cabinet that are connected to the sub-partitions as connected partitions;

[0088] Establish a dependency relationship between the sub-partition and the connected partitions, where the partition effect of the sub-partition depends on the connected partitions;

[0089] After generating the cabinet model based on the sub-partition model and outline, it also includes:

[0090] If a deletion operation of a connected partition is obtained, the connected partition is deleted, and according to the dependency relationship, the partition effect of the sub-partition is deleted together.

[0091] This technical feature deletes partition effects based on dependencies. Note that what is deleted here is the associated partition effect, not the model. This automatically removes the partition effects with dependencies, avoids the occurrence of incompletely truncated partition effects, and improves the accuracy of partition effect generation.

[0092] From another perspective, it saves users from having to delete partition effects one by one, thus improving their design efficiency.

[0093] In order to improve the intelligent effect of the technical solution of the embodiment of the present invention, after deleting the connected partitions, the method further includes:

[0094] It is determined whether the sub-partition is to be completely penetrated by the partition. If not, the sub-partition is extended so that the sub-partition is to be completely penetrated by the partition.

[0095] This technical feature achieves automatic closure between partitions by automatically extending the sub-partitions that are not fully penetrated, further improving the intelligence of the system.

[0096] In order to reduce the cost of re-partitioning based on the initial partitioning, after generating the cabinet model according to the model and outline of the sub-partition, the method further includes:

[0097] If a partition operation of adding a new partition to a sub-partition is obtained, the sub-partition is used as the partitioned plate and the new partition is used as the partitioning plate, and the operation of "determining the model size, outline size and relative position of each sub-partition after the partitioned plate is partitioned based on the projection bounding box" is returned.

[0098] Through this technical feature, the embodiment of the present invention can achieve local partition with low cost and high flexibility.

[0099] Figure 5 It is a flow chart of another cabinet design method provided by an embodiment of the present invention. Figure 6 Schematic diagram of a cabinet design method provided by an embodiment of the present invention. Figure 5 and Figure 6 Another cabinet design method provided by an embodiment of the present invention can be described as follows:

[0100] Step 1: After the user inputs the instruction, the partition business layer judges the behavior (partition, cancel, update, etc.) based on the user input instruction. After the data layer receives the relevant behavior instruction, it performs data calculations on the data layer. If the "partition" behavior is detected, the partition board will first be used to perform a projection calculation on the opposite surface of the partitioned board to obtain the projection bounding box of the partition board on the relative plane of the partitioned board. The projection bounding box calculation information is used as the data carrier for the pre-calculation and will be involved in the process calculation later. If the "update" behavior is detected, the above-mentioned existing data will be intelligently updated, and will be involved in the process calculation later to achieve the purpose of secondary modification. If the "cancel" behavior is detected, the calculation of the dependent data will be performed, and the relevant data carriers will be cleared and updated, and will be involved in the relevant process calculation later.

[0101] Step 2: The geometric operator will perform geometric operations on the superimposed projection bounding box data of the panel contour data through the pre-data carrier of step 1. The geometric operator will superimpose the projection data and then calculate whether the superimposed projection data penetrates the outer contour data of the panel contour. If it does, the "partition" condition is met and the next calculation will be performed. If the overall penetration condition is not met, the calculation of some data will be stopped. If it is an "update" behavior, the geometric data will be recalculated, and the relevant geometric information will be updated according to the "partition" specification before the next calculation. If it is a "cancel" behavior, the relevant geometric information will be deleted and the geometric metadata will be restored.

[0102] Step 3: The above two steps obtain the data carrier and geometric data for "separation". The third step will compare the model data. By comparing and calculating the model data and the above two types of data, the inheritance rules of the model are used to inherit the relevant attributes and parameters of the source model, and then perform separation at the model level. The model uses complex geometric information and synchronously calculates the model data to achieve the purpose of "separation". If the "update" operation is performed, the corresponding data will be inherited and updated through the relative position of the model. For example: if it is a top-to-bottom separation, the "upper model" is always located at the upper relative position relative to the "lower model". Then, after the size is updated, the upper model inherits the model at the upper relative position, and the lower model inherits the model at the lower relative position. The purpose of inheriting the relevant data of the model before the update is achieved. If a "delete" operation is performed, the deleted dependency analysis will be performed through the initialized association relationship data carrier. If after model A is deleted, it is found that model B depends on model A, and model C indirectly depends on model B, forming a chain dependency, the "delete" behavior is performed after the chain dependency analysis. The final result is that after A is deleted, the partition effect of models A, B, and C is deleted at the same time.

[0103] Step 4: The above four steps have formed data carriers, geometric information, and model data. The last step is to use the process information configured by the user (such as extension process, non-extension, gap process, etc.), the superposition of the above three types of information, and the process generator to modify all the above data for the second time to form the final user-expected process result. After completing the process operations such as "separation", "update", and "deletion", the entire process is completed.

[0104] Figure 7 Schematic diagram of a cabinet design device provided by an embodiment of the present invention. Figure 7 , a cabinet design device provided in this embodiment includes:

[0105] The projection module 310 is used to calculate the projection of the surface of the partition board opposite to the partition board to the partition board if a partition operation by the user is obtained, and obtain the projection bounding box of the partition board on the plane of the partition board;

[0106] The geometric calculation module 320 is used to determine the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box;

[0107] The parameter adjustment module 330 is used to adjust the model data copy and the outline data copy of the partitioned plate according to the model size, outline size and relative position of the sub-partition plate to obtain the model and outline of the sub-partition plate;

[0108] The model generation module 340 is used to generate a cabinet model according to the model and outline of the sub-partition.

[0109] The technical solution of the embodiment of the present invention determines the geometric data of the sub-partition through projection, and then adjusts the size on the model copy and contour copy of the partition to obtain the sub-partition model and contour, thereby achieving a partition effect. This method does not require overall reconstruction of the model, thereby improving design efficiency and reducing design costs. Because projection in any direction can be achieved, the embodiment of the present invention can achieve a partition effect in any direction.

[0110] Furthermore, the geometric calculation module includes:

[0111] A dividing unit, used for calculating superimposed data of the projection bounding box and the partition, and dividing the partition into at least two parts using the superimposed data;

[0112] The calculation unit is used to determine the model size, outline size and relative position of each sub-partition according to the model size, outline size and relative position of each part in the partition.

[0113] Furthermore, the device also includes:

[0114] A judgment module, used for determining, based on the projection bounding box, whether the partition board will be completely penetrated by the partition board before determining the model size, outline size and relative position of each sub-partition board after the partition board is separated according to the projection bounding box, wherein completely penetrated means that the partition board will be divided into two parts by the partition board;

[0115] If not, the isolation operation is not performed.

[0116] Furthermore, the model generation module includes:

[0117] An extension unit, used to extend or retract the insertion end of the partition board model and the profile according to the extension or retraction parameters input by the user;

[0118] The model generating unit is used to generate a cabinet model according to the model and outline of the extended or retracted partition board and the model and outline of the sub-partition board.

[0119] Furthermore, the device also includes:

[0120] The cabinet update module is used to generate the cabinet model according to the model and outline of the sub-partition. If the cabinet size update operation is obtained, the size of the partition and the partition board is adjusted according to the size parameters input by the user, and the partition operation is performed using the projection of the adjusted partition board to the adjusted partition board.

[0121] Furthermore, the device also includes:

[0122] A connection determination module, used for determining, before generating the cabinet model according to the model and outline of the sub-partition, a partition that has a connection relationship with the sub-partition and already exists in the cabinet as a connected partition;

[0123] A relationship building module, used to establish a dependency relationship between a sub-partition and a connected partition, wherein the partition effect of the sub-partition depends on the connected partition;

[0124] The device also includes:

[0125] The deletion module is used to generate a cabinet model according to the model and outline of the sub-partition. If a deletion operation of a connected partition is obtained, the connected partition is deleted, and the partition effect of the sub-partition is deleted together according to the dependency relationship.

[0126] Furthermore, the device also includes:

[0127] The penetration module is used to determine whether the sub-partition will be completely penetrated by the partition after the connected partition is deleted. If not, the sub-partition is extended so that the sub-partition will be completely penetrated by the partition.

[0128] Furthermore, the device also includes:

[0129] The module is modified again, and after the cabinet model is generated according to the model and outline of the sub-partition, if a partition operation of adding a new partition to the sub-partition is obtained, the sub-partition is used as the partitioned board, and the new partition is used as the partitioning board, and the operation of "determining the model size, outline size and relative position of each sub-partition after the partitioned board is partitioned according to the projection bounding box" is returned.

[0130] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0131] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0132] Figure 8 A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0133] like Figure 8 As shown, the device 400 includes a computing unit 410, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 420 or a computer program loaded from a storage unit 480 into a random access memory (RAM) 430. In the RAM 430, various programs and data required for the operation of the device 400 can also be stored. The computing unit 410, the ROM 420, and the RAM 430 are connected to each other via a bus 440. An input / output (I / O) interface 450 is also connected to the bus 440.

[0134] A number of components in the device 400 are connected to the I / O interface 450, including: an input unit 460, such as a keyboard, a mouse, etc.; an output unit 470, such as various types of displays, speakers, etc.; a storage unit 480, such as a disk, an optical disk, etc.; and a communication unit 490, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 490 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0135] The computing unit 410 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 410 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 410 performs the various methods and processes described above, such as the method object selection method. For example, in some embodiments, the method object selection may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 480. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via the ROM 420 and / or the communication unit 490. When the computer program is loaded into the RAM 430 and executed by the computing unit 410, one or more steps of the method object selection method described above may be performed. Alternatively, in other embodiments, the computing unit 410 may be configured to perform the method object selection method by any other appropriate means (e.g., by means of firmware).

[0136] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs, which may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general programmable processor, which may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0137] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0138] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0139] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0140] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0141] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0142] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0143] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A cabinet design method, characterized in that: The method comprises: If the user's partition operation is obtained, the projection of the surface of the partition board opposite to the partition board to the partition board is calculated to obtain the projection bounding box of the partition board on the plane of the partition board; According to the projection bounding box, the model size, outline size and relative position of each sub-partition after the partition is separated are determined; According to the model size, outline size and relative position of the sub-partition, the model data copy and outline data copy of the partition are adjusted to obtain the model and outline of the sub-partition; Generate a cabinet model based on the sub-partition model and outline.

2. The method according to claim 1, characterized in that The step of determining the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box includes: Calculate the superposition data of the projection bounding box and the partition, and divide the partition into at least two parts using the superposition data; The model size, outline size and relative position of each sub-partition are determined according to the model size, outline size and relative position of each part in the partition.

3. The method according to claim 1, characterized in that Before determining the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box, the method further includes: According to the projection bounding box, determine whether the partition board will be completely penetrated by the partition board, wherein completely penetrated means that the partition board will be divided into two parts by the partition board; If not, the isolation operation is not performed.

4. The method according to claim 1, characterized in that: The step of generating a cabinet model according to the model and the outline of the sub-partition comprises: Extend or retract the insertion end of the partition board model and profile according to the extension or retract parameters entered by the user; The cabinet model is generated according to the model and outline of the extended or retracted partition board and the model and outline of the sub-partition board.

5. The method according to claim 1, characterized in that: After the cabinet model is generated according to the model and outline of the sub-partition, the method further includes: If the cabinet size update operation is obtained, the sizes of the partition board and the partition board are adjusted according to the size parameters input by the user, and the partition operation is performed using the projection of the adjusted partition board to the adjusted partition board.

6. The method according to claim 1, characterized in that Before generating the cabinet model according to the model and outline of the sub-partition, the method further includes: Determine the existing partitions in the cabinet that are connected to the sub-partitions as connected partitions; Establish a dependency relationship between the sub-partition and the connected partitions, where the partition effect of the sub-partition depends on the connected partitions; After generating the cabinet model based on the sub-partition model and outline, it also includes: If a deletion operation of a connected partition is obtained, the connected partition is deleted, and according to the dependency relationship, the partition effect of the sub-partition is deleted together.

7. The method according to claim 6, characterized in that After deleting the connected partitions, the method further includes: It is determined whether the sub-partition is to be completely penetrated by the partition. If not, the sub-partition is extended so that the sub-partition is to be completely penetrated by the partition.

8. The method according to claim 1, characterized in that After the cabinet model is generated according to the model and outline of the sub-partition, the method further includes: If a partition operation of adding a new partition to a sub-partition is obtained, the sub-partition is used as the partitioned plate and the new partition is used as the partitioning plate, and the operation of "determining the model size, outline size and relative position of each sub-partition after the partitioned plate is partitioned according to the projection bounding box" is returned.

9. A cabinet design device, characterized in that: The device comprises: A projection module, for calculating the projection of the surface of the partition board opposite to the partition board to the partition board if a partition operation by the user is obtained, and obtaining a projection bounding box of the partition board on the plane of the partition board; A geometric calculation module is used to determine the model size, outline size and relative position of each sub-partition after the partition is separated according to the projection bounding box; A parameter adjustment module is used to adjust the model data copy and the outline data copy of the partitioned plate according to the model size, outline size and relative position of the sub-partition plate to obtain the model and outline of the sub-partition plate; The model generation module is used to generate a cabinet model according to the model and outline of the sub-partition.

10. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

12. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.