CN-121808919-B - Mapping association method and system for editing 3D tile and BIM vector model
Abstract
The invention discloses a mapping association method and a mapping association system for editing a 3D tile and a BIM vector model, which are used for generating a grid model by fusing vector geometric information and topological relation of a building information model, realizing efficient grid expression of vector data, analyzing a grid model node structure, extracting attribute data, storing the attribute data into a database to form a node attribute set, generating a unique identifier for each node, establishing a mapping relation table to clearly record association relation among nodes, extracting basic component units from the grid model according to the node association relation set, generating customized three-dimensional tiles by combining attribute mapping, and finishing tile bottom binding. The method effectively realizes high-precision bidirectional association and rapid local update between BIM vector data and three-dimensional tiles, and remarkably improves the efficiency and accuracy of large-scale visualization, interactive editing and data synchronization of the building information model at a Web end.
Inventors
- ZHOU CHEN
- MENG LIANG
- HUANG YUGE
- CHEN YIWEI
Assignees
- 湖南三岳数维科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260310
Claims (10)
- 1. A mapping association method for editing a 3D tile and a BIM vector model, comprising the steps of: S100, merging geometric information and topological relation of building information model vector data to generate a grid model; S200, analyzing the node structure of the grid model to extract attribute data, storing the attribute data into a database, and determining a node attribute set; S300, generating a unique identifier for a node in the node attribute set, establishing a mapping relation table, and acquiring a node association relation set according to the mapping relation table; s400, extracting basic component units from the grid model according to the node association relation set, and generating customized three-dimensional tiles by combining attribute mapping so as to complete tile bottom binding; s500, reversely inquiring and acquiring a node identifier through a bottom binding relation bound by the tile bottom, and processing raster data by adopting a restoration algorithm to obtain an edited vector model; And S600, locally regenerating the three-dimensional tile according to the modified data of the edited vector model and updating the attribute mapping relation to obtain an updated mapping association system.
- 2. The mapping association method of 3D tiles and BIM vector model editing according to claim 1, wherein the building information model vector data includes vector boundary data of building information model components, and step S100 includes: S110, vector boundary data of a building information model component is obtained, and vertex coordinates of the vector boundary are analyzed to establish a geometric feature description set; s120, identifying topological adjacencies and inclusion relations among components according to the geometric feature description set, and constructing a global topological relation map; S130, discretizing the global topological relation map coverage area to generate an initial voxel grid structure; s140, if the voxel grids in the initial voxel grid structure are intersected with the vector boundary, mapping the attribute to the voxel grids; S150, aggregating the mapped voxel grids, and outputting a grid model fusing geometric information and topological relation.
- 3. The mapping association method for editing 3D tiles and BIM vector models according to claim 1, wherein step S200 includes: s210, acquiring a grid model fusing geometric information and topological relation, and scanning the grid model by adopting an octree depth-first traversal algorithm to extract an original attribute data sequence; s220, analyzing the original attribute data sequence, and converting the original attribute data sequence into a structured attribute record according to a field mapping rule; s230, writing the structured attribute record into a database storage table to generate a lasting attribute data table; S240, traversing field metadata of the persistent attribute data table, and aggregating non-null field names and data type definitions in the field metadata to determine a node attribute set.
- 4. The mapping association method for editing 3D tiles and BIM vector models according to claim 1, wherein step S300 includes: S310, traversing the node attribute set to extract the space position coordinates and the attribute feature data, and combining the space position coordinates and the attribute feature data by using a hash algorithm to generate a global unique identifier; S320, constructing a node index mapping table according to the global unique identifier, wherein the node index mapping table comprises the corresponding relation between a node index key and an original storage address; S330, retrieving the node index mapping table to obtain neighbor node index keys of the current node, and analyzing a space topology connection rule between the neighbor node and the current node; S340, if the spatial distance between the spatial position vector of the neighbor node and the spatial position vector of the current node is smaller than or equal to a preset distance threshold, and the connection relation between the spatial position vector of the neighbor node and the spatial position vector of the current node meets a preset connectivity condition, generating a node adjacent binary group, and aggregating all the node adjacent binary groups to obtain a node association relation set.
- 5. The mapping association method for editing 3D tiles and BIM vector models according to claim 1, wherein step S400 includes: S410, aggregating voxel units according to a node association relation set to generate grid voxel clusters, wherein the node association relation set characterizes voxel topological connection; S420, constructing a component entity grid for the grid voxel cluster, and mapping attribute feature vectors to the component entity grid to generate a component object with attributes; S430, constructing a spatial index tree according to the component object with the attribute, traversing the spatial index tree to generate tile load data, and establishing a coordinate conversion interface to complete tile bottom binding of the customized three-dimensional tile.
- 6. The mapping association method for editing 3D tiles and BIM vector models according to claim 1, wherein step S500 includes: S510, positioning customized three-dimensional tiles according to the interaction instruction, and extracting unique node identifiers from the bottom binding relationship of the bottom binding of the tiles; s520, acquiring grid voxel clusters and attribute feature vectors containing voxel topology connection information through the unique node identification; S530, analyzing the grid voxel cluster, combining the attribute feature vectors to determine boundary constraint conditions, and inputting a shape restoration algorithm to fit to obtain a vector vertex coordinate sequence; S540, constructing a geometric topology face according to the vector vertex coordinate sequence obtained by fitting, mapping the attribute feature vector, and generating an edited vector model.
- 7. The mapping association method for editing 3D tiles and BIM vector models according to claim 1, wherein step S600 includes: s610, acquiring an edited vector model, calculating a geometric bounding box, traversing a preset three-dimensional tile space index tree to search a tile coding sequence to be updated, wherein the tile coding sequence has a space intersection with the geometric bounding box; S620, extracting corresponding original tile loads according to the tile coding sequence to be updated, and calculating geometrical topology differences between the edited vector model and the original tile loads to determine a local reconstruction region; s630, converting vector geometric data in the local reconstruction region into binary stream data blocks conforming to the resolution of the current tile level by adopting a discretization voxel algorithm, replacing original data segments corresponding to the tile coding sequence to be updated by utilizing the binary stream data blocks, and simultaneously reserving a data structure of an unchanged region to generate a reconstructed three-dimensional tile file; S640, extracting attribute feature vectors of the edited vector model, establishing new key value pair mapping between the attribute feature vectors and voxel indexes in the reconstructed three-dimensional tile file through unique node identification, writing the new key value pair mapping into a global attribute association table, completing synchronous updating of an attribute mapping relation, and outputting an updated mapping association system containing local regenerated tiles.
- 8. The mapping association method for editing 3D tiles and BIM vector models according to claim 7, wherein in step S610, the tile coding sequence to be updated is obtained by the following formula: ; Wherein, the Representing the tile code sequence to be updated, Representing the tile encoding and, Representing a three-dimensional tile space index tree, A traversal operation is indicated and a set of the traversal operation is indicated, Representing the result of the spatial intersection judgment, Representing a bounding box of the query geometry, Representing tile bounding boxes.
- 9. The mapping association method of 3D tile and BIM vector model editing according to claim 8, wherein in step S610, the spatial intersection judgment result The method is characterized by comprising the following steps: ; Wherein, the Representing the result of the spatial intersection judgment, Representing a bounding box of the query geometry, Representing a tile bounding box, Representing coordinate axis dimension index, wherein intersection exists when each dimension satisfies overlapping condition under three-dimensional condition, Representing a three-dimensional logical and of the logic, Representing query geometry bounding boxes at The minimum value of the axis is set to, Representing tile bounding boxes in The maximum value of the axis is, Representing tile bounding boxes in The minimum value of the axis is set to, Representing query geometry bounding boxes at Maximum value of the axis; tile bounding box The method is characterized by comprising the following steps: ; Wherein, the Representing a tile bounding box, Representing the edited set of vector model points, Representing the coordinates of points in the vector model, Representing the minimum value of each dimension of the tile bounding box, Representing the maximum value of each dimension of the tile bounding box.
- 10. A mapping association system for 3D tile and BIM vector model editing, for performing the mapping association method for 3D tile and BIM vector model editing according to any one of claims 1 to 9, comprising: the grid model generation module (10) is used for fusing geometric information and topological relation of building information model vector data to generate a grid model; A node attribute set determining module (20) for parsing the node structure of the grid model to extract attribute data, and storing the attribute data in a database to determine a node attribute set; The node association relation set acquisition module (30) is used for generating a unique identifier for a node in the node attribute set, establishing a mapping relation table and acquiring the node association relation set according to the mapping relation table; a tile bottom binding completion module (40) for extracting basic member units from the grid model according to the node association relation set, and generating customized three-dimensional tiles by combining attribute mapping to complete tile bottom binding; the vector model acquisition module (50) is used for acquiring node identification through reverse query of the tile bottom binding, and processing raster data by adopting a restoration algorithm to obtain an edited vector model; and the attribute mapping relation updating module (60) is used for locally regenerating the three-dimensional tile and updating the attribute mapping relation according to the modified data of the edited vector model to obtain an updated mapping association system.
Description
Mapping association method and system for editing 3D tile and BIM vector model Technical Field The invention relates to the technical field of building information models, and particularly discloses a mapping association method and a mapping association system for editing a 3D tile and a BIM vector model. Background Building information model technology plays an increasingly important role in the engineering construction field, integrates the geometric shape, the spatial relationship and various attribute information of a building, and provides support for the full life cycle of design, construction, operation and maintenance and the like. With the continuous emergence of large-scale complex building projects, the requirements of people on efficient display and real-time interaction of building information models in three-dimensional scenes are increasingly strong, and particularly in urban or industrial large scenes, the building information models are required to be high-precision and rapidly loaded and browsed. The current mainstream three-dimensional visualization technology adopts a 3D tile format to process massive model data in a large amount, and the mode remarkably improves rendering performance and user experience through layered and block loading. However, in practical applications, 3D tiles are essentially an optimized rasterized representation that discretizes the original building element information into geometric tiles and textures, resulting in severe splitting of the model's original vector structure and rich attribute information. When a designer or engineer browses a three-dimensional scene, although the designer or engineer can see a realistic building appearance, it is difficult to directly select a specific component and view or modify detailed attribute information such as materials, specifications, installation positions and the like of the specific component, and precise editing and adjustment cannot be performed like the operation of a traditional vector model. The information fault changes the three-dimensional scene from a display tool to a simple 'see-through' tool, and is difficult to support the actual business process requiring frequent attribute inquiry and modification. The problem of the further layer is that there is a lack of stable correspondence between the 3D tiles and the original vector model. Assuming that an operation and maintenance person finds that a position of a certain pipeline is marked with errors in a three-dimensional scene, the diameter and material properties of the pipeline are required to be immediately corrected, the existing technical path usually exits the three-dimensional browsing interface, returns to the professional BIM software to find a corresponding vector component for modification, and then exports all models again, and re-cuts the models into tiles for uploading. If editing is attempted directly on a three-dimensional tile, any modification cannot be accurately fed back into the original attribute database due to lack of reliable mapping with vector nodes, and finally data inconsistency and even key information are lost. The whole business chain from viewing, positioning, editing and updating is manually split, and becomes a key problem for preventing the three-dimensional BIM model from truly falling to the ground in an actual project. Disclosure of Invention The invention provides a mapping association method and a mapping association system for editing a 3D tile and a BIM vector model, and aims to solve at least one defect in the prior art. One aspect of the invention relates to a mapping association method for editing a 3D tile and a BIM vector model, which comprises the following steps: S100, merging geometric information and topological relation of building information model vector data to generate a grid model; S200, analyzing the node structure of the grid model to extract attribute data, storing the attribute data into a database, and determining a node attribute set; s300, generating a unique identifier for a node in the node attribute set, establishing a mapping relation table, and acquiring a node association relation set according to the mapping relation table; S400, extracting basic component units from the grid model according to the node association relation set, and generating customized three-dimensional tiles by combining attribute mapping so as to complete tile bottom binding; s500, reversely inquiring and acquiring a node identifier through a bottom binding relation of tile bottom binding, and processing raster data by adopting a restoration algorithm to obtain an edited vector model; And S600, locally regenerating the three-dimensional tile according to the modified data of the edited vector model and updating the attribute mapping relation to obtain an updated mapping association system. Further, the building information model vector data includes vector boundary data of the building information model member, and