Disclosure of Invention
In view of the above, the invention provides a modeling method and device for a highway tunnel project, which realize automatic modeling of the highway tunnel project and improve modeling efficiency.
In order to achieve the above purpose, the specific technical scheme provided by the invention is as follows:
a modeling method for an expressway tunnel project, comprising:
creating a basic database, and storing project basic information, line coordinate point information, model component decomposition rules and component attribute parameter information extracted from design data of a highway tunnel project to be modeled into the basic database, wherein the component attribute parameter information comprises space position information of a component;
creating a parameterized component family according to the model component decomposition rules, and adding attribute parameter fields in the parameterized component family, wherein the attribute parameter fields correspond to the component attribute parameter information;
invoking project basic information and line coordinate point information in the basic database to generate a line model;
and calling the spatial position information of the components stored in the basic database, instantiating the component family at the corresponding position in the line model, and generating a building informationized BIM model of the expressway tunnel project to be modeled.
Optionally, the model component decomposition rule is a work decomposition structure WBS of an expressway tunnel project to be modeled, and the creating a parameterized component family according to the model component decomposition rule includes:
decomposing the expressway tunnel project to be modeled according to a work decomposition structure WBS of the expressway tunnel project to be modeled to obtain all components contained in the expressway tunnel project to be modeled;
a parameterizable component model is created for each component by Revit, generating a family of parameterized components.
Optionally, the components include a parametrizable component and an uncontrollable component, the creating, by Revit, a parametrizable component model for each component includes:
a parametrizable component model is created for the parametrizable component by Revit in the form of a three-point adaptive family of conventional models, wherein spatial position information in the parametrizable component model includes a start point coordinate, a midpoint coordinate, an end point coordinate, and an elevation.
Optionally, the calling the spatial position information of the components stored in the basic database, instantiating the component family at the corresponding position in the line model, and generating a building informationized BIM model of the expressway tunnel project to be modeled, including:
reading the spatial position information of the components stored in the basic database, and generating a plurality of route points in the line model;
for each route point, when a component exists in the route point, calling component attribute parameter information stored in the basic database, and assigning an attribute parameter field of a parameterizable component model corresponding to the component to realize the instantiation of the parameterizable component model corresponding to the route point;
and the instantiation parameterizable component model corresponding to each route point forms a building information BIM model of the expressway tunnel project to be modeled.
Optionally, the method further comprises:
in the use process of the building information BIM model of the expressway tunnel project, the modification of the building information BIM model of the expressway tunnel project is realized by modifying the data in the basic database and/or the data in the parameterized member family.
A modeling apparatus for an expressway tunnel project, comprising:
a database creation unit for creating a basic database, storing project basic information, line coordinate point information, model component decomposition rules and component attribute parameter information extracted from design data of a highway tunnel project to be modeled into the basic database, wherein the component attribute parameter information comprises spatial position information of a component;
a member family creation unit configured to create a parameterized member family according to the model member decomposition rule, and add an attribute parameter field in the parameterized member family, where the attribute parameter field corresponds to the member attribute parameter information;
the line generation unit is used for calling the project basic information and the line coordinate point information in the basic database to generate a line model;
the instantiation unit is used for calling the spatial position information of the components stored in the basic database, instantiating the component family at the corresponding position in the line model and generating a building informationized BIM model of the expressway tunnel project to be modeled.
Optionally, the member group creation unit includes:
the project decomposition subunit is used for decomposing the expressway tunnel project to be modeled according to the work decomposition structure WBS of the expressway tunnel project to be modeled to obtain all components contained in the expressway tunnel project to be modeled;
a component family generation subunit for creating a parameterizable component model for each component by Revit, generating a parameterized component family.
Optionally, the component comprises a parametrizable component and an uncontrollable component, the component family generating subunit is specifically configured to create a parametrizable component model for the parametrizable component by Revit in the form of a three-point adaptive conventional model family, wherein the spatial position information in the parametrizable component model includes a start point coordinate, a midpoint coordinate, an end point coordinate, and an elevation.
Optionally, the instantiation unit is specifically configured to read spatial position information of a component stored in the base database, and generate a plurality of route points in the route model; for each route point, when a component exists in the route point, calling component attribute parameter information stored in the basic database, and assigning an attribute parameter field of a parameterizable component model corresponding to the component to realize the instantiation of the parameterizable component model corresponding to the route point; and the instantiation parameterizable component model corresponding to each route point forms a building information BIM model of the expressway tunnel project to be modeled.
Optionally, the apparatus further includes:
the model modification unit is used for modifying the building information BIM model of the expressway tunnel project by modifying the data in the basic database and/or the data in the parameterized component family in the use process of the building information BIM model of the expressway tunnel project.
Compared with the prior art, the invention has the following beneficial effects:
according to the method and the device for modeling the expressway tunnel project, firstly, a basic database is created according to design data of the expressway tunnel project to be modeled, then, a parameterized component family is created according to a model component decomposition rule, and corresponding attribute parameter fields are added in the parameterized component family according to component attribute parameters in the basic database, so that the parameterized component family can be driven by parameters, project basic information and line coordinate point information in the basic database are called to generate a line model, finally, the component family is instantiated at corresponding positions in the line model to generate a building informationized BIM model of the expressway tunnel project to be modeled, the whole process is automatically completed, automatic modeling of the expressway tunnel project is realized, the problems of large workload and low efficiency caused by manually splicing the components are avoided, and the modeling accuracy is improved.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment discloses a modeling method of a highway tunnel project, which is applied to equipment provided with Revit software, referring to FIG. 1, the modeling method of the highway tunnel project specifically comprises the following steps:
s101: creating a basic database, and storing project basic information, line coordinate point information, model component decomposition rules and component attribute parameter information extracted from design data of a highway tunnel project to be modeled into the basic database;
the design data of the expressway tunnel project to be molded is data extracted from a design drawing of the expressway tunnel project to be molded.
The item basic information includes a road name and a tunnel name.
The route coordinate point information includes coordinate point information of each component included in the expressway tunnel project to be modeled. The components are the components in the expressway tunnel project, such as piers, bridges and the like.
The component model is an abstract model representation of a component, the types of components comprising parametrizable components and uncontrollable components, and the component model comprising parametrizable component models and uncontrollable component models, respectively. Model component decomposition rules creating WBSs for work decomposition structure WBS (Work Breakdown Structure) of highway tunnel project to be modeled is a process of decomposing project work into smaller, more manageable components with a staged deliverable result of the project. Decomposing the expressway tunnel project to be modeled according to the WBS of the expressway tunnel project to be modeled, and decomposing 50 components if the expressway tunnel project to be modeled is a section of 1000 m tunnel and the minimum decomposition unit is 20 m. The member attribute parameter information includes spatial position information of the member including a start point coordinate, a midpoint coordinate, an end point coordinate, and an elevation of the member. The component attribute parameter information also comprises coding information of the components, and specifically, the WBS of the expressway tunnel item to be modeled is used for decomposing the expressway tunnel item to be modeled to obtain the coding information of each component.
The base database may be any database including an Excel table.
S102: creating a parameterized component family according to a model component decomposition rule, and adding an attribute parameter field in the parameterized component family, wherein the attribute parameter field corresponds to component attribute parameter information;
decomposing the expressway tunnel project to be modeled according to a work decomposition structure WBS of the expressway tunnel project to be modeled to obtain all components contained in the expressway tunnel project to be modeled, creating a parameterizable component model for each component through Revit, and generating a parameterized component family.
Specifically, creating a parameterizable component model for each component by Revit includes:
a parametrizable component model is created for the parametrizable component by Revit in the form of a three-point adaptive family of conventional models, wherein spatial position information in the parametrizable component model includes a start point coordinate, a midpoint coordinate, an end point coordinate, and an elevation.
For uncontrollable members in the form of a family of conventional models.
S103: calling project basic information and line coordinate point information in a basic database to generate a line model;
the space position information of each component in the basic database correspondingly generates a route point, and a plurality of route points form a road center line of the expressway tunnel project to be modeled, namely a route model
The project basic information in the basic database, such as road names and tunnel names, is the basic information of the line model.
S104: and (3) calling the spatial position information of the components stored in the basic database, and instantiating the component family at the corresponding position in the line model to generate the building informationized BIM model of the expressway tunnel project to be modeled.
Referring to fig. 2, fig. 2 is a method for instantiating a component model in a component family, applied to Dynamo, which is open source software based on Revit. The method specifically comprises the following steps:
s201: reading the space position information of the components stored in the basic database, and generating a plurality of route points in the line model;
the spatial location information of each component stored in the base database corresponds to one route point.
S202: for each route point, when the route point has a component, calling component attribute parameter information stored in a basic database, and assigning attribute parameter fields of a parameterizable component model corresponding to the component to realize instantiation of the parameterizable component model corresponding to the route point;
specifically, the component attribute parameter information stored in the basic database corresponds to attribute parameter fields in the parameterizable component model one by one, so that accurate positioning of the model is realized.
Assigning coordinates and elevations of a starting point, a middle point and a finishing point of each component in the basic database to a space position information field of a corresponding component model;
assigning the item basic information in the basic database to the item basic information field of each component model;
the coding information of each component in the basic database is assigned to the coding information field of the corresponding component model.
S203: the instantiated parameterizable component model corresponding to each route point forms a building information BIM model of the expressway tunnel project to be modeled.
BIM (building information model, building Information Modeling) is a complete information model, and can integrate engineering information, processes and resources of engineering projects at different stages in a full life cycle into one model, so that the engineering project is conveniently used by all engineering participants. The real information of the building is simulated by the three-dimensional digital technology, and an information model which is mutually coordinated and internally consistent is provided for engineering design and construction, so that the model achieves the integration of design and construction, and all professions work cooperatively, thereby reducing the engineering production cost and ensuring the timely and quality-based completion of the engineering.
Through applying Dynamo, a user can compile a logic algorithm suitable for a highway tunnel project modeling method, calculate the arrangement of each route point, import coordinate point information in batches, construct a model through the arrangement of the coordinate points, and realize the accurate positioning of the model.
In addition, in the use process of the building information BIM model of the expressway tunnel project, the modification of the building information BIM model of the expressway tunnel project is realized by modifying the data in the basic database and/or the data in the parameterized component family.
According to the modeling method for the expressway tunnel project, firstly, a basic database is created according to design data of the expressway tunnel project to be modeled, then, a parameterized component family is created according to a model component decomposition rule, corresponding attribute parameter fields are added in the parameterized component family according to component attribute parameters in the basic database, the parameterized component family can be driven by parameters, project basic information and line coordinate point information in the basic database are called to generate a line model, finally, the component family is instantiated at corresponding positions in the line model to generate a building informationized BIM model of the expressway tunnel project to be modeled, the whole process is automatically completed, automatic modeling of the expressway tunnel project is achieved, the problems of large workload and low efficiency caused by manual component splicing are avoided, and modeling accuracy is improved.
Based on the modeling method of the expressway tunnel project disclosed in the above embodiment, the present embodiment correspondingly discloses a modeling apparatus of the expressway tunnel project, please refer to fig. 3, which specifically includes:
a database creation unit 301 for creating a base database into which project basic information, line coordinate point information, model component decomposition rules, and component attribute parameter information, including spatial position information of components, extracted from design data of a highway tunnel project to be modeled are stored;
a component family creation unit 302, configured to create a parameterized component family according to the model component decomposition rule, and add an attribute parameter field in the parameterized component family, where the attribute parameter field corresponds to the component attribute parameter information;
a line generating unit 303, configured to invoke the project basic information and the line coordinate point information in the basic database, and generate a line model;
and the instantiation unit 304 is configured to invoke the spatial position information of the components stored in the base database, instantiate the component family at the corresponding position in the line model, and generate a building informationized BIM model of the expressway tunnel project to be modeled.
Optionally, the member family creation unit 302 includes:
the project decomposition subunit is used for decomposing the expressway tunnel project to be modeled according to the work decomposition structure WBS of the expressway tunnel project to be modeled to obtain all components contained in the expressway tunnel project to be modeled;
a component family generation subunit for creating a parameterizable component model for each component by Revit, generating a parameterized component family.
Optionally, the component comprises a parametrizable component and an uncontrollable component, the component family generating subunit is specifically configured to create a parametrizable component model for the parametrizable component by Revit in the form of a three-point adaptive conventional model family, wherein the spatial position information in the parametrizable component model includes a start point coordinate, a midpoint coordinate, an end point coordinate, and an elevation.
Optionally, the instantiation unit 304 is specifically configured to read spatial position information of a component stored in the base database, and generate a plurality of route points in the route model; for each route point, when a component exists in the route point, calling component attribute parameter information stored in the basic database, and assigning an attribute parameter field of a parameterizable component model corresponding to the component to realize the instantiation of the parameterizable component model corresponding to the route point; and the instantiation parameterizable component model corresponding to each route point forms a building information BIM model of the expressway tunnel project to be modeled.
Optionally, the apparatus further includes:
the model modification unit is used for modifying the building information BIM model of the expressway tunnel project by modifying the data in the basic database and/or the data in the parameterized component family in the use process of the building information BIM model of the expressway tunnel project.
According to the modeling device for the expressway tunnel project, firstly, a basic database is created according to design data of the expressway tunnel project to be modeled, then, a parameterized component family is created according to a model component decomposition rule, and corresponding attribute parameter fields are added in the parameterized component family according to component attribute parameters in the basic database, so that the parameterized component family can be driven by parameters, project basic information and line coordinate point information in the basic database are called to generate a line model, finally, the component family is instantiated at corresponding positions in the line model to generate a building informationized BIM model of the expressway tunnel project to be modeled, the whole process is automatically completed, automatic modeling of the expressway tunnel project is realized, the problems of large workload and low efficiency caused by manually splicing components are avoided, and the modeling accuracy is improved.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.