CN110162731B - Method for displaying IFC model component space information on Web - Google Patents

Method for displaying IFC model component space information on Web Download PDF

Info

Publication number
CN110162731B
CN110162731B CN201910426155.4A CN201910426155A CN110162731B CN 110162731 B CN110162731 B CN 110162731B CN 201910426155 A CN201910426155 A CN 201910426155A CN 110162731 B CN110162731 B CN 110162731B
Authority
CN
China
Prior art keywords
model
space
ifc
information
component
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.)
Active
Application number
CN201910426155.4A
Other languages
Chinese (zh)
Other versions
CN110162731A (en
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.)
Xi'an Tali Technology Co ltd
Original Assignee
Xi'an Tali Technology Co ltd
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 Xi'an Tali Technology Co ltd filed Critical Xi'an Tali Technology Co ltd
Priority to CN201910426155.4A priority Critical patent/CN110162731B/en
Publication of CN110162731A publication Critical patent/CN110162731A/en
Application granted granted Critical
Publication of CN110162731B publication Critical patent/CN110162731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The invention discloses a method for displaying IFC model component space information on Web, which comprises the following operations: 1) In IFC modeling, space identification is adopted to carry out space naming on components of a model; 2) Analyzing the IFC file in a BIM engine to obtain graphic data and space structure information of the model; 3) Generating an IFC file into a 3D model, attaching a space name extracted from the IFC file to the 3D model, assembling a tree structure through a regular expression according to a space name identifier, and storing the tree structure into a storage library; 4) Calling a tree structure of the storage library data, traversing all components in the 3D model by taking a spatial name contained in a tree node as an index, and finding out components matched with the index; whereas hovering of a member in a 3D model can display its spatial information. The invention overcomes the difficulty that the IFC Web display cannot acquire the spatial structure tree and the regional model member and cannot select the spatial structure tree and the regional model member, and has the advantages of gradually narrowing the range from large to small for viewing, quickly positioning the model member, displaying the attribution information of the model member and operating the model.

Description

