Three-dimensional component modeling-driven parameter expression and model dynamic modeling method

By combining CAD schematics with standardized layer naming and attribute grid views, the problem of cumbersome parameter definition driven by the shape of 3D model component templates is solved, intuitive expression and dynamic redrawing of parameters are achieved, the generation efficiency and versatility of 3D model component templates are improved, and rapid deployment and application are supported.

WO2025194802A1PCT designated stage Publication Date: 2025-09-25CHINA RAILWAY DESIGN GRP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/130729
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-18
Filing Date
2024-11-08
Publication Date
2025-09-25

AI Technical Summary

Technical Problem

The existing 3D model component template's modeling-driven parameter definition and configuration process is cumbersome, the expression form is single, the implementation efficiency is low, and the template modification and change rely on R&D personnel, making it difficult to quickly deploy applications.

Method used

CAD schematics and standardized layer naming are used, combined with attribute grid views and 3D modeling application development interface tools to achieve intuitive expression and dynamic redrawing of modeling-driven parameters. Modeling intent is conveyed through layer names and annotations, and the universal CAD vector line drawing format storage mechanism is utilized to achieve efficient parameter analysis and rapid generation of 3D models.

Benefits of technology

It achieves efficient information transmission between engineering and R&D personnel, reduces differences in understanding, reduces the risk of graphics reconstruction errors, improves the generation efficiency and versatility of 3D model component templates, and supports rapid deployment and application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024130729_25092025_PF_FP_ABST
    Figure CN2024130729_25092025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed is a three-dimensional model component template rapid implementation method based on parameter driving and two-dimensional-three-dimensional view linkage. The method comprises: S1, CAD schematic diagram fabrication and standardized layer naming; S2, parameter analysis and two-dimensional annotation linkage-based redrawing; and S3, generating a parameter-driven dynamic three-dimensional component model. The present invention can implement a linkage response between a row record selection operation and two-dimensional view primitive redrawing in a property grid view. When a modeling driving parameter value in the property grid view is changed, the three-dimensional model of the component is instantly constructed by means of a three-dimensional geometric modeling data access interface, and a modeling result is displayed in a three-dimensional view. In the method, the speed of the three-dimensional model component templating is high, and the process is simple. The parameter-driven geometric modeling process and result of the component model are comprehensively displayed by means of a two-dimensional-three-dimensional view linkage mode, and model information exchange and real-time interactive editing of the component template are achieved by means of a CAD file.
Need to check novelty before this filing date? Find Prior Art

Description

A method for modeling-driven parameter expression and dynamic modeling of three-dimensional components Technical Field

[0001] The present invention relates to the technical field of information model processing and optimization, and in particular to a three-dimensional component modeling drive parameter expression and model dynamic modeling method. Background Art

[0002] In recent years, as a core carrier of information management, three-dimensional models have been increasingly widely used in various types of projects, such as municipal, railway, and highway projects. Since many basic building blocks in projects, called "components," need to be used repeatedly, and repetitive modeling inevitably leads to a large amount of manpower and time waste, there is an urgent need to establish a three-dimensional model component template library that meets engineering needs, thereby providing a rich variety of materials that can be quickly instantiated and reused for project-level modeling. However, the traditional process of establishing a three-dimensional model component template library requires not only the participation of engineers with a deep understanding of engineering design drawings or construction drawings, but also the assistance of modelers with extensive experience in the production of three-dimensional models. Since different parameter values ​​are required to drive the modeling of a certain type of component, modeling its template one by one often results in an excessive investment of manpower and time. Therefore, it is necessary to adopt a method of customizing modeling parameters and using them to drive different component instances to efficiently, conveniently, and cost-effectively generate three-dimensional model component templates that conform to the actual project.

