Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly creatively provides an engineering design model importing method based on a BIM (building information modeling) technology.
In order to achieve the above object, the present invention provides an engineering design model importing method based on a BIM technique, including the following steps:
s1, directly reading the engineering design model, and converting and analyzing the model data organization structure;
s2, classifying each model data organization structure according to the model data organization structure characteristics, and acquiring data of each classification according to the classification, wherein the data comprises graph data on the model organization structure and attribute data on the model organization structure;
s3, organizing a new required model organization structure according to the obtained model data organization structure and the required new model data organization structure;
s4, according to the obtained model data organization structure and the corresponding model attribute data and model graphic data obtained after the classification of the model data organization structure, respectively carrying out corresponding processing on the model geometric topological body according to two modes of direct loading and rapid loading;
and S5, adding the processed model graph information to each classification of the model data organization structure according to the two modes of direct loading and quick loading.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S1 includes:
s1-1, forming basic data information of design construction engineering according to construction requirements of the construction engineering, and reading and importing design result models with different formats according to the construction requirements;
s1-2, according to the mode of designing result model by different design tools, converting and analyzing the data organization Structure of the design result model;
and S1-3, directly reading the design result model of each different model design tool according to the construction characteristics and positioning without depending on different model design tools.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S2 includes:
s2-1, classifying each model data organization Structure according to the requirements of the model data organization Structure of the construction engineering and the characteristics of the model data organization Structure Product Structure after the conversion and the analysis of S1, wherein the classification forms are assembly Product, Part and Body;
s2-2, according to the requirements of the organization structure of the model data of the construction engineering, respectively acquiring attribute data and graphic data of the classified model data organization structure in S2-1;
s2-3, the data organization structure requirement of the construction engineering model is as follows: the sub-nodes for assembling the Product can only be assembling Product and Part nodes, the sub-nodes for the Part can only be Body, wherein the assembling Product and Part nodes only represent the organizational structure of the construction engineering model tree, and the Body represents a geometric figure data under the construction engineering model data.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S3 includes:
s3-1, converting, analyzing and classifying the result of the model data organization Structure of the original design result model according to S1 and S2, and recombining the design model data organization Structure to the construction engineering model data organization Structure according to the construction engineering model data organization Structure requirement:
and S3-2, carrying out recombination process, namely classifying the data after the data organization structure conversion of the design model in S1 according to the data organization structure of the construction engineering model in S2, and sequentially inserting the data organization structure of the design model in the sequence of assembly, parts and bodies to organize a new construction engineering model data organization structure, namely the construction engineering model structure tree.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S4 includes:
s4-1, according to the requirements of the organizational structure of the construction engineering model data and the corresponding model attribute data and model graphic data which are respectively obtained after the organizational structure of the design result model data is classified, direct loading and rapid loading are carried out aiming at two modes of construction engineering model data import, and the two modes are respectively processed;
s4-2, according to the requirements of construction engineering model data, loading geometric entity data of a design result model in a direct loading mode, wherein the geometric entity data of the design result model consists of a model geometric model and a construction geometric constraint, the model geometry refers to a class pointed by a topology class and does not include specific shape information, and the construction geometry refers to a statement in the model geometry and contains actual shape information; the model geometry is also called as the topological structure of the model, and the geometric interpretation structure of the model is constructed;
s4-3, according to the requirements of the construction engineering model data, directly loading the design result model data and needing precision and model space control, wherein the precision and model space control formula for loading the design result model data is as follows: where e is a constant within the scientific counting method,
setting A absolute minimum (10e-6)
B normalized minimum (10e-10)
C approximation accuracy of curved surface (10e-3)
Maximum considered zero (10e-11)
Model space calculation algorithm:
Model space=A/B=10e-6/10e-10=10e4
s4-4, according to the requirements of the construction engineering model data, the graphic data of the design result model is required to be loaded rapidly by a rapid loading mode, the graphic data of the design result model is pure graphic data which does not contain topology, and the graphic data representation method is as follows:
set point: p1, P2, P3, P4, P5, P6,
wherein P1 is P4, P3 is P6,
PList={P1x,P1y,P1z,P2x,P2y,P2z,P3x,P3y,P3z,P4x,P4y,P4z,P5x,P5y,
P5z,P6x,P6y,P6z}
FList={Pn1,P1,P2,P3,Pn2,P5,P4,P6}
face + FList
Pn: number of dots
The original discrete graphic data of S4-4 is a rectangle, becomes two triangles after being discrete, complies with the right-hand rule, and is all outward in the normal direction, and the optimization process is as follows:
point de-weight: PList { P1x, P1y, P1z, P2x, P2y, P2z, P3x, P3y, P3z, P5x, P5y, P5z }
FList={Pn1,P1,P2,P3,Pn2,P5,P1,P3}
And (3) reducing the number of dough sheets: for example, two quadrangles form a large quadrangle, four triangular meshes are used before optimization, two triangular meshes are used after optimization, the triangular meshes are data required by computer hardware rendering, and the lower the number of the triangular meshes is, the rendering efficiency can be improved.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes:
and binding the processed graphic data and the attribute data acquired in the step S4 to corresponding nodes of the organization structure of the construction engineering model data recombined in the step S3 according to the requirements of the construction engineering model data.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
the invention solves the problem of how to get through the barriers between engineering design result models designed by different design tools, separates the access of the engineering design result models from the own engineering model design software, can directly access the engineering design models without installing the engineering model design software by a constructor, and can optimize the engineering design models, thereby achieving the rendering efficiency and the dispersion efficiency which cannot be achieved before.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
BIM (building Information modeling) technology in the invention is used for building Information modeling
。
As shown in fig. 1 and 2, the present invention provides an engineering design model importing method based on BIM technology, including the following steps:
s1, directly reading the engineering design model, and converting and analyzing the model data organization structure;
s2, classifying each model data organization structure according to the model data organization structure characteristics, and acquiring data of each classification according to the classification, wherein the data comprises graph data on the model organization structure and attribute data on the model organization structure;
s3, organizing a new required model organization structure according to the obtained model data organization structure and the required new model data organization structure;
s4, according to the obtained model data organization structure and the corresponding model attribute data and model graphic data obtained after the classification of the model data organization structure, respectively carrying out corresponding processing on the model geometric topological body according to two modes of direct loading and rapid loading;
and S5, adding the processed model graph information to each classification of the model data organization structure according to the two modes of direct loading and quick loading.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S1 includes:
s1-1, forming basic data information of design construction engineering according to construction requirements of the construction engineering, and reading and importing design result models with different formats according to the construction requirements;
s1-2, according to the mode of designing result model by different design tools, converting and analyzing the data organization Structure of the design result model;
and S1-3, directly reading the design result model of each different model design tool according to the construction characteristics and positioning without depending on different model design tools.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S2 includes:
s2-1, classifying each model data organization Structure according to the requirements of the model data organization Structure of the construction engineering and the characteristics of the model data organization Structure Product Structure after the conversion and the analysis of S1, wherein the classification forms are assembly Product, Part and Body;
s2-2, according to the requirements of the organization structure of the model data of the construction engineering, respectively acquiring attribute data and graphic data of the classified model data organization structure in S2-1;
s2-3, the data organization structure requirement of the construction engineering model is as follows: the sub-nodes for assembling the Product can only be assembling Product and Part nodes, the sub-nodes for the Part can only be Body, wherein the assembling Product and Part nodes only represent the organizational structure of the construction engineering model tree, and the Body represents a geometric figure data under the construction engineering model data.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S3 includes:
converting, analyzing and classifying the model data organizational Structure of the original design result model according to S1 and S2, and recombining the design model data organizational Structure to the construction engineering model data organizational Structure according to the requirements of the construction engineering model data organizational Structure, wherein the recombination process is to classify the data after converting the design model data organizational Structure in S1 according to the data organizational Structure of the construction engineering model in S2, and sequentially insert the data according to the sequence of assembly, parts and bodies to organize a new construction engineering model data organizational Structure, namely a construction engineering model Structure tree.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes: the S4 includes:
s4-1, according to the requirements of the organizational structure of the construction engineering model data and the corresponding model attribute data and model graphic data which are respectively obtained after the organizational structure of the design result model data is classified, direct loading and rapid loading are carried out aiming at two modes of construction engineering model data import, and the two modes are respectively processed;
s4-2, according to the requirements of construction engineering model data, loading geometric entity data of a design result model in a direct loading mode, wherein the geometric entity data of the design result model consists of a model geometric model and a construction geometric constraint, the model geometry refers to a class pointed by a topology class and does not include specific shape information, and the construction geometry refers to a statement in the model geometry and contains actual shape information; model geometry, also called model topology, structure geometry, also called model interpretation, a cubic geometric solid representation, 1: the model geometric topology means how many blocks (a cube has only one block) in the cube geometry, how many faces (a cube has six faces) in the block, how many boundary edges (12 boundary edges) on the faces, how many points (eight points) on the boundary edges, how the points are connected with the edges, 2: the construction geometry refers to a specific surface, a specific edge (formed by which points) on the surface, a specific edge, specific point coordinates, and the construction geometry is a specific interpretation model geometric topology. The difference between the model geometry model and the structure geometry constraint in the model entity data is that the former does not include specific shape data information, and the latter includes actual shape data information.
S4-3, according to the requirements of the construction engineering model data, directly loading the design result model data and needing precision and model space control, wherein the precision and model space control formula for loading the design result model data is as follows:
setting A absolute minimum (10e-6)
B normalized minimum (10e-10)
C approximation accuracy of curved surface (10e-3)
Maximum considered zero (10e-11)
Model space calculation algorithm:
Model space=A/B=10e-6/10e-10=10e4;
s4-4, according to the requirements of the construction engineering model data, the graphic data of the design result model is required to be loaded rapidly by a rapid loading mode, the graphic data of the design result model is pure graphic data which does not contain topology, and the graphic data representation method is as follows:
set point: p1, P2, P3, P4, P5, P6
Wherein P1 is P4, P3 is P6,
point list: PList { P1x, P1y, P1z, P2x, P2y, P2z, P3x, P3y, P3z, P4x, P4y, P4z, P5x, P5y, P5z, P6x, P6y, P6z }
Face list dataset: FList { Pn1, P1, P2, P3, Pn2, P5, P4, P6}
Face + FList
Pn: the number of points;
original discrete graphics data of S4-4, represented as a graph in fig. 3:
the graph is a rectangle, becomes two triangles after being dispersed, complies with the right-hand rule, is outward in all normal directions, and has the optimization process as follows:
point de-weight: PList { P1x, P1y, P1z, P2x, P2y, P2z, P3x, P3y, P3z, P5x, P5y, P5z },
face deduplication dataset: FList { Pn1, P1, P2, P3, Pn2, P5, P1, P3}
And (3) reducing the number of dough sheets: for example, two quadrangles form a large quadrangle, four triangular meshes are used before optimization, two triangular meshes are used after optimization, the triangular meshes are data required by computer hardware rendering, and the lower the number of the triangular meshes is, the rendering efficiency can be improved.
Preferably, the engineering design model importing method based on the BIM technology, in which the S5 includes:
and binding the processed graphic data and the attribute data acquired in the step S4 to corresponding nodes of the organization structure of the construction engineering model data recombined in the step S3 according to the requirements of the construction engineering model data.
As shown in fig. 4, in the building information management BIM technology, in order to implement mutual identification authentication between construction work data and machines in the data model building process for tunnel construction work in particular, therefore, the operation of importing the model to the tunnel data model is needed, the model is imported into the BIM system for processing, the tunnel model is split and planned according to different actual construction conditions, a dividing means for different tunnel models is formed, thereby improving the efficiency of tunnel construction engineering, after the tunnel model is divided, through the model importing method of the invention, the tunnel data model is imported and sorted, the export operation is carried out according to the tunnel data model which is constructed by PBS and is sorted by data name, the description shows the working link of the PBS in the whole BIM, and has important guiding significance for tunnel model division in construction.
After the tunnel data model is imported, automatic hooking is carried out through PBS, and the specific steps are as follows:
reading PBS data; organizing PBS data in Excel according to a data column of PBS coding, PBS description and PBS classification and reading the PBS data into a system; the imported PBS data contains column headers, where PBS encoding is the necessary data column; if the imported PBS data contains information such as attributes or engineering quantity besides PBS coding, description and classification, the information needs to be added to the corresponding PBS; no requirement is made on the order of data column organization, and the data column organization in any order supports import and identification; support single PBS introduction, and also support simultaneous introduction of PBS engineering quantities.
II, mapping the data columns; performing one-to-one mapping on the data columns of the imported PBS data, such as PBS coding, PBS description and PBS classification;
III, recording a structural coding sample of each stage of the PBS; PBS coding sample support: 6 levels of engineering projects, unit projects, subsection projects, project divisions, unit projects and construction units;
any level number import is done for this PBS encoding,
the actual coding level 1 is engineering project + unit engineering;
the actual coding level 2 is engineering project + unit engineering + subsection engineering;
the actual coding level 3 is engineering project + unit project + subsection project;
the actual coding level 4 is engineering project + unit project + subsection project + project division project + unit project;
the actual coding level 5 is engineering project + unit project + subsection project + project division project + unit project + construction unit;
and in the preview function, automatically correcting the root node and setting the engineering project as the root node.
IV, automatic hanging connection is carried out; automatically calculating each level of structure and automatically organizing the child-parent node relationship;
extracting a specified data column from the PBS data pool and putting the data column into an effective data pool;
sequentially acquiring six levels of sample codes of engineering projects, unit projects, subsection projects, project divisions, unit projects and construction units; and resolving the coding placeholder according to the coding sample, wherein the algorithm is as follows:
setting the current Code of the PBS Code column as Cur _ Code, and setting the Next Code of the PBS Code column as Next _ Code;
then the PBS encoded column is traversed if Cur _ Code _ Len! If the placeholder replace character is an empty character string, the number of bits of each level of coding in PBS coding is different, wherein Cur _ Code _ Len is the length of the former coding character string, and Next _ Code _ Len is the length of the latter coding character string;
if the Cur _ Code _ Len is equal to Next _ Code _ Len, then the PBS codes are equipotential, and the number of coded bits of each level of the PBS codes is the same, and for the number of bits insufficient for each level, a certain specific placeholder is used as a complement, for example, 0; each character encoded in PBS is traversed at this time: setting: in the same position J, the character of the Cur _ Code is Cur _ Code _ C, and the character of the Next _ Code is Next _ Code _ C; if Cur _ Code _ C! Next _ Code _ C, which is the placeholder ReplaceChar; analyzing the number of the coding bits of each level of the PBS coding sample; and resolving the coding placeholder according to the coding sample, wherein the algorithm is as follows: if the placeholder RelaceCharr is an empty string, the number of coding bits at each stage is the number of actual coding sample cases; if the placeholder RelaceChar is not an empty string, the number of bits of the placeholder needs to be removed from each level of coding sample; sequentially searching and matching PBS codes from the top layer to the bottom layer according to the placeholder and each level of digits, searching a father node fNode, organizing the attribute and other data of the father node fNode, and binding the attribute and other data of the father node fNode with the PBS codes; searching a next-level node set vChildren of the father node, and hanging the vChildren under the fNode; finishing the searching and matching until the searched subset vChildren is empty;
v, previewing a PBS structure; providing a preview function for the hooked PBS structure.
And (3) exporting the tunnel data model which is hung and connected by the PBS, and specifically executing the following steps:
firstly, selecting an engineering construction model export format and a version corresponding to the engineering construction model export format;
traversing the data organization structure of the engineering construction model according to the selected engineering construction model, and classifying the data organization structure of the engineering construction model in the way of Product assembly, Part parts and Body;
organizing a new required model organization structure according to the acquired engineering construction model data organization structure and the required new model data organization structure;
respectively filling the obtained model data organization structure, the corresponding model attribute data and the model graphic entity B-Rep data which are obtained after the classification of the model data organization structure into the corresponding engineering construction model data organization structure; respectively filling corresponding model attribute data and model graph B-Rep data which are respectively obtained after the organizational structure of the model data of the design result is classified into each classification node of the organizational structure of the corresponding engineering construction model data according to the requirements of the organizational structure of the construction engineering model data; according to the requirements of construction engineering model data, an engineering construction model and geometric entity data of a design result model are composed of a model geometric model and a construction geometric constraint, wherein the model geometry refers to a class pointed by a topology class and does not include specific shape information, the construction geometry refers to a statement in the model geometry and includes actual shape information, and the relationship between the model geometry and the construction geometry is as follows: wherein the abstract geometry corresponds to the model geometry and the concrete geometry corresponds to the construction geometry; according to the requirements of the construction model data, the derivation of the construction model data needs to be controlled in precision and model space, and the precision and model space control formula of the derivation of the construction model data is as follows:
setting A: absolute minimum (10e-6)
B: normalized minimum (10e-10)
C: approximation precision of curved surface (10e-3)
D: maximum considered to be zero (10e-11)
Model space calculation algorithm:
Model space=A/B=10e-6/10e-10=10e4。
and fifthly, exporting the acquired project construction model data organization structure and the project construction model attribute data and the graph B-Rep data on each classified structure according to the selected project construction model export format and the export format corresponding version.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.