Method for displaying IFC model component space information on Web
Technical Field
The invention belongs to the technical field of intelligent buildings, and relates to a method for displaying space information of an IFC model member on Web.
Background
The IFC (Industry Foundation Classes) is a general file (data conversion format) for the BIM model in the intelligent building field, so that models among various engineering software can be mutually converted and communicated, and the core of the IFC lies in information description and information communication. It provides geometric information for rendering a model and tree structure information divided by model type, but does not provide tree structure information in terms of space.
At present, a family type tree structure can be generated by analyzing the IFC, for example, according to families IfcDoor, ifcSlab, ifcWall, ifcWindow and the like, a tree structure and a spatial label classified according to a door, a floor, a wall, a window and the like are generated, spatial information and a spatial tree structure of a model cannot be extracted from the spatial label of the structure, and then interaction with the model cannot be performed according to a popular and easy-to-understand interaction mode in life.
Disclosure of Invention
The invention aims to provide a method for displaying IFC model component space information on Web, so that space position information can be acquired from an IFC file in Web application, and visual display and operation can be performed.
The invention is realized by the following technical scheme:
a method for displaying IFC model component space information on Web comprises the following operations:
1) In IFC modeling, space identification is adopted to carry out space naming on components of the model; exporting the IFC file after modeling is finished;
2) Analyzing the IFC file in a BIM engine to obtain the graphic data and the spatial structure information of the model;
3) Generating an IFC file into a 3D model, attaching a space name extracted from the IFC file to the 3D model, assembling a tree structure through a regular expression according to an identifier of the space name, and storing the tree structure into a storage library;
4) The BIM engine calls a tree structure of the data of the storage library, a spatial name contained in a tree node is used as an index, all components in the 3D model are traversed, and the components matched with the index are found; and hovering the component in the 3D model through a mouse cursor to trigger the regular matching component to attach information events to display the spatial information of the component.
Furthermore, in the 3D model, according to the space naming information contained in the model component, the BIM engine can also know the region to which the model component belongs.
Furthermore, the tree structure can gradually reduce the range and accurately position the model.
Further, the 3D model is generated based on the IFC file by using ThreeJS.
Further, the repository is an independent repository, and when the tree structure is called, the BIM engine reads the tree structure information stored in the repository.
Furthermore, the tree structure is an organization storage mode of a spatial naming hierarchical structure, wherein each leaf node represents a physical component of the IFC model, a parent node of the leaf node is a container node, and non-leaf nodes are container nodes of different levels;
and a top-down or bottom-up traversal search mode is adopted when the component position information is acquired.
Furthermore, the space naming is that the model space structure is logically divided according to the service and the operation requirement thereof, and is marked by adopting space identification to become an index.
Compared with the prior art, the invention has the following beneficial technical effects:
the method for displaying the space information of the IFC model component on the Web, which is provided by the invention, overcomes the difficulty that the Web display of the IFC cannot acquire the space structure tree and the area model component cannot be selected due to the adoption of the IFC with the additional space naming information, and has the advantages of gradually narrowing the range from large to small for viewing, quickly positioning the model component, displaying the attribution information of the model component and operating the model. Therefore, the invention has the advantages of gradually narrowing the range from large to small: due to the space structure tree, the query can be carried out from the root node one level and one level.
The invention has the advantages of fast positioning of the model component: each component in the program contains space naming information, such as 1# -1F-101-WQ _1, and the model components meeting the requirements are determined by matching the space naming information in all the model components through regular expressions.
The invention has the advantages of displaying the attribution information: since each component contains spatial naming information, spatial location information can be obtained by regular expressions, such as 101 room number from 1# -1F-101-WQ _1, when the mouse is hovered over the 3D model component.
The invention has the advantages of model operation: the invention can accurately position the model and obtain the component corresponding to the model, thereby carrying out operations of transparency, visibility, highlight and color change on the model.
The invention has the advantages of complete component information: each model is added with self-defined spatial position information in the process of creation, so that the members are independent and independent, and the construction self has all position information.
Drawings
FIG. 1 is a schematic flow diagram of the present invention;
FIG. 2 is a schematic diagram of building naming rules;
FIG. 3 is a schematic diagram of an example building space tree structure generated by the present invention;
FIG. 4 is a schematic space naming diagram of a room model;
FIG. 5 is a schematic view of a building model as seen after parsing an IFC;
FIG. 6 is a schematic view of a 3D building model map with floor space information in the left part;
FIG. 7 is a schematic view of a 3D model of a building;
FIG. 8 is a 3D model diagram displayed after finding room 202, resulting in room 202 and the devices therein;
FIG. 9 is a display of a refined search room number in a graph showing the room and the devices therein;
FIG. 10 is a schematic view of a display of a wall in a room;
FIG. 11 is a display of content generated by the Bim engine after parsing the IFC file according to the acquired spatial information;
FIG. 12 is a diagram of a model pipe shown after clicking on the sewer pipe;
FIG. 13 is a diagram of a model of the sewer pipe shown after clicking on the first node below the sewer pipe in the tree structure.
Detailed Description
The present invention will now be described in further detail with reference to the attached drawings, which are illustrative, but not limiting, of the present invention.
At present, the analysis IFC cannot acquire the spatial information, so that the range positioning model cannot be reduced step by step, and thus a position with a smaller range (such as acquiring a room position) can be determined. The invention aims to acquire spatial position information from an IFC file in a Web application.
People can visually know the spatial position information, such as a certain room on a certain floor of a certain building; however, in Web applications, after the IFC file is analyzed by the BIM engine to generate a 3D image, it is difficult to determine the location of a certain area because there is no reference. In order to conveniently and quickly locate the region in the web application, space naming information is added to each component in advance in the modeling process, an IFC file is exported, then a BIM engine analyzes the IFC file to extract space naming, and the space naming information is screened through a regular expression to generate a tree structure which meets the requirement and contains the space information, so that the range can be gradually reduced, and the position of the model can be accurately located. For example, the room position is determined in the display interface by sequentially positioning the model of the building 1, the model of the floor 1 and the room 1.
Specific methods of operation are given below.
Referring to fig. 1-3, a method for displaying IFC model component space information on the Web includes the following operations:
1) In IFC modeling, space identification is adopted to carry out space naming on components of the model; exporting the IFC file after modeling is completed;
2) Analyzing the IFC file in a BIM engine to obtain graphic data and space structure information of the model;
3) Generating an IFC file into a 3D model, attaching a space name extracted from the IFC file to the 3D model, assembling a tree structure through a regular expression according to a space name identifier, and storing the tree structure into a storage library;
4) The BIM engine calls a tree structure of the data of the storage library, uses a spatial name contained in a tree node as an index, traverses all components in the 3D model, and finds out a component matched with the index; and hovering the component in the 3D model through a mouse cursor to trigger the regular matching component to attach information events to display the spatial information of the component.
Specifically, in the 3D model, according to the spatial naming information contained in the model component, the BIM engine can also know the region to which the model component belongs.
Specifically, the tree structure can gradually reduce the range and accurately position the model.
Specifically, the 3D model is generated by using ThreeJS based on the IFC file.
The memory banks are independent memory banks, and when the tree structure is called, the BIM engine reads the tree structure information stored in the memory banks.
The tree structure is an organization storage mode of a spatial naming hierarchical structure, wherein each leaf node represents a physical component of an IFC model, a father node of the leaf node is a container node, and non-leaf nodes are container nodes of different levels;
and a top-down or bottom-up traversal search mode is adopted when the component position information is acquired.
The space naming is that the model space structure is logically divided according to the service and the operation requirement thereof, and is marked by adopting the space identification to become an index.
Specific examples are given below.
Referring to fig. 1-3, a method for displaying IFC model component space information on the Web includes the following operations:
1) In IFC modeling, components of a model are named with spatial identification; and exporting the IFC file after the modeling is completed. As shown by the spatial nomenclature of fig. 2.
2) The BIM engine analyzes the IFC file to obtain the graphic data and the spatial structure information of the model;
3) Generating a 3D model by using ThreeJS, attaching a space name extracted from an IFC file to the 3D model, assembling a tree structure by a regular expression according to the space name, and storing the tree structure in a storage library (if the model is complex, the time for extracting information is long due to a large model file; and storing the information into a storage library to avoid the process of extracting information for a long time later);
4) According to the data of the storage library, generating a tree structure, taking the spatial name contained in the tree node as an index, traversing all components in the 3D model, and finding the components matched with the index;
in addition, the region to which the model component belongs can be known according to the space naming information contained in the model component.
For example, referring to a building, the building naming rule shown in fig. 2 is only required to represent spatial information, and the naming is not in a fixed format, models are different, and naming modes are different.
Referring to the building space tree structure example generated by the invention shown in fig. 3, the range can be reduced step by step, and the model position can be accurately positioned.
An example of the establishment and display of the room model is given below.
Referring to the spatial naming of the room model shown in FIG. 4, an example spatial naming can be represented as: :
n#-mF-roomID-DeviceType;
n #: n represents the number of storied building; # is the identification of the building;
and (mF): m represents the second layer; f is the identity of the layer;
roomID: a room number;
DeviceType: a device in a room;
after naming and modeling are completed, performing IFC analysis, referring to a building model seen after IFC analysis shown in FIG. 5; FIG. 6 is a diagram of a 3D building model in which the left side framed part is floor space information; and after the model is loaded, searching the floor information according to the building number, and performing space display.
Fig. 7 is a 3D model diagram of a building with clicking on the 2F button in the floor list showing the list of all rooms in 2F, i.e., the left boxed portion of the figure. And searching and displaying according to the building number and the floor number.
Fig. 8 is a 3D model diagram showing room 202 and the devices therein by clicking on the left room 1F 202 button.
Fig. 9 is a top left search box in the figure showing the room and the devices therein entered with the exact room number.
The 204 numbers shown on the wall in fig. 10 indicate that the wall belongs to 204 rooms. And adding a mouse hovering event, and when the mouse is positioned on a wall, extracting a placeholder representing the room number by the Bim engine and displaying the placeholder.
An example of a device plumbing display in a building is given below.
The tree structure in the white frame on the right side in fig. 11, that is, the Bim engine parses the IFC file, and then generates the IFC file according to the acquired spatial information.
Figure 12 is a model piping diagram shown with the sewer pipe clicked on.
FIG. 13 is a diagram of a model of the sewer pipe shown after clicking on the first node below the sewer pipe in the tree structure. Where the arrow points.
In a Web application, a spatial tag exists in an IFC, but a certain area and construction information related to the area cannot be located in detail. Based on the description of the above embodiment, the present invention can effectively solve the problem of spatial localization by embedding certain spatial naming information in the IFC file. And further adopting a space tree, and binding space naming information in the IFC file on the tree node to select a model on the space tree node.
The tree nodes and the model members are bound by unique identifiers, so that the model is convenient to select. Then, since the model is selected, the model member represented by the tree node can be further highlighted, hidden, changed in color, adjusted in transparency, and the like.
The method for displaying the space information of the IFC model component on the Web, which is provided by the invention, overcomes the difficulty that the Web display of the IFC cannot acquire the space structure tree and the area model component cannot be selected due to the adoption of the IFC with the additional space naming information, and has the advantages of gradually narrowing the range from large to small for viewing, quickly positioning the model component, displaying the attribution information of the model component and operating the model.
The embodiments given above are preferred examples for implementing the present invention, and the present invention is not limited to the above-described embodiments. Any non-essential addition and replacement made by the technical characteristics of the technical scheme of the invention by a person skilled in the art belong to the protection scope of the invention.

Claims (7)

1. A method for displaying IFC model component space information on a Web is characterized by comprising the following operations:
1) In IFC modeling, space identification is adopted to carry out space naming on components of the model; exporting the IFC file after modeling is completed;
2) Analyzing the IFC file in a BIM engine to obtain the graphic data and the spatial structure information of the model;
3) Generating an IFC file into a 3D model, attaching a space name extracted from the IFC file to the 3D model, assembling a tree structure through a regular expression according to an identifier of the space name, and storing the tree structure into a storage library;
4) The BIM engine calls a tree structure of the data of the storage library, uses a spatial name contained in a tree node as an index, traverses all components in the 3D model, and finds out a component matched with the index; and hovering the component through a mouse cursor in the 3D model to trigger the regular matching component to attach information events to display the spatial information of the component.
2. The method for displaying space information of the IFC model component on the Web as claimed in claim 1, wherein the BIM engine is further capable of knowing the region to which the model component belongs in the 3D model according to the space naming information contained in the model component.
3. The method for displaying space information on the Web of IFC model components of claim 1 wherein said tree structure is capable of being scaled down to a smaller scale for accurate model positioning.
4. The method for displaying the IFC model building block spatial information on the Web according to claim 1, wherein the 3D model is generated based on the IFC file using ThreeJS.
5. The method for displaying the spatial information of the IFC model component on the Web according to claim 1, wherein the repository is a separate repository, and when the tree structure is called, the BIM engine reads the tree structure information stored in the repository.
6. The method for displaying IFC model component space information on the Web according to claim 1, wherein the tree structure is an organized storage manner of a space-named hierarchical structure, wherein each leaf node represents a physical component of the IFC model, a parent node of the leaf node is a container node, and non-leaf nodes are container nodes of different hierarchies;
and a top-down or bottom-up traversal search mode is adopted when the component position information is acquired.
7. The method for displaying space information of an IFC model component on the Web according to claim 1, wherein the space naming is that the model space structure is logically divided according to business and its operation requirements, and is labeled with space identifiers to be used as an index.
CN201910426155.4A 2019-05-21 2019-05-21 Method for displaying IFC model component space information on Web Active CN110162731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910426155.4A CN110162731B (en) 2019-05-21 2019-05-21 Method for displaying IFC model component space information on Web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910426155.4A CN110162731B (en) 2019-05-21 2019-05-21 Method for displaying IFC model component space information on Web

Publications (2)

Publication Number Publication Date
CN110162731A CN110162731A (en) 2019-08-23
CN110162731B true CN110162731B (en) 2022-11-22

Family

ID=67631724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910426155.4A Active CN110162731B (en) 2019-05-21 2019-05-21 Method for displaying IFC model component space information on Web

Country Status (1)

Country Link
CN (1) CN110162731B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113935097B (en) * 2021-10-26 2022-12-06 山东同圆数字科技有限公司 Building space analysis method and system based on BIM engine data
CN115981659B (en) * 2022-12-16 2023-08-15 中铁建工集团有限公司 IFC-based range structure tree reconstruction method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777327A (en) * 2017-01-11 2017-05-31 铁道第三勘察设计院集团有限公司 A kind of BIM ATLs management method
CN109145366A (en) * 2018-07-10 2019-01-04 湖北工业大学 Building Information Model lightweight method for visualizing based on Web3D
CN109190094A (en) * 2018-09-05 2019-01-11 盈嘉互联(北京)科技有限公司 Building Information Model file cutting method based on IFC standard

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9727667B2 (en) * 2013-06-10 2017-08-08 Honeywell International Inc. Generating a three dimensional building management system
US10190792B2 (en) * 2016-04-27 2019-01-29 Crestron Electronics, Inc. Three-dimensional building management system visualization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106777327A (en) * 2017-01-11 2017-05-31 铁道第三勘察设计院集团有限公司 A kind of BIM ATLs management method
CN109145366A (en) * 2018-07-10 2019-01-04 湖北工业大学 Building Information Model lightweight method for visualizing based on Web3D
CN109190094A (en) * 2018-09-05 2019-01-11 盈嘉互联(北京)科技有限公司 Building Information Model file cutting method based on IFC standard

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于IFC标准的BIM模型空间结构组成与程序解析;陈远等;《计算机应用与软件》;20180415(第04期);全文 *

Also Published As

Publication number Publication date
CN110162731A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN109408044B (en) BIM data and GIS data integration method based on glTF
US20230274045A1 (en) Building information modeling (bim)-based intelligent drafting method for prefabricated buildings
US9720658B2 (en) Application creation method and apparatus
US5278946A (en) Method of presenting multimedia data in a desired form by comparing and replacing a user template model with analogous portions of a system
Saygi et al. Management of Architectural Heritage Information in BIM and GIS: State-of-the-art and Future Perspectives
US10452366B2 (en) Method and tool for engineering software architectures with its various software artifacts of complex cyber-physical systems of different technical domains
US6976020B2 (en) Software composition using graph types, graph, and agents
Werbrouck et al. Scan-to-graph: Semantic enrichment of existing building geometry
CN108595449A (en) The structure and application process of dispatch automated system knowledge mapping
EP1571566A2 (en) Hierarchical database apparatus, components selection method in hierarchical database, and components selection program
CN109344223A (en) A kind of Building Information Model management system and method based on cloud computing technology
CN109492266A (en) Optimum design method, device and the equipment of standard component model data
CN110134724A (en) A kind of the data intelligence extraction and display system and method for Building Information Model
US20150170033A1 (en) Context reasoning apparatus, context recognition system and context reasoning method
CN108108194B (en) User interface editing method and user interface editor
CN106951365B (en) Software complex network model construction method based on object-oriented software code
CN110162731B (en) Method for displaying IFC model component space information on Web
Garozzo et al. CulTO: An ontology-based annotation tool for data curation in cultural heritage
US7624403B2 (en) API for building semantically rich diagramming tools
US10776351B2 (en) Automatic core data service view generator
Koch et al. BIM-based augmented reality for facility maintenance using natural markers
Stoter et al. Visualisation and editing of 3D objects organised in a DBMS
Hijazi et al. 3DCITYDB4BIM: A system architecture for linking bim server and 3d citydb for bim-gis-integration
US20140143270A1 (en) Generating dynamic drilldown reports
Fleischer et al. Graph drawing and its applications

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
GR01 Patent grant
GR01 Patent grant