[0003] Existing methods for implementing 3D model component templates primarily include the following: First, perform 3D modeling and then bind modeling-driven parameters. This approach, commonly found in mature commercial modeling software, involves first modeling the component's geometric features using the software's 3D modeling functionality, and then binding the modeling parameters understood by engineers to the model's geometric dimensions. However, this approach's shortcomings include prematurely limiting component types to the initial 3D modeling results, and subsequently limiting the ability to expand modeling parameters. This results in a low level of abstract definition for components, and any change to even a small number of modeling parameters requires the creation of a new template. Furthermore, the instantiation of component templates is limited by the software's proprietary format and lacks universality, often requiring format conversion for use. The second approach is to first define the modeling-driven parameters and then directly generate instances of the model component. This approach, commonly found in independently developed component template libraries, offers high scalability and controllability due to the availability of options in many aspects, such as modeling-driven parameters, 3D model data access interfaces, and geometric modeling methods. However, this approach still has the following shortcomings:

[0004] 1) The modification and change of templates all rely on R&D personnel, and the implementation efficiency of component templates is not high;

[0005] 2) Engineering personnel are required to communicate modeling intentions to R&D personnel in advance, which can easily lead to misunderstandings and repeated revisions;

[0006] 3) Modeling driving parameters cannot be directly reflected on the template, and the corresponding relationship with the component model geometry needs to be expressed through separately produced instructions and schematic diagrams;

[0007] 4) It is difficult to analyze the causes of modeling anomalies and errors. There is often an implicit coupling relationship between modeling driving parameters, which requires engineers to set constraints in advance based on experience. The additional testing and verification work thus increases the speed of deployment and application of 3D model component templates.

[0008] Summary of the Invention

[0009] In order to solve the problems of cumbersome definition and configuration process of modeling driving parameters of three-dimensional model component templates, single expression form and low implementation efficiency, the present invention provides a three-dimensional component modeling driving parameter expression and model dynamic modeling method.

[0010] To this end, the present invention adopts the following technical solutions:

[0011] A three-dimensional component modeling driven parameter expression and model dynamic modeling method includes the following steps:

[0012] S1, CAD schematic production and standardized layer naming:

[0013] Using CAD to draw a two-dimensional plane schematic diagram of the three-dimensional component at several viewing angles, and adding annotations at corresponding positions, wherein the annotations are names of modeling driving parameters, which are used to describe the physical properties of the three-dimensional component;

[0014] Each different annotation is set in a separate layer, wherein the layer name includes the name and default value of the shape-driven parameter, and is distinguished by the layer name;

[0015] When the modeling driving parameter has the ability to control the validity of other modeling driving parameters, the name and parameter value of the controlled modeling driving parameter are added to the layer name corresponding to the controlled modeling driving parameter;

[0016] After the above steps, a two-dimensional plane diagram with multiple layers is obtained;

[0017] S2, parameter analysis and 2D annotation linkage redrawing, includes the following steps:

[0018] S21, using a CAD plug-in to analyze the multi-layer two-dimensional planar schematic diagram obtained in S1;

[0019] S22, inputting the result of the analysis in S21 into a property grid view control of Visual Studio to obtain a property grid view, wherein the property grid view includes the name of the modeling-driven parameter and the default value of the modeling-driven parameter; designing a selected row response function of the property grid view, wherein the selected row response function is used to change the color of the annotation corresponding to the modeling-driven parameter when the modeling-driven parameter is selected in the property grid view; configuring a numerical value editing control, wherein the numerical value editing control is used to redraw the two-dimensional view when the modeling-driven parameter is changed;

[0020] S3, generating a parameter-driven dynamic 3D component model, includes the following steps:

[0021] S31, using a 3D modeling application development interface tool to obtain a parametrically described 3D component model;

[0022] S32, using the three-dimensional modeling application development interface tool to convert the three-dimensional component model into a mesh model;

[0023] S33, designing a property value change response function, wherein the property value change response function is used to redraw the meshed Mesh model when the modeling driving parameters in the property grid view are changed, and finally obtain a dynamic three-dimensional component model.

[0024] Preferably, the several perspectives in S1 include a facade perspective, a plane perspective or a cross-sectional perspective; the physical properties of the three-dimensional component are parameters with engineering semantic descriptions that drive changes in the geometric form or composition structure of the three-dimensional model component.

