Parametric drive modeling method and modeling system, electronic device and storage medium
By acquiring the basic and specific parameters of the three-dimensional spatial model, sub-component models of the board elements are generated, and layered storage and encryption are performed. This solves the shortcomings of existing three-dimensional modeling methods in terms of flexibility and confidentiality, and realizes integrated and efficient modeling from cabinet design to production.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 司空定制家居科技有限公司
- Filing Date
- 2024-07-05
- Publication Date
- 2026-04-17
AI Technical Summary
Existing 3D modeling methods lack flexibility when facing diverse user needs, are difficult to be compatible with processing data, and are not closely integrated with design and production, resulting in poor confidentiality and easy copying and plagiarism.
By acquiring the basic and specific parameters of the 3D spatial model, sub-component models of the sheet metal element are generated, and physical and production parameters are determined based on these parameters. This enables hierarchical storage and encryption of the modeling data, and combined with a web application, it supports deployment on multiple terminals and in various environments.
It achieves integration from cabinet design to production, improves the flexibility and confidentiality of modeling, adapts to more application scenarios, simplifies user operation, and improves operating speed and deployment convenience.
Smart Images

Figure CN118862468B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a modeling method in the field of decoration, and more particularly to a parametric driven modeling method and modeling system, electronic device and storage medium. Background Technology
[0002] Prefabricated and custom-made furniture refers to furniture that is pre-defined or individually designed and manufactured by designers based on consumer needs and the characteristics of the home space. These include various product lines such as wardrobes, cabinets, wooden doors, wall panels, bathroom fixtures, dressing tables, and modular cabinets, aiming to meet the personalized needs of different consumers.
[0003] Prefabricated and custom furniture, due to their customization and prefabrication characteristics, require designers to design specifications in advance and provide interfaces for users to modify. Various design software has been developed for this purpose, such as internationally renowned software like Microvellum, CabinetVision, and IMOS, as well as domestic software like Huaguang, Yuanfang, and Zhimu. These software can meet the basic requirements of modeling and modification, but they still have many shortcomings in meeting the diverse needs of users. They still require a lot of repetitive work from designers, and their integration with production is not close enough.
[0004] Furthermore, existing journal patent literature also introduces many furniture modeling methods. For example, Chinese patent CN112560155B discloses a method for describing and generating base models in furniture design, which can quickly and with high degree of freedom complete the generation, editing, and customization of bases. Users do not need to perform complex configurations for each base model, care about the point and line coordinates of the generated bases, or perform too much repetitive work. They only need to simply set the desired final result to complete the entire editing operation. If users are not satisfied with the finished effect, they can also select individual bases for editing to achieve a personalized effect. The common parametric model used for the bases is a tree structure. This modeling method does facilitate the design work of designers and avoid repetitive work, but it is not closely integrated with production, and its confidentiality is not good enough, making it easy for competitors to copy.
[0005] US patent application US20230274045A1 discloses a BIM-based three-dimensional (3D) parametric modeling: (1) all building information is expressed in a unified form in the building information model, realizing the integration and complete sharing of building information; (2) collision checks and deviation corrections are performed on the parametric model through relevant BIM detection software, and the constructed 3D model is inspected in real time through virtual roaming; (3) progress and cost information are added to the qualified 3D model, and quality and safety management is carried out using radio frequency technology and on-site IoT sensing devices; (4) resource analysis, audit analysis and five-dimensional (5D) construction simulation are performed; (5) intelligent drawing is performed on prefabricated buildings, and structural information is extracted through the integrated platform for prefabricated building production, sales and construction, extracting the building, structure and mechanical and electrical BIM models, and generating drawings with quick response (QR) codes. This technology realizes the integration of production, sales and construction, but it is still limited by the parameters of the 3D model itself, making modification and personalized design relatively difficult.
[0006] It is evident that existing 3D modeling methods, especially when dealing with irregularly shaped sheet materials, are either inflexible and unable to adapt to changing user needs, lack processing information which increases the burden on production schedulers, or lack sufficient confidentiality, making them easy for competitors to copy. Therefore, researching and developing a parametrically driven modeling method and system that addresses at least one of these aspects is of paramount importance. Summary of the Invention
[0007] In view of this, the main objective of the present invention is to provide a parametrically driven modeling method and modeling system, electronic device and storage medium, in order to at least partially overcome the above-mentioned technical problems.
[0008] To achieve the above objectives, as a first aspect of this application, a parameterized driven modeling method is proposed, comprising the following steps:
[0009] The system retrieves the basic and specific parameters of the 3D spatial model to be modeled on the web interface, and creates a sub-component model of a panel element of the 3D spatial model; wherein, the basic parameters include the type / number, material, color and / or finish information of the 3D spatial model; the specific parameters include parameters in the panel element that can be adjusted by the user;
[0010] Based on the acquired basic and specific parameters, the physical and production parameters corresponding to each sheet element of the three-dimensional spatial model are determined.
[0011] Based on the obtained basic parameters, specific parameters, and corresponding production parameters, modeling data for the three-dimensional spatial element is generated.
[0012] As a second aspect of this application, a parameterized driven modeling system is proposed, comprising:
[0013] The input module is used to input the basic parameters of the three-dimensional spatial model to be modeled, as well as the specific parameters of at least one sheet element; wherein, the basic parameters include the type / number, material, color and / or finish information of the three-dimensional spatial model; the specific parameters include the parameters of the sheet element that can be adjusted by the user;
[0014] The parameter conversion module is used to determine the physical parameters and production parameters corresponding to all sheet metal components of the three-dimensional spatial model based on the basic parameters and specific parameters input by the input module.
[0015] The model building module is used to generate modeling data for the three-dimensional spatial model based on the basic parameters, specific parameters, and corresponding production parameters.
[0016] As a third aspect of this application, an electronic device is proposed, comprising:
[0017] Memory is used to store computer programs that can be executed on a processor;
[0018] A processor is used to execute a computer program stored in the memory to implement the parameterized driven modeling method as described above.
[0019] As a fourth aspect of this application, a computer-readable medium is proposed that stores processor-executable non-volatile program code for performing the parameterized driven modeling method as described above.
[0020] Based on the above technical solutions, it can be seen that the parameterized driven modeling method and modeling system of the present invention have at least one of the following beneficial effects compared with the prior art:
[0021] 1. The solution proposed in this application allows for the simultaneous inclusion of processing data during the modeling of the sheet metal, enabling the modeling process to accommodate complex processing data and achieving integration from cabinet design to production.
[0022] 2. The solution proposed in this application allows for more flexible configuration of input parameters, makes it easier for users to set conditions, and adapts to more application scenarios.
[0023] 3. The solution proposed in this application can improve the flexibility of printing confidential documents, thereby enhancing the level of technical confidentiality without affecting the user experience;
[0024] 4. The solution proposed in this application can be adapted to more models and environments as the web application is deployed, has high portability, is easy to deploy and implement, and runs quickly. Attached Figure Description
[0025] Figure 1 A flowchart of the parameterized driven modeling method of this application;
[0026] Figure 2 This is a schematic diagram illustrating the selection of a model from a model library in the web interface of a parametrically driven modeling system according to an embodiment of this application.
[0027] Figure 3 and Figure 4 These are schematic diagrams of modeling models of sheet metal components placed in a modeling reference coordinate system, according to an embodiment of this application. Figure 3 It is a standard rectangular plate. Figure 4 It is a chamfered rectangular plate;
[0028] Figure 5 This is a schematic diagram of the initial modeling of an embodiment of this application;
[0029] Figure 6 This is a schematic diagram of the basic parameters of a sheet metal component according to an embodiment of this application;
[0030] Figure 7 This is a schematic diagram illustrating the personalized parameters involved in the basic parameters of a sheet metal component according to an embodiment of this application;
[0031] Figure 8 This is a schematic diagram of the milling path of a chamfered rectangular plate according to an embodiment of this application;
[0032] Figure 9 This is a schematic diagram of a cabinet model including side panels and a top panel according to an embodiment of this application;
[0033] Figure 10 This is an exploded view of the various panel components to be assembled according to an embodiment of this application;
[0034] Figure 11 This is a schematic diagram of a model of the assembled panel components according to an embodiment of this application;
[0035] Figure 12A , 12B These are top views of a chamfered plate according to an embodiment of this application;
[0036] Figure 13 This is a schematic diagram illustrating the placement of a portion of the cabinet in a space to be renovated, according to an embodiment of this application.
[0037] Figure 14 A schematic diagram of the modeling process for one embodiment of this application;
[0038] Figure 15 This is a schematic diagram of the model calculation process for one embodiment of this application;
[0039] Figure 16 This is a schematic diagram of the production data calculation process according to one embodiment of this application;
[0040] Figure 17 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to specific embodiments and accompanying drawings.
[0042] The 3D spatial elements that need to be modeled include various prefabricated buildings, prefabricated furniture, and custom furniture, among which there are a large number of cabinet elements, such as TV cabinets, shoe cabinets, kitchen cabinets, wardrobes, etc. Common cabinet shapes include rectangles, L-shapes, and corner pentagons. These cabinets are assembled from several panels connected by hardware to meet certain spatial distribution rules. The prefabricated and custom-made requirements make them a crucial element in modeling. Furthermore, because customer needs are diverse, cabinet dimensions will vary depending on the decoration environment and / or customer requirements. Therefore, it is necessary to develop corresponding simplified design modeling schemes for their specific spatial structures.
[0043] Furthermore, in existing technologies, design drawings and machining drawings are usually separate. When machining hole positions are involved, since they do not contain machining information, they need to be re-determined during machining, increasing the workload of personnel.
[0044] To address the aforementioned issues, this application proposes a parametric-driven modeling method and system that simultaneously incorporates design parameters and manufacturing data during modeling, while also balancing user flexibility and design confidentiality, thus achieving integration from cabinet design to production.
[0045] Specifically, such as Figure 1 As shown, this application proposes a parameterized driven modeling method, which includes the following steps:
[0046] Step S1: Obtain the basic parameters and specific parameters of the 3D spatial model to be modeled on the Web terminal, and create a sub-component model of a plate element of the 3D spatial model; wherein, the basic parameters include the type / number, material, color and / or finish information of the 3D spatial model; the specific parameters include parameters in the plate element that can be adjusted by the user, such as the geometric dimension information of the chamfer, the arc angle information, and the custom conditional statement information, etc.
[0047] To facilitate user search and use, this application numbers all 3D spatial models that can be parametrically modeled according to their type. Users can then search and select models based on their type or directly enter the overall number. For various standard specifications, a unique number can be pre-set for each specification. For example, for cabinets, widths of 400mm, 500mm, and 600mm can be numbered separately, allowing users to select only the corresponding specification / number without needing to input the specific length / width. Alternatively, certain dimensions, such as width, can be set as adjustable parameters, allowing users to input different values to create non-standard cabinets that meet their specific needs and requirements.
[0048] The specific components of the three-dimensional spatial model in this application include, for example, the following types: point components, line components, surface components, planar object components, path components, contour components, component instance components, model components, milling path components, etc. The purpose of defining these components is to facilitate modeling and processing. Taking a cabinet as an example, the following explanation is provided:
[0049] The cabinet is composed of panels and hardware, where panels and hardware are component examples.
[0050] The sheet metal is composed of 4 point elements, 2 surface elements, and milled path elements (if there are chamfers).
[0051] Hardware consists of mold elements and hole elements (in the case of hardware being connectors).
[0052] Therefore, through the modeling in this application, various spatial parameters, finish types and materials, assembly relationships and hardware connectors of the actual cabinet can be defined.
[0053] The specific parameters need to be preset based on a specific three-dimensional spatial model. For example, for a cabinet with a corner, since the length, width, and height of the cabinet are pre-set standard specifications, only the dimensions at the corner need to be specially set. Therefore, parameters such as corner width and corner depth can be defined for the user to input, or a functional relationship satisfied by the envelope of the corner can be defined, or the aforementioned custom conditional statement information can be used. Specific examples are shown below:
[0054] (1) "Condition?" format statement: The input format is "@condition?value1:value2". When the condition is true, it returns value 1; otherwise, it returns value 2. A corresponding example is "@W>200?200:@W", which means first checking if W is greater than 200. If it is, it returns "200"; otherwise, it returns the value of W itself. This format statement supports multiple nesting.
[0055] (2) "Condition []" format statement: The input format is "value1[condition1]value2[condition2];value3", which means first judging whether the conditions inside "[]" are met. If they are met, the value to the left of "[]" is returned (condition1 corresponds to "value1", condition2 corresponds to "value2"). If they are not met, the value "value3" to the right of ";" is returned. A corresponding example is "100[@WS>500]50[@WS==500];0", which means that @WS meets the conditions inside "[]", such as when it is greater than 500, the value "100" to the left of "[@WS>500]" is taken. If the conditions inside "[@WS>500]" and "@WS==500" are not met, the value "0" to the right of ";" is taken.
[0056] By using custom conditional statements, the scenarios driven by parameterization can be expanded, allowing for more flexible application to complex scenarios, such as interior decoration scenarios with multiple folds and corners, while simplifying the number and complexity of pre-set parameter models.
[0057] Step S2: Based on the basic and specific parameters obtained in step S1, determine the physical and production parameters corresponding to all sheet metal components of the three-dimensional spatial model.
[0058] The physical parameters include, for example, the size parameters, material properties, color and / or finish information mentioned above.
[0059] In this process, for the sub-component model of one of the sheet metal elements created in step S1, the spatial coordinates of the other five or more facets of the sheet metal element sub-component models can be determined based on the spatial relationship of the selected model's three-dimensional spatial model. This allows the determination of the spatial position information of all other sheet metal element sub-component models. For example, for a cabinet with corners, specific parameters need to be input: the width and depth of the corner. Therefore, two corresponding panels need to be constructed in the preset three-dimensional spatial model, one blocking the width direction and the other the depth direction. Their spatial position information can be determined based on the parallelism and mapping relationships in three-dimensional space.
[0060] The production parameters include, for example, the size, material, surface material and / or processing trajectory information of the board, and specific processing methods include, for example, cutting large boards into small boards, cutting corners or making holes, splicing small boards into large boards, etc.
[0061] Since the 3D spatial model is a pre-selected standard model, most of its dimensional and coordinate information are standard values, and its machining information is also pre-optimized standard values. The only remaining focus is on the changes that specific parameters bring to the entire 3D spatial model.
[0062] The processing information includes, for example, chamfering information or processing path information involving specific parameters.
[0063] The cutting angle information includes, for example, the location and angle at which the cut is made on the board. Since the cutter itself has a width, the influence of its width needs to be considered in advance when calculating the starting position of the cutter.
[0064] The processing path information includes, for example, processing information that can be directly input into CNC machine tools, such as milling, cutting, and drilling machine tools, including starting position information, cutting tool angle changes, and drilling depth.
[0065] Therefore, for all sub-component models of sheet metal elements, the actual calculations required include: taking the cabinet parameters as input, calculating the following parameters of the sheet metal elements: sheet metal position, size, rotation, contour, milling cutter machining path, slot, material, etc.
[0066] Specifically, step S2, which involves determining the physical and production parameters corresponding to all sheet metal components of the three-dimensional spatial model based on the basic and specific parameters obtained in step S1, includes the following steps:
[0067] Based on the specific parameters of at least one surface (at least one sheet metal element), the corresponding production parameters are automatically generated.
[0068] Based on the spatial positional relationships of the three-dimensional spatial model, the spatial positional coordinates of the remaining surfaces (other sheet metal components) other than the at least one surface are determined, and the corresponding production parameters are automatically generated.
[0069] In one specific implementation, the step of determining the physical parameters and production parameters corresponding to all sheet metal components of the three-dimensional spatial model based on the basic parameters and specific parameters obtained in step S1 specifically includes:
[0070] Obtain specific parameters (corner information) corresponding to a sheet metal component, and determine at least one milling path data corresponding to the sheet metal component based on the corner information corresponding to the sheet metal component;
[0071] The milling path data is stored in the corresponding production parameters.
[0072] Each milling path data includes: milling cutter path start information and milling cutter path end information.
[0073] Step S3: Based on the basic parameters, specific parameters, and corresponding production parameters obtained in steps S1 and S2, generate the modeling data for the three-dimensional spatial model.
[0074] In step S1, only the sub-part model of one of the sheet metal elements is generated. In step S2, the sub-part models of all other sheet metal elements are generated. However, these sub-part models exist independently and need to be merged into the overall model. Therefore, they need to be combined using hardware and interconnecting parts. It is necessary to check whether they meet the spatial collision rules and consistency rules.
[0075] Specifically, this part includes, for example, hardware calculation, spatial collision rule calculation, and optional consistency rule calculation. Hardware calculation includes, for example, using the parameters of the sheet metal component as input, calculating the parameters of the hardware model of the sheet metal component (position, size, rotation, hole positions, material properties, etc. of the hardware model).
[0076] For spatial collision rule calculation, some algorithms known in the field can be used to input the parameters of each sub-component model for verification. If spatial overlap or conflict is found, it can be resolved by means of opening holes / grooving, forming V-shaped tenon joints, etc.
[0077] The consistency rule calculation is not a mandatory step, but it can be used as a quality inspection step to check whether the installed hardware, mortise and tenon structure, and shelf fixing position can match each other in the various sub-component models. For example, if the height of the cabinet door hinges is inconsistent on the cabinet door panel and the side panel, it may cause the cabinet door panel to not be able to close properly after installation, or to not cover the cabinet body, leaving gaps at the top or bottom, affecting the overall aesthetics.
[0078] After the above further refinement operations, the modeling data of the three-dimensional spatial model can be obtained, including physical data and production parameters.
[0079] In this application, in order to protect some of the technical secrets of the processing enterprise, the principle of separating user data and production data can be further realized. Thus, users only need to input personalized information and specific parameter data, without having to worry about how the product is actually produced and processed. The factory can then directly convert the user's input into production parameters using the method of this application, which facilitates subsequent processes.
[0080] Specifically, the modeling data of the three-dimensional spatial model described in this application is divided into three layers, for example:
[0081] The first layer of data is the modeling data, which can be flexibly set based on specific scenarios. For example, for a cabinet model, it can include cabinet components, board components, and processing information components, while for other components, it can include other parameters.
[0082] The second layer includes: cabinet components and board components;
[0083] The third layer includes: cabinet components, cabinet component parameters, board components and parameters of each board component, and production parameters of each board component.
[0084] The data at different levels is processed by different data users according to pre-defined rules. For ordinary users, they can only access the second level of data. This simplifies the user's choices, as they do not need to worry about the specific steps and only need to input personalized parameters and characteristic parameters to get the desired product. It also strengthens the confidentiality of the manufacturer's unique processing technology. Some of its unique processing paths and process information only circulate within the internal system and will not be disclosed to unrelated external personnel.
[0085] Therefore, by setting up and encrypting multiple layers of data, different layers of data can be targeted at different usage scenarios and different users, thereby hiding and protecting some critical production and processing secret data.
[0086] The parameterized driven modeling method described in this application can run on various platforms and environments. For example, it can be a standalone desktop computer running on a separate software program, or a networked terminal device such as a desktop computer, laptop, iPad, or electronic assistant. It can also be a networked standalone app, WeChat mini-program, or web application. Preferably, it is implemented through a web application running on a B / S architecture system, including mobile applications, client applications, and web applications. Web applications are convenient for compatibility with more device models and platforms, offer flexible deployment, are easy to maintain, and facilitate upgrades and expansions.
[0087] In a preferred embodiment, the modeling method of this application is implemented through a web-based application, and the specific implementation means of this method include, for example:
[0088] (1) Implement the UI and interactive business logic using HTML and JavaScript technologies;
[0089] (2) Use WebGL and WebGPU technologies to achieve 2D and 3D visualization design;
[0090] (3) The Wasm technology is used to optimize the time-consuming calculation logic of 3D modeling, and the specific implementation method is applied for separately (application number: 202410395649.1);
[0091] (4) Adopt cloud storage technology to improve the storage capacity of component and solution data;
[0092] (5) Use server-side computing technology to improve the efficiency and security of the solution process calculation.
[0093] This invention also discloses a parameterized driven modeling system, comprising:
[0094] The input module is used to input the basic parameters of the three-dimensional spatial model to be modeled, as well as the specific parameters of at least one sheet element; wherein, the basic parameters include the type / number, material, color and / or finish information of the three-dimensional spatial model; the specific parameters include the parameters of the sheet element that can be adjusted by the user;
[0095] The parameter conversion module is used to determine the physical parameters and production parameters corresponding to all sheet metal components of the three-dimensional spatial model based on the basic parameters and specific parameters input by the input module.
[0096] The model building module is used to generate modeling data for the three-dimensional spatial model based on the basic parameters, specific parameters, and corresponding production parameters. To facilitate user searching, this application numbers all three-dimensional spatial models capable of parametric modeling according to their type and places them in a model library. Users can then search and select models based on their type or directly input the overall number. For various standard specifications, a numbering system can be pre-set for each specification. For example, for cabinets, widths of 400mm, 500mm, and 600mm can be numbered separately, requiring only the selection of the corresponding specification / number without needing to input the specific length / width. Alternatively, the width can be set as an adjustable parameter, allowing users to input different values to obtain cabinets with specifications tailored to their individual needs.
[0097] The specific parameters can be preset based on a specific three-dimensional spatial model. For example, for a cabinet with a corner, since the length, width and height of the cabinet are preset standard specifications, only the dimensions at the corner need to be specially set. Thus, parameters such as corner width and corner depth can be defined for the user to input, or the function relationship satisfied by the envelope of the corner can be defined, or the aforementioned custom conditional statement information can be defined.
[0098] The specific parameters can also be flexibly added or removed based on specific application scenarios. For example, the cabinet with a corner mentioned above can also have its open width adjusted or its height adjusted according to user needs. Users only need to input the width and / or height as specific parameters, and the system will automatically perform parameterized driving modeling calculations to obtain the corresponding updated three-dimensional space model of the cabinet.
[0099] The following is a specific example of a custom conditional statement:
[0100] (1) "Condition?" format statement: The input format is "@condition?value1:value2". When the condition is true, it returns value 1; otherwise, it returns value 2. A corresponding example is "@W>200?200:@W", which means first checking if W is greater than 200. If it is, it returns "200"; otherwise, it returns the value of W itself. This format statement supports multiple nesting.
[0101] (2) "Condition []" format statement: The input format is "value1[condition1]value2[condition2];value3", which means first judging whether the conditions inside "[]" are met. If they are met, the value to the left of "[]" is returned (condition1 corresponds to "value1", condition2 corresponds to "value2"). If they are not met, the value "value3" to the right of ";" is returned. A corresponding example is "100[@WS>500]50[@WS==500];0", which means that @WS meets the conditions inside "[]", such as when it is greater than 500, the value "100" to the left of "[@WS>500]" is taken. If the conditions inside "[@WS>500]" and "@WS==500" are not met, the value "0" to the right of ";" is taken.
[0102] By using custom conditional statements, the scenarios driven by parameterization can be expanded, allowing for more flexible application to complex scenarios, such as interior decoration scenarios with multiple folds and corners, while simplifying the number and complexity of pre-set parameter models.
[0103] The production parameters determined by the parameter conversion module include, for example, the size, material, surface material and / or processing trajectory information of the board. Specific processing methods include, for example, cutting large boards into small boards, cutting corners or making holes, splicing small boards into large boards, etc.
[0104] Since the 3D spatial model is a pre-selected standard model, most of its dimensional and coordinate information are standard values, and its machining information is also pre-optimized standard values. The only remaining focus is on the changes that specific parameters bring to the entire 3D spatial model.
[0105] The processing information includes, for example, chamfering information or processing path information involving specific parameters.
[0106] The cutting angle information includes, for example, the location and angle at which the cut is made on the board. Since the cutter itself has a width, the influence of its width needs to be considered in advance when calculating the starting position of the cutter.
[0107] The processing path information includes, for example, processing information that can be directly input into CNC machine tools, such as cutting and drilling machine tools, including starting position information, cutting tool angle changes, drilling depth, etc.
[0108] The model building module includes a spatial collision rule verification module and a consistency rule verification module.
[0109] Among them, the spatial collision rule verification module can use some algorithms known in the field to verify the parameters of each sub-component model. If there are spatial overlaps or conflicts, they can be resolved by means of opening holes / grooves, forming V-shaped tenon joints, etc.
[0110] The consistency rule verification module checks whether the installed hardware, mortise and tenon structure, and shelf fixing position can match each other in the various sub-component models. For example, if the height of the cabinet door hinge is inconsistent on the cabinet door panel and the side panel, it may cause the cabinet door panel to be unable to close properly after installation, or to fail to cover the cabinet body, leaving gaps at the top or bottom, affecting the overall aesthetics.
[0111] Therefore, after the verification operations of the two verification modules mentioned above, the model building module can obtain the modeling data of the three-dimensional spatial model, including spatial location coordinate data and production parameters.
[0112] To protect the technical secrets of processing enterprises, the principle of separating user data and production data can be further implemented. Users only need to input personalized information and specific parameter data, without having to worry about how the product is actually produced. The factory can then automatically convert the user's input into production parameters using the method described in this application, facilitating subsequent processes.
[0113] Specifically, the modeling data of the three-dimensional spatial model described in this application is divided into three layers, for example:
[0114] The first layer of data is the modeling data, which can be flexibly set based on specific scenarios. For example, for a cabinet model, it can include cabinet components, board components, and processing information components, while for other components, it can include other parameters.
[0115] The second layer includes: cabinet components and board components;
[0116] The third layer includes: cabinet components, cabinet component parameters, board components and parameters of each board component, and production parameters of each board component.
[0117] The data at different levels is processed by different data users according to pre-defined rules. For ordinary users, they can only access the second level of data. This simplifies the user's choices, as they do not need to worry about the specific steps and only need to input personalized parameters and characteristic parameters to get the desired product. It also strengthens the confidentiality of the manufacturer's unique processing technology. Some of its unique processing paths and process information only circulate within the internal system and will not be disclosed to unrelated external personnel.
[0118] Therefore, by setting up and encrypting multiple layers of data, different layers of data can be targeted at different usage scenarios and different users, thereby hiding and protecting some critical production and processing secret data.
[0119] The input module of the parametric-driven modeling system described in this application can run on various platforms and environments. For example, it can be a standalone desktop computer running on a separate software program, or it can be a networked terminal device, such as a desktop computer, laptop, iPad, or electronic assistant, or a networked standalone app, WeChat mini-program, or web application. Preferably, it is a web application running on a B / S architecture system, including mobile applications, client applications, and web applications. Web applications are convenient for compatibility with more device models and platforms, offer flexible deployment, are easy to maintain, and facilitate upgrades and expansions.
[0120] The present invention also discloses an electronic device, comprising:
[0121] Memory is used to store computer programs that can be executed on a processor;
[0122] A processor is used to execute a computer program stored in the memory to implement the parameterized driven modeling method as described above.
[0123] Figure 17 A structural block diagram suitable for implementing the above-described electronic device of the present invention is shown. For example... Figure 17 As shown, the electronic device includes a processor 31 and a memory 32, wherein the memory 32 includes a storage space 33 for storing program code (computer program), wherein program code 34 for performing the above-described method steps according to the present application is stored.
[0124] Electronic devices typically include a variety of computer-readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, and removable and non-removable media.
[0125] Memory 32 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Memory 32 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0126] A program / utility having a set (at least one) of program modules can be stored in memory 32. Such program modules include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules typically perform the functions and / or methods described in the embodiments of this invention.
[0127] The processor 31 performs various functions by running program code stored in the memory 32, such as implementing the parameterized driven modeling method of this application.
[0128] The present invention also discloses a storage medium storing processor-executable program code for executing the parameterized driven modeling method described above.
[0129] This invention provides a non-transitory computer-readable storage medium that stores computer instructions, which cause the computer to execute embodiments of this invention. Figure 1 The cabinet modeling method provided in the illustrated embodiment.
[0130] The aforementioned computer-readable storage medium may take the form of any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0131] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0132] Computer program code for performing the operations of embodiments of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0133] The present invention will be further illustrated below through specific embodiments. It should be noted that the following embodiments are merely illustrative and not intended to limit the present invention.
[0134] Example 1
[0135] Please refer to Figure 1 , Figure 1 This is a flowchart of the parameterized driven modeling method in this embodiment. The parameterized driven modeling method involves user input on the Web side and algorithm and driver deployment on the network side. The specific modeling method includes the following steps:
[0136] Step S1: Enter the model type selected by the user, and enter the basic parameters and specific parameters of the model.
[0137] The model types are, for example, numbered based on the categories of models in a model library. Figure 2As shown, the model library can be categorized and displayed on a web-based user interface, such as cabinets, entryways, complete bathrooms, doors, archways, and bathroom vanities. Alternatively, it can be directly located based on user-inputted numbers (a combination of numbers and / or letters). Each model has standardized specifications and is modeled parametrically. Therefore, most of its dimensional information is preset and standardized, with only a small portion allowing user adjustment accepting specific parameter inputs. This greatly simplifies the design and production of the entire model, satisfying both the need for rapid mass production of standard parts and providing users with appropriate modification and personalization options. In this embodiment, for example, if a user selects a square, six-sided bathroom cabinet, the user does not need to input structural parameters such as length, width, and height, as these are pre-set according to standard component specifications. The user only needs to select the cabinet of the appropriate size from the standard component series. For example, the system can provide a series of standard bathroom cabinets with lengths of 250mm, 300mm, 350mm, 400mm, 450mm, and 500mm, and two or three series of heights, such as 400mm, 500mm, and 600mm. Thus, the user only needs to select the appropriate specification from the drop-down list.
[0138] Therefore, users only need to input the basic parameters of the model, such as... Figure 7 The model shown includes its core material, panel material, color, texture, etc.
[0139] The specific system settings are as follows:
[0140] Selected type: Standard width 500mm bathroom vanity;
[0141] The sheet metal dimension parameters are defined as follows: Figure 6 As shown:
[0142] Width parameter: @W = 500;
[0143] Depth parameter: @D = 400;
[0144] Thickness parameter: @H=20.
[0145] Material information definition of sheet metal is as follows: Figure 7 As shown (basic parameters):
[0146] Material: Wanhua ENF grade;
[0147] Material: Amazonian walnut.
[0148] The system divides the modeling data into three layers for separate storage and access based on permissions:
[0149] The first layer of data is the modeling data. Its specific representation is as follows:
[0150] ChestElement, cabinet components
[0151] --child:PlaneElement (Plane Component)
[0152] ----child: TechnologyMillingTrackElement (Processing Information Element)
[0153] The second layer of data corresponds to the scene structure data, including cabinet components and panel components; the specific representation is as follows:
[0154] ChestElement, cabinet components
[0155] --child:PlaneElement (Plane Component)
[0156] The third layer of data includes: cabinet components, cabinet component parameters, board components and parameters of each board component, and production parameters of each board component. The specific representation is as follows:
[0157] ChestNode, cabinet instance data
[0158] --child:PlaneNode, board instance data
[0159] ----child:TechnologyMillingTrackNode Processing information path data.
[0160] Among them, only the second layer of data is user-facing. Compared with the cabinet and panel instance data in the third layer, the data stored in the second layer does not include specific production and processing parameter values. However, the processing path data in the third layer of data, which is user-facing, corresponds to the production parameters of each panel component. Through hierarchical storage and access control, the independence and confidentiality of cabinet data and processing parameter data can be guaranteed, thereby improving data security.
[0161] Example 2
[0162] The parametric-driven modeling method in this embodiment is basically the same as that in Embodiment 1, except that the selected cabinet model is not of standard specifications, and its width and depth can be manually input to meet different user needs. Thus, the user can input any width parameter @W and depth parameter @D. The parametric-driven modeling system of this application, based on the background component library and rule library, searches for matching components, such as margin adjustment panels, rounds the width and depth values, performs the most suitable splicing process, and then constructs the model, calculating the dimensions and processing parameters of the plates used on each surface based on spatial relationships. The specific splicing and splitting method will be applied for in another application (application number: 202410395650.4), which is cited here for reference.
[0163] Example 3
[0164] The parametric-driven modeling method in this embodiment is basically the same as that in Embodiment 1, except that the selected cabinet model is a left front-cut column cabinet. Except for the standard cabinet dimensions of the cut corner, no other dimensions need to be entered. Only the user-customized selections in the basic parameters and the specific parameters involving the corners (left front corner - width, left front corner - depth) need to be entered. Thus, the parametric-driven modeling system of this application constructs the model based on the backend component library and rule library, and calculates the dimensions and processing parameters of the plates used on each surface based on the spatial position relationship.
[0165] The specific calculation process is shown below:
[0166] 1. Create the model of the sub-component of the board (e.g.) Figure 3 , 4 As shown, this is an example of different sheet metal components.
[0167] 1. The definition of sheet metal dimension parameters is as follows: Figure 6 As shown (the standard cabinet system is predefined):
[0168] Width parameter: @W = 500;
[0169] Depth parameter: @D = 400;
[0170] Thickness parameter: @H=20.
[0171] 2. Material information definition for sheet metal parts, as follows: Figure 7 As shown (user-customized input):
[0172] Material: Wanhua ENF grade;
[0173] Material: Amazonian walnut.
[0174] 3. Customizable chamfer parameters (adjustable open parameters, user-input specific parameters):
[0175] Front left corner - width: BFQJKD4 = 200;
[0176] Front left corner - depth: BFQJSD4 = 200.
[0177] 4. Tool milling path definition as follows Figure 8 As shown:
[0178] Based on the above preset parameters and the specific parameters input by the user, the system calculates the tool milling path according to the preset position logic, and obtains the following path 1 and path 2.
[0179] Path 1: Start point: (BFQJKD4, @D, 0), End point: (BFQJKD4, @D-BFQJSD4, 0);
[0180] Path 2: Start point: (BFQJKD4, @D-BFQJSD4, 0), End point: (0, @D-BFQJSD4, 0).
[0181] Path 1 is used to mill one edge from the outside to the inside, and Path 2 is used to mill another edge from the inside to the outside by turning 90° from the end point of Path 1.
[0182] 5. The sub-component models of the remaining plates can be established based on the system's predefined parameters or by deriving and calculating the corresponding parameters based on the coordinate parameters of the aforementioned plates with chamfered corners.
[0183] II. Creating cabinet components (such as...) Figure 5 (As shown)
[0184] 1. Cabinet Dimension Parameter Definition (Predefined in standard cabinet systems):
[0185] Width parameter: @W = 600;
[0186] Depth parameter: @D=550;
[0187] Thickness parameter: @H=2060.
[0188] 2. Custom parameters (adjustable open parameters, user-input specific parameters):
[0189] Chamfer width: QW = 150;
[0190] Cutting depth: QD = 300;
[0191] Left side plate thickness: ZCHD = 18;
[0192] Right side plate thickness: YCHD = 18.
[0193] 3. Add a missing corner top plate component and set the plate properties.
[0194] Width = @W - ZCHD - YCHD; (Formula meaning: Panel width = Cabinet width - Left side panel thickness - Right side panel thickness)
[0195] Depth = @D; (Formula meaning: Panel depth = Cabinet depth)
[0196] Thickness = @HS; (Formula meaning: Plate thickness = default plate thickness (thickness when the corner-cut top plate component is created))
[0197] Position x = ZCHD; (Formula meaning: x-axis position of the plate = thickness of the left side plate)
[0198] Position y = 0;
[0199] Position z = @H - @HS; (Formula meaning: Panel y-axis position = cabinet height - panel thickness)
[0200] Placement method = lay flat.
[0201] 4. For example Figure 9 As shown, add the left side panel component and set its properties.
[0202] Width = @H; (Formula meaning: Panel width = Cabinet height)
[0203] Depth = @D - QD; (Formula meaning: Panel depth = Cabinet depth - Chamfer depth)
[0204] Thickness = @HS; (Formula meaning: Plate thickness = default plate thickness (thickness when the corner-cut top plate component is created))
[0205] Position x = 0;
[0206] Position y = 0;
[0207] Position z = 0;
[0208] Placement method = Vertical placement; (Formula meaning: Rotating the plate from a horizontal position to a vertical position (see the position transformation corresponding to the placement method for details))
[0209] 5. Add the remaining board components and set their properties, thus obtaining the following: Figure 10 , 11 The cabinet component model shown.
[0210] Figure 14 This is a schematic diagram of the modeling process in this embodiment. Figure 15 This is a schematic diagram of the model calculation process in this embodiment. Figure 16 This is a schematic diagram of the production data calculation process in this embodiment. Figure 14-16 As shown, after obtaining various sub-component models based on the above steps using chamfering, it is possible to... Figure 14-16The steps shown complete the remaining calculations for the model and further yield production data that can be used for production.
[0211] Example 4
[0212] Same as in Example 3, except that the chamfer on the chamfering plate is not as shown. Figure 12A The square chamfer shown is not as shown. Figure 12B The system can first define the radius of this sector-shaped chamfer as a specific parameter for user input. Then, based on the user-inputted parameter and various preset parameters, the system executes the parameterized driven modeling method described above, thereby obtaining a similar... Figure 11 A standing cabinet with rounded corners.
[0213] Example 5
[0214] This embodiment illustrates the usage of custom conditional statement information. This usage overcomes the limitations of existing solutions that cannot define conditional statements, leading to situations requiring separate solutions for multiple scenarios, resulting in insufficient flexibility, system complexity, and susceptibility to errors. To eliminate these problems, this embodiment adds a custom conditional statement in step S1, allowing multiple scenarios to be combined into a single solution based on judgment conditions.
[0215] Specifically, for example, if we need to model a trim strip with exposed panels, and since this trim strip is a standard size, a portion needs to be cut off when the cabinet is particularly narrow, while the standard size can be used when the cabinet depth exceeds a certain value. Therefore, we can set up the following conditional statements:
[0216] “Depth@D [Depth@D <= Width value of exposed panel of edge trim]; Width value of edge trim support plate.”
[0217] Therefore, when the cabinet depth @D is less than or equal to the width of the exposed panel of the trim strip, the width of the exposed panel of the trim strip is taken as the value of the cabinet depth @D. When the above condition is not met, the width of the exposed panel of the trim strip is taken as the width of the trim strip support plate. This allows the specific application parameters of two different scenarios to be combined into one model, increasing the flexibility of the model and reducing the complexity of the system model.
[0218] The foregoing has described specific embodiments of the present invention. In some cases, the actions or steps described in the claims may be performed in a different order than those shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0219] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of the invention pertain.
[0220] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A parametrically driven modeling method, characterized by, Includes the following steps: The system retrieves the basic and specific parameters of the 3D spatial model to be modeled on the web platform, and creates a sub-component model of a plate element of the 3D spatial model. The basic parameters include the type / number, material, color, and / or finish information of the 3D spatial model. The specific parameters include user-adjustable parameters within the plate element. Based on the retrieved basic and specific parameters, the system determines the physical and production parameters corresponding to each plate element of the 3D spatial model. The production parameters include the plate's position, size, rotation, contour, milling cutter path, groove, and / or material composition. Based on the obtained basic, specific, and corresponding production parameters, the system generates modeling data for the 3D spatial element. All 3D spatial models that undergo parametric modeling will be numbered according to their type, allowing users to search and select based on their type, or directly enter the overall number for selection; The specific parameters include geometric dimension information in the three-dimensional space model that can be adjusted by the user. The geometric dimension information that can be adjusted by the user includes the geometric dimension information of the chamfer, the arc angle information, or the user-defined conditional statement information; and / or the specific parameters can be flexibly increased or decreased based on specific application scenarios. The 3D spatial model to be modeled is selected from a predefined model library. Except for personalized and specific parameters that require user input, all other parameters in the model library are pre-set. The parametric-driven modeling method divides the modeling data into three layers during the modeling process: the first layer is the modeling data itself; the second layer includes cabinet components and panel components; the third layer includes cabinet components, cabinet component parameters, panel components and their parameters, and production parameters for each panel component. Different layers of data are processed by different data users according to pre-defined rules. Users can only read the second layer of modeling data and cannot access other layers of data, including processing information components and / or production parameters.
2. The parametrically driven modeling method of claim 1, wherein, User-defined conditional statement information includes two formats: (1) "@condition?value1:value2" format, where "value1" is returned when the condition is true and "value2" is returned when the condition is false; (2) "value1[condition1]value2[condition2];value3" format, where the condition inside "[]" is first judged to see if it is satisfied. If it is satisfied, the value to the left of "[]" is returned. If it is not satisfied, the value to the right of the semicolon "value3" is returned.
3. The parametrically driven modeling method of claim 1, wherein, The production parameters include the dimensions, material, surface texture, and / or processing trajectory information of the sheet material.
4. The parametrically driven modeling method of claim 1, wherein, The step of generating modeling data for a three-dimensional spatial model based on the obtained basic parameters, specific parameters, and corresponding production parameters specifically includes hardware calculation, spatial collision rule calculation, and optional consistency rule calculation; the hardware calculation includes: the position, size, rotation, hole position, and / or material of the hardware model of the sheet metal components.
5. The parametrically driven modeling method of claim 1, wherein, The parametric-driven modeling method is implemented through web-based programs running on a B / S architecture system, including mobile applications, client applications, and web applications. Specifically, the web applications are implemented using the following technologies: HTML and JavaScript to implement UI and interactive business logic; and / or WebGL and WebGPU technologies to implement 2D and 3D visualization design; and / or Wasm technology to optimize the computational logic of 3D modeling; and / or cloud storage technology to store data and solutions; and / or server-side computing technology to improve the efficiency and security of process calculations.
6. A parametrically driven modeling system for implementing the parametrically driven modeling method according to any one of claims 1-5, characterized in that, include: An input module is used to input the basic parameters of the three-dimensional spatial model to be modeled, as well as the specific parameters of at least one sheet element; wherein, the basic parameters include the type / number, material, color and / or finish information of the three-dimensional spatial model; the specific parameters include the parameters of the sheet element that can be adjusted by the user; a parameter conversion module is used to determine the physical parameters and production parameters corresponding to all sheet elements of the three-dimensional spatial model based on the basic parameters and specific parameters input by the input module; The model building module is used to generate modeling data for the three-dimensional spatial model based on the basic parameters, specific parameters, and corresponding production parameters.
7. An electronic device, comprising: include: Memory is used to store computer programs that can be executed on a processor; A processor is configured to execute a computer program stored in the memory to implement the parameterized driven modeling method as described in any one of claims 1-5.
8. A computer-readable medium, characterized in that, The computer-readable medium stores processor-executable non-volatile program code for performing the parameterized driven modeling method as described in any one of claims 1-5.
Citation Information
Patent Citations
A method for describing and generating baseboard models in home design
CN112560155B
Construction assembly adopting modulus setting, modulus confirmation method and device and manufacturing method
CN118428519A
Fabricated decoration full-period management method and device, electronic equipment and storage medium
CN118428706A
Building information modeling (BIM)-based intelligent drafting method for prefabricated buildings
US20230274045A1
Modeling method of home parameterized model
CN110489853A