CN114707220A - Revit macro program-based tunnel BIM intelligent modeling method - Google Patents

Revit macro program-based tunnel BIM intelligent modeling method Download PDF

Info

Publication number
CN114707220A
CN114707220A CN202210403653.9A CN202210403653A CN114707220A CN 114707220 A CN114707220 A CN 114707220A CN 202210403653 A CN202210403653 A CN 202210403653A CN 114707220 A CN114707220 A CN 114707220A
Authority
CN
China
Prior art keywords
tunnel
family
model
sub
modeling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210403653.9A
Other languages
Chinese (zh)
Inventor
李天斌
罗晋明
齐亮
马春驰
邓科
李想
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Shudao New Standard Track Group Co ltd
Chengdu Univeristy of Technology
Original Assignee
Sichuan Shudao New Standard Track Group Co ltd
Chengdu Univeristy of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Shudao New Standard Track Group Co ltd, Chengdu Univeristy of Technology filed Critical Sichuan Shudao New Standard Track Group Co ltd
Priority to CN202210403653.9A priority Critical patent/CN114707220A/en
Publication of CN114707220A publication Critical patent/CN114707220A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a Revit macro-program-based intelligent tunnel BIM modeling method, aiming at the problems that the prior long tunnel BIM model has more structures and components, complex modeling flow, high modeling difficulty and workload, how to quickly and intelligently accurately arrange each tunnel structure and component according to the design and construction requirements to replace the manual long tunnel BIM model creation, the Revit macro-program-based visual programming is adopted, the traffic engineering line can be directly fitted in the Revit by virtue of a self-coding macro program, a sub-family model is called by utilizing the self-coding macro program to drive the automatic tunnel BIM model creation, so that the process of building the BIM model does not depend on Civil 3D and other software, the modeling steps are reduced, the sub-family model is created in a parameter form, the tunnel BIM model is driven to be built and adjusted by parameter data, the attribute content is automatically perfected, the existing manual attribute content input is replaced to complete modeling, the accuracy and the efficiency of the BIM modeling of the tunnel are improved.

Description