[0025] Preferably, the naming format of the layer name in S1 is: modeling driving parameter name~data type identifier~modeling driving parameter default value.

[0026] Preferably, in S1,

[0027] When the type of the corresponding shape driving parameter is a floating point type, the data type identifier is a null character;

[0028] When the type of the corresponding shape driving parameter is integer, the data type identifier is i;

[0029] When the type of the corresponding shape-driven parameter is Boolean, the data type identifier is b.

[0030] Preferably, when the modeling driving parameter has the ability to control the validity of other modeling driving parameters, the name and parameter value of the modeling driving parameter added to the layer name corresponding to the controlled modeling driving parameter are named as follows: ~cb~control modeling driving parameter name~control modeling driving parameter value.

[0031] Preferably, in S22, when the control shape driving parameter value in the property grid view is the same as the control shape driving parameter value appended in the corresponding layer name, the editing function of the corresponding controlled shape driving parameter in the property grid view is enabled.

[0032] Preferably, S21 is specifically:

[0033] Using the CAD plug-in Cadlib to parse the graphic elements and the layer names in all the layers obtained in S1, the graphic elements including the two-dimensional plane schematic diagram and the annotation;

[0034] After the analysis is completed, a two-dimensional view is created using Cadlib.

[0035] Preferably, the property grid view control in S22 is a PropertyGridView, and the property grid view control is used to output the name and default value of the modeling driving parameter to the property name and property value columns of the property grid view respectively and display them.

[0036] Preferably, in S33, the method for redrawing the meshed Mesh model is: re-performing S31 and S32 using the changed modeling driving parameters.

[0037] Preferably, in S3, the mesh model is further subjected to surface rendering; and the three-dimensional modeling application development interface tool is BIMBase or AnyCAD. Compared with the prior art, the present invention has the following advantages:

[0038] (1) The method of the present invention utilizes the layer storage mechanism provided by the universal CAD vector line drawing format. This not only avoids the situation in which the output format of the existing methods for implementing 3D model component templates is restricted by the 3D modeling commercial software, but also solves the problem that the template implementation process is tightly coupled and difficult to separate, and completely relies on the R&D personnel to understand the modeling intent and fully invest in it. This achieves the goal of engineering personnel quickly conveying modeling intent and modeling driving parameters to R&D personnel through schematics, annotations, and layer names. At the same time, the use of structured data storage provides a way for computers to efficiently and automatically parse 3D model component template information.

[0039] (2) The method of the present invention establishes an attribute grid view and a two-dimensional view with a message linkage mechanism based on parsing the modeling driving parameters and corresponding annotations of the three-dimensional model component template stored in the general CAD vector line drawing format file, and realizes the redrawing of the corresponding annotations after the modeling driving parameters are selected, thereby reducing the risk of graphic reconstruction errors caused by the topological relationship between the graphics elements in the schematic diagram after binding the modeling driving parameters and the graphics elements in the existing method by prompting the current operation object.

[0040] (3) The method of the present invention realizes the real-time modeling processing and result display of three-dimensional model components based on modeling driving parameters. Compared with the traditional method, the method makes full use of the characteristics of CAD vector line drawing that is intuitive to express and easy for both parties to understand and master the template and perform structured analysis. At the same time, it solves the problem of blindly driving the modeling of three-dimensional model components in the absence of schematic diagrams and annotation information by linking two or three-dimensional views. It is not only more in line with the working habits of engineering personnel who rely on CAD vector line drawing, but also avoids the frequent differences in understanding between engineering personnel and R&D personnel, and ultimately provides fast and reliable technical support for the application of three-dimensional model component templates. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] FIG1 is a flow chart of the present invention;

[0042] FIG2 is a two-dimensional plan view of a pier component template drawn with the aid of general CAD in an embodiment of the present invention;

[0043] FIG3 is a rendering of a property grid view according to an embodiment of the present invention;

[0044] Figure 4 is a diagram showing the effect of color redrawing in a two-dimensional view;

[0045] Figure 5 is a diagram showing the effect of enabling the parameter editing function;

[0046] Figure 6 is a rendering of a dynamic three-dimensional component model;

