Model construction method for automatic modeling and engineering quantity calculation of wind power concrete tower drum
By writing plug-ins on the Revit platform and generating BIM models using C language, the problems of low efficiency and poor accuracy in the traditional wind power concrete tower modeling method are solved, and the automated modeling and engineering calculation of wind power concrete tower are realized, improving Design efficiency and data consistency.
Patent Information
- Application Number
- CN202411200022.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-08-29
AI Technical Summary
The traditional wind power concrete tower modeling method relies on manual operations, resulting in repeated operations and calculations for design changes, low work efficiency, and data errors and communication delays in information transmission and collaborative work.
Based on the Revit platform, automatic modeling and engineering volume calculation of wind power concrete towers are realized by writing plug-ins. Revit can be used to write C language to recognize files, automatically read and generate BIM models, and complete engineering volume statistics.
It improves design efficiency and accuracy, reduces human errors, and realizes fast and accurate automated modeling and engineering volume calculation, overcoming the problems of long cycles, low accuracy and poor flexibility in traditional methods.
Smart Images

Figure CN119129058A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of modeling of construction engineering, and in particular to a model building method for automatic modeling of wind power concrete towers and engineering quantity calculation. Background Art
[0002] As one of the core components of wind power generation devices, the traditional modeling method of wind power concrete tower usually relies on manual operation, which is cumbersome and requires repeated operations and calculations for design changes, resulting in low work efficiency. In addition, information transmission and collaborative work also face challenges, which can easily lead to data errors and communication delays.
[0003] Based on the secondary development of Revit, the automatic modeling and quantity calculation of wind turbine concrete towers are realized by writing plug-ins, and the Building Information Modeling (BIM) technology is introduced into the design of wind turbine towers, which can improve the design efficiency and accuracy and reduce human errors.
[0004] Therefore, there is an urgent need for a method of automatic modeling and quantity calculation of wind power concrete towers based on Revit secondary development to improve the above problems. Summary of the invention
[0005] To solve the above problems, the present application provides a fast and accurate method for automatic modeling and quantity calculation of wind turbine concrete towers, creates a parametric family of wind turbine concrete tower pipe sections based on the Revit platform, uses C language to write Revit-recognizable files, uses Revit to automatically read and generate BIM models, and completes quantity statistics at the same time.
[0006] In the present application, a model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower is provided, comprising the following steps:
[0007] S1. A parametric family of wind power concrete tower tube segments based on the Revit platform is preset, wherein the parametric family of wind power concrete tower tube segments includes tube segment shape parameters and tube segment attribute parameters;
[0008] S2. The parametric family of wind power concrete tower tube segments is used as a resource embedded in the program. When the program is running, the byte array of the .rfa file will be obtained from the embedded resource and saved locally. The local file path will be read and the parametric family types C1 to C2 will be loaded into the Revit project file. n ;
[0009] S3. A wind power concrete tower body parameter table is preset, and a wind power concrete tower model is generated according to the number of tower sections and the wind power concrete tower body parameter table;
[0010] S4. Calculate the engineering quantity of the wind power concrete tower model and export the data.
[0011] Preferably, S1 is operated in a Revit family environment, and S2-S4 are operated in a Revit project environment.
[0012] Preferably, the construction content of the parametric family of wind power concrete tower tube section based on the Revit platform of S1 is as follows:
[0013] In the Revit family environment, a parametric family of wind power concrete tower tube segments is created based on the shape characteristics of the wind power concrete tower tube segments;
[0014] Among them, the creation parameters of the parametric family of wind power concrete tower tube sections include height, bottom inner diameter, bottom outer diameter, top inner diameter, and top outer diameter.
[0015] Preferably, in S2, the parametric family of wind power concrete tower tube segments is used as a resource embedded in the program. When the program is running, the byte array of the .rfa file is obtained from the embedded resource and saved locally. The specific contents include:
[0016] Put the wind power concrete tower tube segment parametric family described in S1 into the WPF project program file of Visual Studio and set it as "embedded resource".
[0017] Determine whether the embedded resource exists. If so, get the byte array of the .rfa file directly from the embedded resource. If not, the program will be terminated.
[0018] Preferably, S2 reads the local .rfa file path and loads the specific content of the parametric family into the Revit project file as follows:
[0019] In Visual Studio, program in C language according to Revit syntax rules and use Revit transactions to load family files into Revit project files.
[0020] Preferably, the specific steps of generating a wind power concrete tower model according to the tower section number and the wind power concrete tower body parameter table in S3 are as follows:
[0021] Design a WPF page and use ScrollViewer and WarpPanel to create a page that can read and input C1~C n Wind power concrete tower pipe segment parameter table;
[0022] Use C language programming to read the Excel table of concrete tower design body parameters, match each parameter to the pipe segment parameter table, and obtain the target pipe segment parameter table;
[0023] Input the number of target concrete tower tube segments to be created, program in C language, use filters to search for the family types loaded in S2, copy the family types with corresponding serial numbers according to the number of tube segments, and automatically update the target tube segment parameter table according to the tube segment serial numbers;
[0024] Program in C language in Visual Studio to calculate the placement coordinates (X, Y, Z) of the current tower tube segment, execute the placement command, generate the current tower tube segment model, and modify the parameters of the current tube segment according to the concrete tower body parameter table;
[0025] Determine whether all tower tube sections have been created. If all tower tube sections have been created, generate a wind power concrete tower model;
[0026] If all tower tube sections have not been created, the height parameter of the current tower tube section is obtained and the placement coordinates of the next tower tube section are calculated based on the height parameter until all tower tube sections are created.
[0027] Preferably, the specific contents of the engineering quantity calculation and data export of the wind power concrete tower model in S4 are:
[0028] Create an Excel template and set it as an embedded resource in the program;
[0029] Filter all tower tube segment instances in the project file and obtain the shape parameters and volume parameters of the tower tube segment instances;
[0030] Extract the shape parameters and volume parameters of all tower tube sections into the database;
[0031] Retrieve the embedded Excel template file, select the target storage location, and write the parameters in the database into the template file.
[0032] In summary, compared with the modeling technology of traditional construction projects, the model construction method of the present invention for automatic modeling and engineering quantity calculation of wind power concrete tower uses C language to write Revit recognizable files, uses Revit to automatically read and generate BIM models, and completes engineering quantity statistics at the same time, so as to overcome the shortcomings of traditional modeling, such as long cycle, low precision, cumbersome calculation, poor flexibility and adjustability, and achieve the purpose of one-click rapid modeling and quantity calculation.
[0033] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A modeling flow chart of a model building method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to the present invention;
[0035] Figure 2The present invention is a calculation flow chart of a model building method for automatic modeling of wind power concrete tower and engineering quantity calculation. DETAILED DESCRIPTION
[0036] The technical solution of the present invention is further described below by means of the accompanying drawings and embodiments. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values described in these embodiments do not limit the scope of the present application.
[0037] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0038] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0039] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0040] Unless otherwise defined, technical or scientific terms used in the present invention shall have the common meanings understood by one having ordinary skills in the field to which the present invention belongs.
[0041] The wind power concrete tower is composed of multiple pipe segments arranged regularly and repeatedly in a certain proportion. The geometric characteristics of each component can be accurately described by defining different parameters. This design allows the establishment of a three-dimensional scene in a parameter-driven model. Users can set the parameters of each pipe segment by uploading an Excel spreadsheet, thereby realizing the automatic generation of the entire concrete tower model. Parametric modeling summarizes the changing geometric features from similar models and abstracts them into controllable mathematical parameters. Different geometric models can be generated by adjusting these parameters. For complex engineering building models, a combined modeling method is usually used to decompose the entire model into a series of components according to architectural rules, and use combined parameters to describe their arrangement and splicing. In contrast, simple models only need to calculate parameters to obtain the shape of the model.
[0042] like Figure 1 and Figure 2 As shown, the present invention provides a model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower, which is specifically as follows: S1, a wind power concrete tower tube segment parametric family based on a Revit platform is preset, the wind power concrete tower tube segment parametric family includes tube segment shape parameters and tube segment attribute parameters, and the wind power concrete tower tube segment parametric family refers to a plurality of wind power concrete tower tube segment models;
[0043] Furthermore, S1 is operated in the Revit family environment, and S2-S4 are operated in the Revit project environment.
[0044] Furthermore, the construction content of S1's wind power concrete tower tube segment parametric family based on the Revit platform is as follows:
[0045] In the Revit family environment, a parametric family of wind power concrete tower tube segments is created based on the shape characteristics of the wind power concrete tower tube segments;
[0046] Among them, the creation parameters of the parametric family of wind power concrete tower tube sections include height, bottom inner diameter, bottom outer diameter, top inner diameter, and top outer diameter.
[0047] S2. The parametric family of wind power concrete tower tube segments is used as a resource embedded in the program. When the program is running, the byte array of the .rfa file will be obtained from the embedded resource and saved locally. The local file path will be read and the parametric family types C1 to C2 will be loaded into the Revit project file. n ;
[0048] Furthermore, in S2, the parametric family of wind power concrete tower tube segments is used as a resource embedded in the program. When the program is running, the byte array of the .rfa file will be obtained from the embedded resource and saved locally. The specific contents include:
[0049] Put the wind power concrete tower tube segment parametric family described in S1 into the WPF project program file of Visual Studio and set it as "embedded resource".
[0050] Determine whether the embedded resource exists. If so, get the byte array of the .rfa file directly from the embedded resource. If not, the program will be terminated.
[0051] The code is shown as:
[0052]
[0053] Furthermore, S2 reads the local .rfa file path and loads the specific content of the parametric family into the Revit project file as follows:
[0054] In Visual Studio, program in C language according to Revit syntax rules and use Revit transactions to load family files into Revit project files.
[0055] The code is shown as:
[0056]
[0057]
[0058] S3. A wind power concrete tower body parameter table is preset, and a wind power concrete tower model is generated according to the number of tower sections and the wind power concrete tower body parameter table;
[0059] Furthermore, the specific steps of generating a wind power concrete tower model according to the number of tower sections and the parametric family of wind power concrete tower tube sections in S3 are as follows:
[0060] Design a WPF page and use ScrollViewer and WarpPanel to create a page that can read and input C1~C n Wind power concrete tower pipe segment parameter table;
[0061] Use C language programming to read the Excel table of concrete tower design body parameters, match each parameter to the pipe segment parameter table, and obtain the target pipe segment parameter table;
[0062] Input the number of target concrete tower tube segments to be created, program in C language, use filters to search for the family types loaded in S2, copy the family types with corresponding serial numbers according to the number of tube segments, and automatically update the target tube segment parameter table according to the tube segment serial numbers;
[0063] Its code is expressed as:
[0064]
[0065]
[0066] Program in C language in Visual Studio to calculate the placement coordinates (X, Y, Z) of the current tower tube segment, execute the placement command, generate the current tower tube segment model, and modify the parameters of the current tube segment according to the concrete tower body parameter table;
[0067] Determine whether all tower tube sections have been created. If all tower tube sections have been created, generate a wind power concrete tower model;
[0068] If all tower tube sections have not been created, the height parameter of the current tower tube section is obtained and the placement coordinates of the next tower tube section are calculated based on the height parameter until all tower tube sections are created.
[0069] The code is shown as:
[0070]
[0071]
[0072]
[0073] S4. Calculate the engineering quantity of the wind power concrete tower model and export the data.
[0074] Furthermore, the specific contents of the engineering quantity calculation and data export of the wind power concrete tower model in S4 are as follows:
[0075] Create an Excel template and set it as an embedded resource in the program;
[0076] Filter all tower tube segment instances in the project file and obtain the shape parameters and volume parameters of the tower tube segment instances;
[0077] Extract the shape parameters and volume parameters of all tower tube sections into the database;
[0078] Retrieve the embedded Excel template file, select the target storage location, and write the parameters in the database into the template file.
[0079] The method mentioned in this application can realize automatic modeling and quantity calculation of wind turbine towers, improve the flexibility and adjustability of the design of wind turbine concrete towers, ensure the consistency and accuracy of design data, meet the needs of different projects, improve the efficiency and quality of project management, and has important application value and market prospects.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that they can still modify or replace the technical solution of the present invention with equivalents, and these modifications or equivalent replacements cannot cause the modified technical solution to deviate from the spirit and scope of the technical solution of the present invention.
Claims
1. A model construction method for automatic modeling and engineering quantity calculation of wind power concrete tower, It is characterized in that The following steps are involved: S1. A parametric family of wind power concrete tower tube segments based on the Revit platform is preset, wherein the parametric family of wind power concrete tower tube segments includes tube segment shape parameters and tube segment attribute parameters; S2. Use the wind turbine concrete tower tube segment parametric family as a program embedded resource. When the program is running, it will obtain the byte array of the .rfa file from the embedded resource and save it locally, read the local file path, load the parametric family in the Revit project file, and copy the concrete tower tube segment family type C 1 ~C n ; S3. A wind power concrete tower body parameter table is preset, and a wind power concrete tower model is generated according to the number of tower sections and the wind power concrete tower body parameter table; S4. Calculate the engineering quantity of the wind power concrete tower model and export the data.
2. A model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1, It is characterized in that S1 is operated in the Revit family environment, and S2-S4 are operated in the Revit project environment.
3. A model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1, It is characterized in that The construction contents of S1's wind power concrete tower tube segment parametric family based on the Revit platform are as follows: In the Revit family environment, a parametric family of wind power concrete tower tube segments is created based on the shape characteristics of the wind power concrete tower tube segments; Among them, the creation parameters of the parametric family of wind power concrete tower tube sections include height, bottom inner diameter, bottom outer diameter, top inner diameter, and top outer diameter.
4. A model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1, It is characterized in that In S2, the parametric family of wind power concrete tower tube segments is used as a resource embedded in the program. When the program is running, the byte array of the .rfa file will be obtained from the embedded resource and saved locally. The specific contents include: Put the wind power concrete tower tube segment parametric family described in S1 into the WPF project program file of Visual Studio and set it as "embedded resource"; Determine whether the embedded resource exists. If so, get the byte array of the .rfa file directly from the embedded resource. If not, the program will be terminated.
5. A model building method for automatic modeling and engineering quantity calculation of a wind turbine tower according to claim 1, It is characterized in that S2 reads the local .rfa file path and loads the specific content of the parametric family into the Revit project file as follows: In Visual Studio, program in C language according to Revit syntax rules and use Revit transactions to load family files into Revit project files.
6. A model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1, It is characterized in that The specific steps for generating a wind power concrete tower model according to the number of tower sections and the parametric family of wind power concrete tower tube sections in S3 are as follows: Design a WPF page and use ScrollViewer and WarpPanel to create a page that can read and input C 1 ~C n Wind power concrete tower pipe segment parameter table; Use C language programming to read the Excel table of concrete tower design body parameters, match each parameter to the pipe segment parameter table, and obtain the target pipe segment parameter table; Input the number of target concrete tower tube segments to be created, program in C language, use filters to search for the family types loaded in S2, copy the family types with corresponding serial numbers according to the number of tube segments, and automatically update the target tube segment parameter table according to the tube segment serial numbers; Use C language programming in Visual Studio to calculate the placement coordinates (X, Y, Z) of the tower tube section of the current sequence number, and execute the placement command to generate the tower tube section model of the current sequence number; According to the concrete tower body parameter table, modify the lower pipe segment parameters; Determine whether all tower tube sections have been created. If all tower tube sections have been created, generate a wind power concrete tower model; If all tower tube sections have not been created, the height parameter of the current tower tube section is obtained and the placement coordinates of the next tower tube section are calculated based on the height parameter until all tower tube sections are created.
7. A model construction method for automatic modeling and engineering quantity calculation of a wind power concrete tower according to claim 1, It is characterized in that The specific contents of wind power concrete tower model engineering quantity calculation and data export in S4 are as follows: Create an Excel template and set it as an embedded resource in the program; Filter all tower tube segment instances in the project file and obtain the shape parameters and volume parameters of the tower tube segment instances; Extract the shape parameters and volume parameters of all tower tube sections into the database; Retrieve the embedded Excel template file, select the target storage location, and write the parameters in the database into the template file.
Citation Information
Patent Citations
Method for constructing tunnel BIM model based on Revit platform
CN110750831A
Tower crane parametric design method based on Revit metric conventional model
CN113158306A
BIM (Building Information Modeling)-based engineering earthwork volume calculation method for seabed immersed tunnel foundation trench
CN113256809A
BIM-based offshore wind power plant model management method and system, medium and equipment
CN113673014A
Methods for managing and identifying building materials, especially in the construction of buildings
DE102018200226A1