Revit macro program-based tunnel BIM intelligent modeling method
Technical Field
The application relates to the field of BIM (building information modeling) of tunnels, in particular to a BIM intelligent modeling method of a Revit tunnel based on a macro program.
Background
The appearance of the BIM (Building Information Modeling) technology raises a new revolution of the infrastructure, and the BIM is used as a novel technology to carry out deep research at home and abroad and is applied to large-scale engineering construction. Practice shows that the BIM technology can actually shorten the engineering construction period, save the construction cost, reduce the construction risk and improve the construction management level. The design and construction of the tunnel relate to a large number of scientific and application fields, and multiple processes are mutually covered, so that the tunnel has higher requirements on multiple aspects such as the reasonability of engineering project technology, the overall quality, environmental protection and the like.
Although the information-based model is gradually spread at home and abroad, the design and construction of large-scale building projects do not leave the figure of BIM. However, the application of BIM in the domestic traffic industry is still in a starting stage, the tunnel is used as a difficult point and a pain point of traffic development in mountainous areas, the BIM model of the long tunnel has more structures and components, the modeling process is complex, the modeling difficulty and workload are high, and how to accurately arrange each tunnel structure and component according to design and construction requirements to replace manual work to create the BIM model of the long tunnel is an urgent problem to be solved.
In addition, in the process of building the tunnel BIM model at present, other line software is often needed to fit the tunnel line for line fitting, the fitting process is too complex and the accuracy is not high, so that the accuracy and the efficiency of tunnel BIM modeling are low.
Disclosure of Invention
The embodiment of the application provides a Revit macro-program-based tunnel BIM intelligent modeling method, so as to solve the problem that the tunnel BIM modeling precision and efficiency are low in the tunnel BIM model creating process at present.
In order to solve the above problems, an embodiment of the present application discloses a Revit macro program-based tunnel BIM intelligent modeling method, which includes:
according to the tunnel flat curve data and the tunnel vertical curve data which are collected in advance, a tunnel three-dimensional line is obtained through fitting in Revit;
extracting the geometric characteristics of each main body structure and the auxiliary components of the main body structure of the tunnel, parametrically creating a sub-family model of each main body structure and the auxiliary components of the main body structure in Revit, and setting adjustable parameters of the corresponding sub-family model according to the geometric characteristics to obtain a tunnel modeling family library; when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified;
according to information requirements of different tunnel BIM models, aiming at characteristics and engineering general profiles of different main body structures and auxiliary components thereof, defining the family file name, the stake number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in an EXCEL table in batches;
and calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models to be matched with the tunnel three-dimensional line in the macro program, thereby constructing and obtaining a tunnel BIM model.
Optionally, according to preset acquired tunnel flat curve data and preset acquired tunnel vertical curve data, a tunnel three-dimensional line is obtained through fitting in Revit, and the method includes the following steps:
calculating to obtain plane coordinate data according to preset acquired tunnel flat curve data;
and fitting the three-dimensional curve of the plane coordinate data and the preset acquired vertical curve data in Revit by a least square method to obtain the three-dimensional tunnel line.
Optionally, calculating to obtain plane coordinate data according to the flat curve data, including:
determining the linear characteristics of the tunnel flat curve according to the flat curve data;
and calculating the flat curve data by an intersection point method or a line element method according to the linear characteristics of the three-dimensional curve to obtain the plane coordinate data.
Optionally, parameterizing in Revit creates a sub-family model of each subject structure and its appurtenances, including:
extracting a plurality of graphic primitives of each main body structure and accessory components thereof in Revit, and setting basic parameters among different graphic primitives in the plurality of graphic primitives;
and correlating the basic parameters in the form of data to obtain the sub-family model of each body structure and the accessory members thereof which are created in a parameterization mode.
Optionally, the group file name, the stub number parameter, the size parameter and the attribute content of each sub-group model in the tunnel modeling family library are defined in the EXCEL table in batch according to the feature and engineering profile of different main body structures and their accessory components according to different tunnel BIM model information requirements, including:
extracting a standard family template in Revit, wherein the standard family template comprises a plurality of inherent attributes to be written and a plurality of adjustable attributes to be written;
setting a plurality of adjustable attributes according to different information requirements of the BIM model of the tunnel and the characteristics and engineering general profiles of different main structures and auxiliary members thereof, and writing the plurality of adjustable attributes into an EXCEL table in a text mode;
implementing an attribute definition for a plurality of the tunable attributes in the EXCEL table, wherein contents of the attribute definition include a family file name, a stake number parameter, a size parameter, and an attribute content for each sub-family model in the tunnel modeling family library.
Optionally, implementing an attribute definition for a plurality of the tunable attributes in the EXCEL table includes:
importing the standard family template;
reading a plurality of adjustable attributes in the EXCEL table, and forming an array by the plurality of adjustable attributes;
and identifying a plurality of family file names in the array, and mapping and writing the stake number parameter, the size parameter and the attribute content in the array into the standard family template.
Optionally, calling, by using a self-coding macro procedure, a plurality of target sub-family models required by the tunnel three-dimensional line, and modifying size parameters of the target sub-family models in an EXCEL table, so that the target sub-family models and the tunnel three-dimensional line are matched in the macro procedure, and constructing a tunnel BIM model, including:
calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program;
importing the EXCEL table into a self-coding macro program, and reading the family file name, the stake number parameter, the size parameter and the attribute content of the corresponding target sub-family model in the EXCEL table;
modifying the size parameters and the attribute contents in the target sub-family model according to the target pile number parameters in an EXCEL table;
and identifying the pile number mileage of the tunnel three-dimensional curve, calling the size parameters and the attribute contents of the target sub-family model according to the pile number mileage, and constructing to obtain the tunnel BIM.
In addition, in order to achieve the above object, the present application further provides a Revit macro-program-based tunnel BIM intelligent modeling apparatus, including:
a fitting module: the system comprises a data acquisition unit, a data acquisition unit and a data acquisition unit, wherein the data acquisition unit is used for acquiring tunnel flat curve data and tunnel vertical curve data in advance;
a model creation module: the method comprises the steps of extracting geometric features of each main body structure and auxiliary components of the tunnel, performing parameterized creation on each main body structure and auxiliary components of the main body structure in Revit, and setting adjustable parameters of corresponding sub-family models according to the geometric features to obtain a tunnel modeling family library; when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified;
a parameter definition module: the system comprises a BIM (building information modeling) library, a family file name, a pile number parameter, a size parameter and an attribute content, wherein the BIM library is used for defining the family file name, the pile number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in batches in an EXCEL table according to the information requirements of different tunnel BIM models and the characteristics and engineering general profiles of different main body structures and auxiliary components thereof;
a model generation module: the device is used for calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models to be matched with the tunnel three-dimensional line in the macro program, and a tunnel BIM model is established.
In addition, to achieve the above object, the present application also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method.
In addition, to achieve the above object, the present application further provides a computer-readable storage medium including a stored computer program, where when the computer program runs, the apparatus on which the computer-readable storage medium is located is controlled to execute the method.
The beneficial effect of this application is:
the embodiment of the application provides a tunnel BIM intelligent modeling method based on a macro program for Revit, and a tunnel three-dimensional line is obtained by fitting in Revit according to pre-collected tunnel flat curve data and vertical curve data; extracting the geometric characteristics of each main body structure and the auxiliary components of the main body structure, performing parameterized creation on each main body structure and the auxiliary components of the main body structure in the Revit, and setting adjustable parameters of the corresponding sub-family models according to the geometric characteristics to obtain a tunnel modeling family library; when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified; according to information requirements of different tunnel BIM models, aiming at characteristics and engineering general profiles of different main body structures and accessory components thereof, defining the family file name, the pile number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in a batch mode in an EXCEL table; and calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models and the tunnel three-dimensional line to be matched in the macro program, thereby constructing and obtaining a tunnel BIM model.
Aiming at the problems that the prior long tunnel BIM model has more structures and members, complex modeling process, large modeling difficulty and workload, how to quickly and intelligently accurately arrange each tunnel structure and member according to the design and construction requirements to replace the manual creation of a long tunnel BIM model, through the visualization programming of Revit based on a macro program, the traffic engineering line can be directly fitted in Revit by means of a self-coding macro program, a sub-family model is called by the self-coding macro program to drive and automatically create a tunnel BIM model, so that the process of building the BIM model does not depend on Civil 3D and other software any more, the steps of modeling are reduced, the sub-family model is built in a parameter form, and the parameter data is used for driving the tunnel BIM model to be constructed and adjusted, the attribute content is automatically perfected, the existing manual input of the attribute content is replaced to complete modeling, and the precision and the efficiency of tunnel BIM modeling are improved. Furthermore, the batch definition attributes can not only define the attributes of the family according to project requirements, but also do not depend on manual definition of modeling workers, so that the BIM informatization capability of the tunnel is improved, and the BIM modeling efficiency of the tunnel is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a production facility in a hardware operating environment according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a Revit macro program-based tunnel BIM intelligent modeling method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of batch attribute definition in the Revit macro-program-based tunnel BIM intelligent modeling method according to the embodiment of the present application;
fig. 4 is a functional module schematic diagram of a Revit macro program-based tunnel BIM intelligent modeling apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Aiming at the problems that the number of structures and components of the conventional long tunnel BIM model is large, the modeling process is complex, the modeling difficulty and the workload are high, how to quickly and intelligently accurately arrange each tunnel structure and component according to the design and construction requirements to replace manual long tunnel BIM model creation, the tunnel BIM model is not created once and for all according to the change and the requirement of each design, construction and operation stage, and changes can be generated in the design, construction and later maintenance.
Therefore, the method and the device have the advantages that the Revit is based on the macro program visual programming, the traffic engineering line can be directly fitted in the Revit by means of the self-coding macro program, the sub-family model is called by the self-coding macro program to drive and automatically create the tunnel BIM, so that the process of creating the BIM does not depend on Civil 3D and other software, the steps of modeling are reduced, the sub-family model is created in a parameter mode, the tunnel BIM is driven by parameter data to be constructed and adjusted, the attribute content is automatically perfected, the existing manual input of the attribute content is replaced, and the precision and the efficiency of the tunnel BIM are improved.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a production device in a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the production apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the production apparatus and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and an electronic program.
In the production apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the production apparatus of the present invention may be disposed in the production apparatus, and the production apparatus calls the tunnel BIM intelligent modeling apparatus based on the macro program for Revit stored in the memory 1005 through the processor 1001, and executes the tunnel BIM intelligent modeling method based on the macro program for Revit provided in the embodiment of the present application.
In the scheme, Revit is the name of a set of series software of Autodesk company. The Revit series software is constructed for a Building Information Model (BIM) and can help architects to design, build and maintain buildings with better quality and higher energy efficiency. The self-coding macro procedure is used to assist the Autodesk Revit in achieving the current platform or the current platform is not easy to achieve. A self-coding macro program is a visual script program that assists the user in customizing algorithms to process data and produce geometric figures.
In order to satisfy the functions of building and managing the whole life cycle of the tunnel engineering, referring to fig. 2, fig. 2 shows a flowchart of steps of a method for intelligently modeling a tunnel BIM based on a macro program in Revit according to an embodiment of the present application, where the method may include the following steps:
step S101: and fitting in Revit according to the pre-acquired tunnel flat curve data and the pre-acquired tunnel vertical curve data to obtain a tunnel three-dimensional line.
In a specific implementation, a flat curve refers to a general term for a curve where a route turns in a planar line; the vertical curve is a curve which is formed by connecting two adjacent slope sections on the longitudinal section of the line by taking a variable slope point as an intersection point; the tunnel three-dimensional line is directly obtained through operations in the Revit software.
Step S102: extracting the geometric characteristics of each main body structure and the auxiliary components of the main body structure, performing parameterized creation on each main body structure and the auxiliary components of the main body structure in the Revit, and setting adjustable parameters of the corresponding sub-family models according to the geometric characteristics to obtain a tunnel modeling family library; and when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified.
In the specific implementation process, the main structure of the tunnel is a building which is built underground or underwater or in a mountain and is used for laying railways or building roads for motor vehicles to pass through, and the main structure mainly comprises lining masonry, wherein common concrete is used as a material of the lining masonry, and a spray anchor net structure is also used as the lining masonry. The auxiliary components of a tunnel typically include water drain and drain protection, lighting, ventilation, and safety avoidance. The auxiliary members are constructed in order to ensure the safe passage of vehicles in the tunnel, and in order to ensure the normal use of the tunnel. The adjustable parameters are parameters which can be modified according to actual design requirements, the geometric characteristics refer to characteristics for generating geometric figures, and the tunnel modeling family library comprises a plurality of sub-family models.
Step S103: and according to the information requirements of different tunnel BIM models, and aiming at the characteristics and engineering general profiles of different main body structures and accessory components thereof, defining the family file name, the stake number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in a batch mode in an EXCEL table.
In a specific implementation process, the family file name of the sub-family model includes: the anchor rod is fixedly connected with the primary lining; the size parameters comprise two lining longitudinal slopes, anchor rod length, reinforcing mesh specification and the like, and the pile number parameters comprise pile number codes. It should be noted that the peg number parameter and the size parameter defined herein do not include actual values.
Step S104: and calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models to be matched with the tunnel three-dimensional line in the macro program, thereby constructing and obtaining a tunnel BIM model.
In a specific implementation process, the self-coding macro program is obtained through secondary development and is used for calling a target sub-family model, the target sub-family model is any one of a plurality of sub-family models corresponding to each main body structure and the accessory components thereof, and after the size parameters of the target sub-family model are modified, the plurality of target sub-family models with the modified size parameters are combined to obtain the actually required tunnel BIM.
Aiming at the problems of more long tunnel BIM model structures and components, complex modeling process, high modeling difficulty and workload at present, the method is characterized in that a Revit is based on macro program visual programming, a traffic engineering line can be directly fitted in the Revit by means of a self-coding macro program, a sub-family model is called by the self-coding macro program to drive to automatically create the tunnel BIM model, so that the process of creating the BIM model does not depend on Civil 3D and other software, the modeling steps are reduced, the sub-family model is created in a parameter form, the tunnel BIM model is driven to be constructed and adjusted by parameter data, the attribute content is automatically perfected, the existing manual input of the attribute content is replaced to complete modeling, and the precision and the efficiency of tunnel BIM modeling are improved. Furthermore, the batch definition attributes can not only define the attributes of the family according to project requirements, but also do not depend on manual definition of modeling workers, so that the BIM informatization capability of the tunnel is improved, and the BIM modeling efficiency of the tunnel is further improved.
In the application, the step S101 of obtaining the three-dimensional tunnel line by fitting in Revit according to the preset acquired tunnel horizontal curve data and vertical curve data may include:
step S101-1: calculating to obtain plane coordinate data according to preset acquired tunnel flat curve data;
step S101-2: and fitting the three-dimensional curve of the plane coordinate data and the preset acquired vertical curve data in Revit by a least square method to obtain the three-dimensional tunnel line.
The step S101-1 may be specifically implemented by the following steps:
step S101-1-1: determining the linear characteristics of the tunnel flat curve according to the flat curve data;
step S101-1-2: and calculating the flat curve data by an intersection point method or a line element method according to the linear characteristics of the three-dimensional curve to obtain the plane coordinate data.
When the intersection method is used for calculating the flat curve data, the following flat curve data can be obtained from a flat curve element table in line design: the system comprises a starting coordinate, an intersection point curve element and an end point coordinate, wherein the intersection point curve element comprises an intersection point coordinate, a curve radius, a front easement curve length and a rear easement curve length; the starting coordinate is a QD starting point coordinate or a previous intersection point coordinate JD; the end point coordinate is the end point coordinate or the next intersection point coordinate JD. The data of the flat curve fitted by the intersection method can be shown in table 1.
Referring to table 1, table 1 shows the data of the flat curve obtained by the intersection point method.
TABLE 1 Flat Curve data fitting by intersection method
Figure RE-GDA0003629429050000111
When the line element method is used for calculating the flat curve data, the following flat curve data can be obtained from a flat curve element table in the circuit design: the line type, the starting point coordinate, the starting azimuth angle, the starting radius, the ending radius, the deflection direction and the line element length of each line segment. The data of the flat curve fitted by the line element method are shown in table 2.
TABLE 2 Flat Curve data fitting by line element method
Figure RE-GDA0003629429050000112
Figure RE-GDA0003629429050000121
In terms of the selection of the intersection point method or the line element method, the intersection point method is mainly applied to symmetrical or asymmetrical easement curves and circular curves in general, so when the linear characteristics of the tunnel flat curves conform to the easement curves and the circular curves, the intersection point method can be adopted to extract the tunnel flat curve data from the flat curve element table in the line design; on the contrary, when the linear characteristic of the tunnel flat curve conforms to the front easement curve and the rear easement curve with the length of 0 or a three-unit curve, a line element method is adopted. In addition, according to the line type characteristics of the tunnel flat curve, under the condition that the tunnel flat curve line type is relatively uncomplicated and data is supported, an intersection point method can be adopted so as to fit a required line more quickly; when the tunnel flat curve is complex, the line element method is more suitable.
In this application, the vertical curve data in step S101-2 may be extracted from a pre-obtained "slope table" of the line design, and the vertical curve data may include a slope mileage, a slope elevation, and a vertical curve arc length, where the vertical curve arc length is a vertical curve arc radius in a circular curve type or a parabolic length in a parabolic type. The extracted vertical curve data can be shown in table 3.
TABLE 3 vertical curve data
Figure RE-GDA0003629429050000122
For realizing the step S101-2, a program module can be developed in Revit by means of a line fitting principle method, and three-dimensional curve fitting is carried out on the plane coordinate data and the vertical curve data by a least square method to obtain the tunnel three-dimensional line. The least square approximation is a commonly used numerical approximation fitting method, when an approximation fitting function is a polynomial, the approximation fitting function is a polynomial function approximation, and the fitting of a three-dimensional curve needs to be realized by means of a least square method-polynomial fitting function. The least square method curve fitting process is to calculate the best fitting result when the sum of the squares of the interpolation of the plane coordinate data and the function fitting value reaches the minimum, and the calculation formula can refer to the related prior art and is not repeated herein.
In the present application, the parameterization in Revit in step S102 to create a sub-family model of each main structure and its affiliated members may include the following steps:
extracting a plurality of graphic primitives of each main body structure and accessory components thereof in Revit, and setting basic parameters among different graphic primitives in the plurality of graphic primitives;
in a specific implementation process, a primitive generally refers to a basic graphic element, and any graphic expression is formed by cyclically combining a plurality of different points, lines, plane patterns or the same pattern, and the points, lines and plane patterns are the basic graphic elements. Setting the basic parameters of the primitive can increase the geometrical connection among multiple sub-family models.
And correlating the basic parameters in the form of data to obtain the sub-family model of each body structure and the accessory members thereof which are created in a parameterization mode.
In a specific implementation process, the basic parameters are correlated in a data form, so that the parameters of the sub-family model are controlled and managed, and the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified when the adjustable parameters of any sub-family model are modified.
According to the scheme, in the BIM modeling process, elements such as the size, the angle, the relative coordinates and the like of the sub-family model of the main body structure and the accessory components thereof are difficult to quickly and accurately create. And (3) associating relevant elements in the BIM by using the parameterization creating method in the steps, and setting the attributes of the elements such as the size, the angle, the relative coordinates and the like of the sub-family model, namely creating and modifying the sub-family model in a parametric form. The element parameters associated by writing formulas or conditional language satisfy certain geometrical relationship and numerical relationship, and are restricted mutually. So as to modify one of the element parameters, and the related parameters are changed together, thereby achieving the function of rapidly modifying the BIM model.
In the present application, the process of parameterizing the creation of a sub-family model is described in detail with reference to the following examples:
for example, a model is parameterized for the lining of a building, wherein the lining comprises two linings and a primary lining.
In the specific implementation process, a parameterization is carried out on the second lining to establish a model, the inner contour and the outer contour of the second lining of the tunnel are mainly formed by tangency of five-center circle drawing arcs, the relative coordinates of fixed centers of circles are firstly found by using size parameters in the drawing process, corresponding arcs are drawn by using the fixed centers of circles, and the length of the arcs is controlled by adopting an angle to achieve the purpose that the five arcs are tangent and do not conflict. The five arcs are related by geometric constraints and dimensional constraints, and the degrees of freedom and the constraints are equal. In different two linings, the drawing of the two lining outlines can be completed only by adjusting a static numerical value or a formula, so that the requirements of the outlines of various lining types are met. And after a profile system capable of being driven in a parameterization mode is established, lofting, stretching, fusing and shearing operations are realized according to a modeling space establishing function, and then different three-dimensional lining Revit family models are established.
Specifically, the inner contour of the tunnel mainly takes five fixed points as circle centers and respectively takes a radius r1To r4Drawing an arc according to a certain angle to form an inner contour R1To R4Drawing an outer contour according to a certain angle; is established with O1Relative coordinate system with (0, 0) as center of circleFind O2(X2,Y2)、O’2(-X2,Y2)、O3(X3, Y3)、O’3(-X3,Y3) And inverted arch center O'4(0,Y4) Drawing circular arcs according to the respective radiuses and angles of the central points in the design drawing, locking the tangent geometric relationship, drawing an inner circle outline drawing in a parameterized mode, and calculating and drawing a five-center circle outer outline Ri on the basis of the geometry and numerical value of the radius of the tunnel inner outline drawing. The calculation is implemented as follows:
Ri=ri+L
wherein in the formula riThe radius length of the inner contour of the same circle center is shown, and L is a lining thickness value.
Referring to table 4, table 4 shows the tunable parameters for the two-liner profile.
TABLE 4 two-lining profile adjustable parameter
Figure RE-GDA0003629429050000141
Figure RE-GDA0003629429050000151
And further creating a standard family template file through Revit, creating a reference line in the coordinate center of the standard family template, setting a length dimension parameter and a longitudinal slope angle parameter, inserting the outline of the lining body subgroup model to be modeled for lofting by taking the reference line as a lofting standard path, and inputting related parameters to adjust the length and the longitudinal slope of the second lining by setting the length dimension parameter and the longitudinal slope angle parameter of lofting.
Referring to table 5, table 5 shows the adjustable parameters of the standard family template.
TABLE 5 two-liner Standard family template Adjustable parameters
Figure RE-GDA0003629429050000152
Furthermore, the primary lining is parameterized and modeled by referring to the step of parameterizing the secondary lining.
The method comprises the following steps of establishing a model for a support member in a tunnel in a parameterization mode, wherein the support member mainly comprises an anchor rod, a steel arch frame and a grating.
In the specific implementation process, the sizes of the designed anchor rods and the acting positions in the tunnel are different according to different tunnel surrounding rock grades and construction schemes, and the forms of the steel arch frames and the grids are also different.
Specifically, in the process of carrying out parametric modeling on the anchor rods, the anchor rods used by various lining types have differences in diameter, length and number, and the anchor rods act on the arch part and the side wall.
In the process of establishing a model for anchor rod parameterization, a standard family template is newly established, a single anchor rod reference line is set in a standard family template file to serve as a lofting path of an anchor rod, the lofting length of the anchor rod is set to be an example parameter, and the radius of the anchor rod is marked in a lofting contour to serve as a contour parameter. In the tunnel modeling, the modeling of the anchor rod sub-groups with different lengths and radiuses can be completed by adjusting parameters. In order to make the anchor rod model more accord with the engineering practical application, set up the anchor tab in the stock bottom.
Referring to table 6, table 6 shows anchor rod standard family template adjustable parameters.
TABLE 6 Anchor rod standard family template adjustable parameters
Figure RE-GDA0003629429050000161
Different from other supporting components which are vertically arranged in an array along the tunnel trend, the anchor rods are arranged at certain angles and intervals in the tunnel anchor rod supporting design for achieving a better mechanical effect. Therefore, when the anchor rod subgroup model is drawn, a curve array modeling function is adopted, and the staggered angle of the anchor rods and the number of arrays are adjusted in a design size parameter mode to reach the design and construction standards.
Further, in the tunnel supporting member, the steel arch frames and the gratings are vertically distributed along the direction of the tunnel, and are basically consistent with the establishment principle and method of the anchor rod subgroup model in the process of establishing the model, and are not described herein again.
And carrying out parameterization modeling on the rest structures of the tunnel.
In a specific implementation process, according to the design standard and the use requirement of the tunnel, the tunnel also comprises some conventional structures and rail transit pavement structures. In the actual design and construction, the limitation and the inner contour of the tunnel building are not changed. The internal conventional structure has no size and structural change, the accessory structure has no obvious geometric parameter characteristics, and the universality and the secondary utilization value are not realized.
In the actual modeling process of the tunnel BIM, after confirming that a tunnel structure design construction drawing is correct, importing an AutoCAD file into Revit, creating inner outlines and outer outlines of other structures of the tunnel in a line picking mode, and realizing lofting by using closed figures to form a structural geometry. And setting parameters such as longitudinal slope and lofting length and the like according to the same way as the parameterized building of the two lining family models to realize parameterized modeling of the sub-family models such as a cable trench, a drainage trench, inverted arch backfill, a track, a railway ballast, a open cut tunnel portal and the like, exporting the created sub-family models, classifying, naming and storing to form a tunnel modeling family library so as to be called when building a BIM model.
In the present application, step S103 specifically includes the following contents:
s103-1: extracting a standard family template in Revit, wherein the standard family template comprises a plurality of inherent attributes to be written and a plurality of adjustable attributes to be written;
s103-2: setting a plurality of adjustable attributes according to different information requirements of the BIM model of the tunnel and the characteristics and engineering general profiles of different main structures and auxiliary members thereof, and writing the plurality of adjustable attributes into an EXCEL table in a text mode;
s103-3: implementing an attribute definition for a plurality of the tunable attributes in the EXCEL table, wherein the content of the attribute definition includes a family file name, an stake number parameter, a size parameter, and attribute content for each sub-family model in the tunnel modeling family library.
In a specific implementation process, adjustable parameters of a standard family template need to be set in Revit to establish a sub-family model in a parameterization mode, so that the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified when the adjustable parameters of any sub-family model are modified in a later period, and the establishment of the BIM model is more convenient and faster.
The method and the device can quickly define the attribute of each sub-family model in batches for the tunnel BIM model family member. In the batch definition process, the attribute types of the sub-family models to be defined are counted in the EXCEL table according to the file names of each family, and the attribute definition of the sub-family models is realized by writing code blocks to read the attribute contents set in the BIM modeling family library of the tunnel and the EXCEL table. In the attribute writing process, the display and sharing of attribute information are considered, and the attribute to be defined is divided into IFC attribute parameters by using a Select Builtn Parameter Group node block so as to meet the requirement of model attribute interaction.
Referring to fig. 3, in some embodiments, the step S103-3 further includes the following steps:
importing the standard family template;
reading a plurality of adjustable attributes in the EXCEL table, and forming an array by the plurality of adjustable attributes;
and identifying a plurality of family file names in the array, and mapping and writing the stake number parameter, the size parameter and the attribute content in the array into the standard family template.
In a specific implementation process, a tunnel standard family template is firstly created in Revit, and a tunnel modeling family library created in a parameterization mode is loaded into a project file.
And counting the lining type corresponding to the pile number parameter according to the tunnel design construction drawing by using the data of the modeling parameters, recording a sub-family model corresponding to the pile number parameter by using an Excel form, filling attribute contents defined in batch by the sub-family model in the parametric modeling process in the form, and reading the contents in an Excel form file from a self-coding macro program node if the size parameter in the sub-family model needs to be changed.
In some embodiments, step S104 specifically includes the following:
calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program;
importing the EXCEL table into a self-coding macro program, and reading the family file name, the stake number parameter, the size parameter and the attribute content of the corresponding target sub-family model in the EXCEL table;
modifying the size parameters and the attribute contents in the target sub-family model according to the target pile number parameters in an EXCEL table;
and identifying the pile number mileage of the tunnel three-dimensional curve, calling the size parameters and the attribute contents of the target sub-family model according to the pile number mileage, and constructing to obtain the tunnel BIM.
In addition, in order to achieve the above object, referring to fig. 4, the present application further provides a Revit macro program based tunnel BIM intelligent modeling apparatus, including:
a fitting module: the system comprises a data acquisition unit, a data acquisition unit and a data acquisition unit, wherein the data acquisition unit is used for acquiring tunnel flat curve data and tunnel vertical curve data in advance;
a model creation module: the method comprises the steps of extracting geometric features of each main body structure and auxiliary components of the tunnel, performing parameterized creation on each main body structure and auxiliary components of the main body structure in Revit, and setting adjustable parameters of corresponding sub-family models according to the geometric features to obtain a tunnel modeling family library; when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified;
a parameter definition module: the system comprises a BIM (building information modeling) library, a family file name, a pile number parameter, a size parameter and an attribute content, wherein the BIM library is used for defining the family file name, the pile number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in batches in an EXCEL table according to the information requirements of different tunnel BIM models and the characteristics and engineering general profiles of different main body structures and auxiliary components thereof;
a model generation module: the device is used for calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models to be matched with the tunnel three-dimensional line in the macro program, and a tunnel BIM model is established.
It should be noted that, in this embodiment, each module in the Revit macro program-based tunnel BIM intelligent modeling apparatus corresponds to each step in the Revit macro program-based tunnel BIM intelligent modeling method in the foregoing embodiment one to one, and therefore, the specific implementation of this embodiment may refer to the foregoing implementation and is not described herein again.
In some embodiments, the fitting module further comprises:
a calculation module: the system comprises a data acquisition module, a data acquisition module and a data processing module, wherein the data acquisition module is used for acquiring tunnel flat curve data;
an obtaining module: and fitting a three-dimensional curve in Revit by using a least square method on the plane coordinate data and preset acquired vertical curve data to obtain a tunnel three-dimensional line.
In some embodiments, the obtaining module is further specifically configured to:
determining the linear characteristics of the tunnel flat curve according to the flat curve data;
and calculating the flat curve data by an intersection point method or a line element method according to the linear characteristics of the three-dimensional curve to obtain the plane coordinate data.
In some embodiments, the model creation module is further specifically configured to:
extracting a plurality of graphic primitives of each main body structure and accessory components thereof in Revit, and setting basic parameters among different graphic primitives in the plurality of graphic primitives;
and correlating the basic parameters in the form of data to obtain the sub-family model of each body structure and the accessory members thereof which are created in a parameterization mode.
In some embodiments, the parameter definition module comprises:
an extraction module: the method comprises the steps of extracting a standard family template in Revit, wherein the standard family template comprises a plurality of inherent attributes to be written and a plurality of adjustable attributes to be written;
an attribute writing module: the system comprises a plurality of adjustable attributes, an EXCEL table and a database, wherein the adjustable attributes are used for setting a plurality of adjustable attributes according to different BIM information requirements of tunnels and aiming at the characteristics and engineering general profiles of different main structures and auxiliary components thereof, and writing the adjustable attributes into the EXCEL table in a text mode;
an attribute definition module: an attribute definition for implementing a plurality of the tunable attributes in the EXCEL table, wherein contents of the attribute definition include a family file name, an stake number parameter, a size parameter, and an attribute content for each sub-family model in the tunnel modeling family library.
In some embodiments, the attribute definition module is further specifically configured to:
importing the standard family template;
reading a plurality of adjustable attributes in the EXCEL table, and forming an array by the plurality of adjustable attributes;
and identifying a plurality of family file names in the array, and mapping and writing the stake number parameter, the size parameter and the attribute content in the array into the standard family template.
In some embodiments, the model generation module is further specifically configured to:
calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program;
importing the EXCEL table into a self-coding macro program, and reading the family file name, stake number parameter, size parameter and attribute content of the corresponding target sub-family model in the EXCEL table;
modifying the size parameters and the attribute contents in the target sub-family model according to the target pile number parameters in an EXCEL table;
and identifying the pile number mileage of the tunnel three-dimensional curve, calling the size parameters and the attribute contents of the target sub-family model according to the pile number mileage, and constructing to obtain the tunnel BIM.
Furthermore, in an embodiment, an embodiment of the present application further provides a production apparatus, which includes a processor, a memory, and a computer program stored in the memory, and when the computer program is executed by the processor, the steps of the method in the foregoing embodiment are implemented.
Furthermore, in an embodiment, an embodiment of the present application further provides a computer storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the method in the foregoing embodiments.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories. The computer may be a variety of computing devices including intelligent terminals and servers.
In some embodiments, the executable instructions may be in the form of a program, software module, script, or code written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may, but need not, correspond to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. "and/or" means that either or both of them can be selected. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for intelligently modeling the tunnel BIM based on the Revit macro program provided by the application is described in detail, a specific example is applied in the method to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

  1. The method for BIM intelligent modeling of the tunnel based on the macro program by Revit is characterized by comprising the following steps:
    according to the tunnel flat curve data and the tunnel vertical curve data which are collected in advance, a tunnel three-dimensional line is obtained through fitting in Revit;
    extracting the geometric characteristics of each main body structure and the auxiliary components of the main body structure of the tunnel, parametrically creating a sub-family model of each main body structure and the auxiliary components of the main body structure in Revit, and setting adjustable parameters of the corresponding sub-family model according to the geometric characteristics to obtain a tunnel modeling family library; when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified;
    according to information requirements of different tunnel BIM models, aiming at characteristics and engineering general profiles of different main body structures and accessory components thereof, defining the family file name, the pile number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in a batch mode in an EXCEL table;
    and calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models to be matched with the tunnel three-dimensional line in the macro program, thereby constructing and obtaining a tunnel BIM model.
  2. 2. The method according to claim 1, wherein fitting in Revit to obtain a three-dimensional tunnel route according to preset acquired tunnel planogrammatic data and vertical curvilinear data comprises:
    calculating to obtain plane coordinate data according to preset acquired tunnel flat curve data;
    and fitting a three-dimensional curve in Revit by using a least square method on the plane coordinate data and preset acquired vertical curve data to obtain a tunnel three-dimensional line.
  3. 3. The method of claim 2, wherein calculating planar coordinate data from the flat curve data comprises:
    determining the linear characteristics of the tunnel flat curve according to the flat curve data;
    and calculating the flat curve data by an intersection point method or a line element method according to the linear characteristics of the three-dimensional curve to obtain the plane coordinate data.
  4. 4. The method of claim 1, wherein parameterizing in Revit creates a sub-family model of each subject structure and its appurtenances, comprising:
    extracting a plurality of graphic primitives of each main body structure and accessory components thereof in Revit, and setting basic parameters among different graphic primitives in the plurality of graphic primitives;
    and correlating the basic parameters in the form of data to obtain the sub-family model of each body structure and the accessory members thereof which are created in a parameterization mode.
  5. 5. The method of claim 1, wherein batch defining the family filename, stub number parameter, size parameter and attribute content of each sub-family model in the tunnel modeling family library in the EXCEL table for the feature and engineering profiles of different subject structures and their appurtenant components according to different tunnel BIM model information requirements comprises:
    extracting a standard family template in Revit, wherein the standard family template comprises a plurality of inherent attributes to be written and a plurality of adjustable attributes to be written;
    setting a plurality of adjustable attributes according to different information requirements of the BIM model of the tunnel and the characteristics and engineering general profiles of different main structures and auxiliary members thereof, and writing the plurality of adjustable attributes into an EXCEL table in a text mode;
    implementing an attribute definition for a plurality of the tunable attributes in the EXCEL table, wherein contents of the attribute definition include a family file name, a stake number parameter, a size parameter, and an attribute content for each sub-family model in the tunnel modeling family library.
  6. 6. The method of claim 5, wherein implementing the attribute definition for the plurality of tunable attributes in the EXCEL table comprises:
    importing the standard family template;
    reading a plurality of adjustable attributes in the EXCEL table, and forming an array by the plurality of adjustable attributes;
    and identifying a plurality of family file names in the array, and mapping and writing the stake number parameter, the size parameter and the attribute content in the array into the standard family template.
  7. 7. The method of claim 1, wherein the step of calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro procedure and modifying size parameters of the target sub-family models in an EXCEL table so that the target sub-family models and the tunnel three-dimensional line are matched in the macro procedure to form a tunnel BIM model comprises the following steps:
    calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program;
    importing the EXCEL table into a self-coding macro program, and reading the family file name, stake number parameter, size parameter and attribute content of the corresponding target sub-family model in the EXCEL table;
    modifying the size parameters and the attribute contents in the target sub-family model according to the target pile number parameters in an EXCEL table;
    and identifying the pile number mileage of the tunnel three-dimensional curve, calling the size parameters and the attribute contents of the target sub-family model according to the pile number mileage, and constructing to obtain the tunnel BIM.
  8. Revit is tunnel BIM intelligent modeling device based on macro procedure, its characterized in that includes:
    a fitting module: the system comprises a data acquisition unit, a data acquisition unit and a data acquisition unit, wherein the data acquisition unit is used for acquiring tunnel flat curve data and tunnel vertical curve data in advance;
    a model creation module: the method comprises the steps of extracting geometric features of each main body structure and auxiliary components of the tunnel, performing parameterized creation on each main body structure and auxiliary components of the main body structure in Revit, and setting adjustable parameters of corresponding sub-family models according to the geometric features to obtain a tunnel modeling family library; when the adjustable parameters of any sub-family model are modified, the geometric dimension of the sub-family model in the tunnel modeling family library is adaptively modified;
    a parameter definition module: the system comprises a BIM (building information modeling) library, a family file name, a pile number parameter, a size parameter and an attribute content, wherein the BIM library is used for defining the family file name, the pile number parameter, the size parameter and the attribute content of each sub-family model in the tunnel modeling family library in batches in an EXCEL table according to the information requirements of different tunnel BIM models and the characteristics and engineering general profiles of different main body structures and auxiliary components thereof;
    a model generation module: the device is used for calling a plurality of target sub-family models required by the tunnel three-dimensional line by using a self-coding macro program, and modifying the size parameters of the target sub-family models in an EXCEL table so as to enable the target sub-family models to be matched with the tunnel three-dimensional line in the macro program, and a tunnel BIM model is established.
  9. 9. An electronic device, characterized in that the electronic device comprises:
    at least one processor; and the number of the first and second groups,
    a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
    the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
  10. 10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the method of any of claims 1-7.