[0047] FIG7 is a diagram showing the effect of a dynamic three-dimensional component model as floating-point parameters change;

[0048] Figure 8 is a diagram showing the effect of a dynamic three-dimensional component model as Boolean parameters change;

[0049] FIG9 is a specific step-by-step flow chart of the present invention DETAILED DESCRIPTION

[0050] The method of the present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0051] 1 and 9 , the three-dimensional component modeling driving parameter expression and model dynamic modeling method of the present invention includes the following steps:

[0052] S1, CAD schematic production and standardized layer naming:

[0053] Use the common CAD vector line drawing format and corresponding editing software to draw schematic diagrams of 3D model components from various perspectives, such as elevation, plan, and section. Set the geometric modeling parameters such as dimensions and angles as annotations on the schematic diagrams. Set the annotations corresponding to each parameter one by one on independent layers, naming the layers in the format of "parameter name ~ data type identifier ~ parameter default value". When a parameter has the ability to control the validity of other parameters, "~cb ~ control parameter name ~ control parameter value" should be appended to the layer name of the controlled parameter. The details are as follows:

[0054] Common CAD vector line drawing formats, such as DWG, DXF, IGE, STL, and STEP, generally store two-dimensional primitives in separate layers. Engineers often use these formats to store project designs or construction drawings, and are therefore very familiar with their creation, modification, and editing operations. This invention leverages these advantages in data structure and processing, enabling the convenient editing, storage, and transfer of schematics, annotations, and modeling parameters.

[0055] First, a schematic diagram is drawn in any layer to express the three-dimensional model components in different perspectives such as plane, elevation, and section. This process is basically the same as the traditional method of drawing various engineering drawings. The difference is that the method of the present invention does not need to consider storing the graphics elements that constitute the schematic diagram in different layers by type, nor does it need to specify line type, color, fill texture and other attributes for the graphics elements. Then, the modeling driving parameters with engineering semantic descriptions that can drive the geometric form or composition structure of the three-dimensional model components to change need to be clearly drawn. For example, the pier height and pier body slope of the bridge pier component, the thickness of the tunnel arch wall component, the inner contour arc radius, etc. According to the type of length, radius, etc. to which these modeling driving parameters belong, use the annotation tools provided by the CAD software to mark them on the corresponding graphics elements in the schematic diagrams of different perspectives.

[0056] During the plotting process, assign annotations to separate layers according to the corresponding shape-driven parameters. If multiple annotations on a diagram from different perspectives correspond to the same shape-driven parameters, assign them to the same layer.

[0057] The naming rules for layers are shown in Table 1:

[0058] Table 1

[0059] As shown in Table 1, layers are named using the "parameter name ~ data type identifier ~ parameter default value" format. This format defines the corresponding shape-driven parameters for the layer and records the information contained therein. Adjacent fields are connected with a "~" symbol. If a field is empty, the "~" symbol is deleted. The data type identifier for floating-point types is empty.

[0060] When a shape-driven parameter is controlled by other parameters, use cb as the field value of this field type; when the control parameter value of the shape-driven parameter is the same as the control parameter value in the corresponding controlled shape-driven parameter name, the ability of the controlled shape-driven parameter to drive the shape is enabled.

[0061] To enable a 3D model component template to define different sets of modeling-driven parameters, a one-way control relationship between parameters is defined by appending a string consisting of three fields: "~cb~Control Parameter Name~Control Parameter Value" after the layer name. For example, if a modeling-driven parameter A is named NameA and its data type is Boolean, only when its value is 1 can modeling-driven parameter B participate in the geometric modeling of the 3D model component and have driving capabilities. In this case, modeling-driven parameter B is controlled by modeling-driven parameter A. Therefore, the layer name of modeling-driven parameter B needs to be appended with the string "~cb~NameA~1". Table 1 shows the field composition of the aforementioned layer name and the field value rules for modeling-driven parameters of different data types.

[0062] After completing the schematic drawing, annotation and marking of the 3D model components and naming of the layers in accordance with the above rules, the general CAD vector line drawing is saved and output as a file, which becomes the 3D model component template exchange data for subsequent view establishment and linkage mechanism implementation.

[0063] S2, parameter parsing and 2D annotation linkage redrawing: Use the data access interface that can access the CAD vector line drawing format file in step S1 to parse the names of each layer recorded therein to obtain the parameter name, parameter value type and default parameter value, and then use the property grid view to achieve the interactivity and editability of the component modeling driven parameters. Use the 2D view to redraw all schematics and parameter annotations recorded in the CAD vector line drawing format file, and establish a linkage response with the property grid view. When a parameter is selected for editing by the user, the annotation corresponding to the parameter in the 2D view is redrawn in a color that is different from other non-selected annotations, so as to achieve the effect of highlighting the 2D view annotation after the parameter is selected. Specifically including the following steps:

[0064] S21 uses the line type, line width, and color used when creating the file in step S1 to output the line type, line width, and color to a two-dimensional view via a plug-in, achieving initial drawing and display of two types of geometric information. Specifically, the CAD vector line drawing file obtained in step S1 is used as input data, and the corresponding CAD plug-in Cadlib is used to parse the primitives and layer names therein. The primitives include two types of geometric information: schematics and annotations. Cadlib is then used to create a two-dimensional view based on the parsed geometric information. The two-dimensional view is used to display all points, lines, surfaces, and other elements of the schematics and annotations.

[0065] Traverse the layers in the CAD vector line drawing file obtained in step S1, parse the field values ​​in each layer name according to the naming rules specified in Table 1, and obtain the name, data type, default value of the modeling driving parameter, as well as the possible control and controlled relationship between it and other modeling driving parameters.

[0066] S22. Establish a property grid view with the ability to select items one by one and edit property values: Use the Visual Studio Property GridView control to output and display the name and default value of the modeling-driven parameter in the "Property Name" and "Property Value" columns of the property grid view. Design a selected row response function for the property grid view. In this response function, implement code to redraw the label of the modeling-driven parameter corresponding to the row in a suggestive color. Based on the data type of the modeling-driven parameter, configure the corresponding control for value editing and selection in the corresponding cell under the "Property Value" column.

[0067] A "select parameter -> color redraw" message linkage mechanism is established between the property grid view and the 2D view. That is, when the row where a certain shape-driven parameter is located in the property grid view is selected, a different and suggestive color from that used during the initial drawing is used. With the help of Cadlib's function of assigning colors to annotations, the color of the annotated entity corresponding to the shape-driven parameter in the 2D view is changed; conversely, when the selection is deselected, the corresponding annotated entity is redrawn using the same color as used during the initial drawing. This allows the location of the current shape-driven parameter to be clearly indicated in the 2D view.

[0068] In combination with the control and controlled relationship between the modeling driving parameters, the editability of the controlled modeling driving parameters is set. When the controlling modeling driving parameter obtains the same value as the "Control Parameter Value" field in Table 1, the value in the "Attribute Value" cell of the controlled modeling driving parameter can be modified and edited; otherwise, the "Attribute Value" cell is set to a non-editable state, prohibiting the modeling driving capability of the parameter.

[0069] S3, Generate parameter-driven dynamic 3D component model: With the help of 3D geometric modeling data access interface, all modeling driving parameters obtained by step S2 are converted into the dimensions of various 3D modeling basic elements such as outlines and blocks. When any parameter value in the attribute grid view in S2 changes through modification and editing, the 3D geometric shape of the component is immediately reconstructed and its modeling result is displayed in real time in the 3D view, so as to achieve the goal of a set of parameters driving a component geometric shape, and finally complete the rapid deployment of component templates. The details are as follows:

[0070] Using the name, data type, default value, and user-defined value of the modeling-driven parameters displayed in the attribute grid view obtained in step S2 as input data, the 3D geometric modeling data access interface AnyCAD is used to convert all input modeling-driven parameters into the dimensions of various 3D modeling primitives, such as outlines and blocks. Using these 3D modeling primitives as modeling objects, the constructive solid geometry (CSG) method in computer graphics can be used to reconstruct and display the 3D geometric shape of the component. The steps are as follows:

[0071] S31 creates one or more independent geometric bodies based on modeling needs. Once multiple independent geometric bodies are created, AnyCAD's modeling capabilities are used to perform Boolean operations between them to create a parametrically described 3D component model. Independent geometric bodies can be composed of basic geometric bodies (such as spheres / ellipsoids, cuboids, cones, etc.) and complex geometric bodies (such as extrusions, lofts, and swept volumes). Boolean operations include intersection, union, complement, and partition. Table 2 shows the dimensional parameters required to construct some independent geometric bodies.

[0072] Table 2 Size parameters required to construct independent geometric bodies

[0073] S32, using the mesh model construction function provided by AnyCAD or BIMBase, sampling key points on the surface of the component model obtained in step S31, connecting adjacent key points according to specific rules, and then enclosing adjacent triangular faces with the connecting lines, ultimately generating a mesh model that is easy to display on a computer and is used to approximate the three-dimensional geometric shape of the component;

[0074] S33, creating a 3D view: The mesh model obtained in step S32 is rendered and displayed on the computer front end. By designing a response function for attribute value changes in the attribute grid view, a linkage mechanism is established between changes in the modeling-driven parameter values ​​and the redrawing of the 3D view. Within this response function, the code is implemented to re-execute the modeling process using the changed modeling-driven parameter values. If the modeling-driven parameter values ​​in the attribute grid view in step S2 change, steps S31 and S32 are repeated, deleting the original mesh model in the 3D view and redrawing the newly constructed mesh model.

[0075] Example 1

[0076] To validate the method, we used a round-end solid pier, a component of a bridge, as an example. Using DWG as the CAD vector line drawing format, we implemented all the steps of the method. As shown in Figure 2, AutoCAD software was used to draw a schematic diagram of the round-end pier, add annotations, and determine layer names based on naming rules.

[0077] The round-end solid pier formwork consists of a total of 12 shape-driven parameters. The name, data type, default value, control parameter name and control parameter value of each parameter are shown in Table 3.

[0078] Table 3 Shaping parameters of round-end solid pier

[0079] As shown in Figure 3, according to the step S2 method, the modeling driven parameter name, data type and default value obtained from the layer name are displayed in the attribute grid view, all the geometric elements that constitute the schematic diagram and annotation are output and displayed in the two-dimensional view, and the message linkage response between the record and annotation in the attribute grid view is established by selecting the row response function.

[0080] As shown in Figures 4 and 5, when the shape-driven parameter named "Pier Height" is selected in the property grid view, the corresponding annotation of this parameter in the 2D view will be redrawn in a different color, indicating the position of the corresponding dimension of the current operating parameter in the schematic diagram. When the shape-driven parameter named "Whether to use grade" in the property grid view is changed to 0, that is, the checkbox is unchecked, its control parameter "Grade N" becomes uneditable, and its corresponding annotation disappears in the 2D view. Another control parameter "Pier Bottom Longitudinal Length" becomes editable and its corresponding annotation is displayed in the 2D view.

[0081] After obtaining the three-dimensional view according to step S3, when the dimension value of the shape-driven parameter "pier height" is changed in the attribute grid view, as shown in Figures 6 and 7, the geometric shape of the pier body component model in the three-dimensional view is immediately changed, and the pier body height changes to the changed dimension value; when the check box of the shape-driven parameter "with or without groove" is changed to an unchecked state, the slotted element on the schematic diagram in the two-dimensional view of Figures 7 and 8 disappears, and the slotted shape on the pier body model in the three-dimensional view disappears.

Claims

1. A three-dimensional component modeling drive parameter expression and model dynamic modeling method, characterized in that: The following steps are involved: S1, CAD schematic production and standardized layer naming: Using CAD to draw a two-dimensional plane schematic diagram of the three-dimensional component at several viewing angles, and adding annotations at corresponding positions, wherein the annotations are names of modeling driving parameters, which are used to describe the physical properties of the three-dimensional component; Each different annotation is set in a separate layer, wherein the layer name includes the name and default value of the shape-driven parameter, and is distinguished by the layer name; When the modeling driving parameter has the ability to control the validity of other modeling driving parameters, the name and parameter value of the controlled modeling driving parameter are added to the layer name corresponding to the controlled modeling driving parameter; After the above steps, a two-dimensional plane diagram with multiple layers is obtained; S2, parameter analysis and 2D annotation linkage redrawing, includes the following steps: S21, using the CAD plug-in Cadlib to parse the graphic elements and the layer names in all the layers obtained in S1, wherein the graphic elements include the two-dimensional plane diagram and the annotations; after the parsing is completed, using Cadlib to create a two-dimensional view. S22, inputting the result of the analysis in S21 into a property grid view control of Visual Studio to obtain a property grid view, wherein the property grid view includes the name of the modeling-driven parameter and the default value of the modeling-driven parameter; designing a selected row response function of the property grid view, wherein the selected row response function is used to change the color of the annotation corresponding to the modeling-driven parameter when the modeling-driven parameter is selected in the property grid view; configuring a numerical value editing control, wherein the numerical value editing control is used to redraw the two-dimensional view when the modeling-driven parameter is changed; S3, generating a parameter-driven dynamic 3D component model, includes the following steps: S31, using a 3D modeling application development interface tool to obtain a parametrically described 3D component model; S32, using the three-dimensional modeling application development interface tool to convert the three-dimensional component model into a mesh model; S33, designing a property value change response function, wherein the property value change response function is used to redraw the meshed Mesh model when the modeling driving parameters in the property grid view are changed, and finally obtain a dynamic three-dimensional component model.

2. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 1, characterized in that: The several perspectives mentioned in S1 include a facade perspective, a plane perspective or a cross-sectional perspective; the physical properties of the three-dimensional component are parameters with engineering semantic descriptions that drive changes in the geometric shape or composition structure of the three-dimensional model component.

3. The three-dimensional component modeling driving parameter expression and model dynamic modeling method according to claim 1, characterized in that: The naming method of the layer name described in S1 is: modeling driving parameter name ~ data type identifier ~ modeling driving parameter default value.

4. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 3, characterized in that: In S1, When the type of the corresponding shape driving parameter is a floating point type, the data type identifier is a null character; When the type of the corresponding shape driving parameter is integer, the data type identifier is i; When the type of the corresponding shape-driven parameter is Boolean, the data type identifier is b.

5. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 4, characterized in that: When the modeling driving parameter has the ability to control the validity of other modeling driving parameters, the name and parameter value of the modeling driving parameter added to the layer name corresponding to the controlled modeling driving parameter are named as follows: ~cb~control modeling driving parameter name~control modeling driving parameter value.

6. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 5, characterized in that: In S22, when the control modeling driving parameter value in the property grid view is the same as the control modeling driving parameter value appended in the corresponding layer name, the editing function of the corresponding controlled modeling driving parameter in the property grid view is enabled.

7. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 1, characterized in that: The property grid view control described in S22 is PropertyGridView, which is used to output the name and default value of the modeling driving parameter to the property name and property value columns of the property grid view respectively and display them.

8. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 1, characterized in that: In S33, the method for redrawing the mesh model is: re-performing S31 and S32 using the changed modeling driving parameters.

9. The three-dimensional component modeling drive parameter expression and model dynamic modeling method according to claim 1, characterized in that: In S3, the mesh model is further subjected to surface rendering; the three-dimensional modeling application development interface tool is BIMBase or AnyCAD.

Citation Information

Patent Citations

  • Cloud-based universal parameterized model analysis method and design system

    CN111324965A

  • Two-dimensional and three-dimensional linkage bridge parametric modeling and drawing method, device, equipment and medium

    CN115017569A

  • Three-dimensional component modeling driving parameter expression and model dynamic modeling method

    CN117934789A

  • Multi-User Cloud Parametric Feature-Based 3D CAD System

    US20160246899A1

  • Computer aided design with geometry filtering to facilitate manufacturing

    US20230152778A1