CN202210403653.9A 2022-04-18 2022-04-18 Revit macro program-based tunnel BIM intelligent modeling method Pending CN114707220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210403653.9A CN114707220A (en) 2022-04-18 2022-04-18 Revit macro program-based tunnel BIM intelligent modeling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210403653.9A CN114707220A (en) 2022-04-18 2022-04-18 Revit macro program-based tunnel BIM intelligent modeling method

Publications (1)

Publication Number Publication Date
CN114707220A true CN114707220A (en) 2022-07-05

Family

ID=82174313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210403653.9A Pending CN114707220A (en) 2022-04-18 2022-04-18 Revit macro program-based tunnel BIM intelligent modeling method

Country Status (1)

Country Link
CN (1) CN114707220A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117708964A (en) * 2024-02-06 2024-03-15 陕西省水利电力勘测设计研究院 Diversion tunnel parameterization design method based on building information model
CN117830034A (en) * 2024-03-06 2024-04-05 鑫源建设科技有限责任公司 BIM automatic optimization and display method, BIM automatic optimization and display device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117708964A (en) * 2024-02-06 2024-03-15 陕西省水利电力勘测设计研究院 Diversion tunnel parameterization design method based on building information model
CN117830034A (en) * 2024-03-06 2024-04-05 鑫源建设科技有限责任公司 BIM automatic optimization and display method, BIM automatic optimization and display device, computer equipment and storage medium
CN117830034B (en) * 2024-03-06 2024-05-28 鑫源建设科技有限责任公司 BIM automatic optimization and display method, BIM automatic optimization and display device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112560154B (en) Highway tunnel engineering BIM model dynamic creation method based on Unity platform
Vignali et al. Building information Modelling (BIM) application for an existing road infrastructure
CN114707220A (en) Revit macro program-based tunnel BIM intelligent modeling method
CN111395520B (en) Prefabricated column and superposed beam deep design method based on CAD and WebGl fabricated structures
CN109408912B (en) Special-shaped component parameterized modeling method based on Revit secondary development
CN112943364B (en) Dynamo and Revit-based parameterized modeling method for long tunnel
CN109359351B (en) Three-dimensional modeling method for pipeline and pipeline design method
CN111062081A (en) Underground continuous wall construction method based on BIM technology
US7830373B1 (en) System and methods of civil engineering objects model
CN110889160A (en) Municipal pipeline construction method based on BIM technology
CN110080114A (en) A kind of visualization prefabricated stand column construction method based on BIM technology
CN110263451A (en) Arch rib processing construction method based on BIM
CN115828404B (en) Grasshopper-based building modeling method for roof
CN111460560A (en) Foundation pit excavation construction method based on BIM
Kim et al. A study on the status of infrastructure BIM and BIM library development
CN106373188B (en) A kind of generation method and system of underground pipe network threedimensional model
CN111353188B (en) Automated system for artificial rock structural design and manufacture
CN116244802A (en) BIM-based earth-rock dam engineering integral model integration method
CN110469348B (en) BIM technology-based underground tunnel large curve turning steel grid arrangement method
CN116956418A (en) Tunnel investigation modeling method based on BIM software
Abdelwahab Intelligent design (4D, 5D and beyond) for road design and construction projects: Two case studies
CN116070311A (en) BIM forward design method for long and large bridge
CN110851900A (en) Method, device, storage medium and equipment for reinforcing ribs of geometric shapes and automatically updating geometric shapes
CN114580057A (en) Comprehensive pipe rack pipeline outlet design method based on BIM
Wang et al. The application of BIM technology in the construction of Hangzhou Zizhi tunnel

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination