Sectioning method and system for complex BIM model of rail transit station
By reconstructing the hierarchical data set and establishing a spatial index architecture, the multi-format compatibility and cut-through efficiency of the complex BIM model of the rail transit station are solved, and efficient and accurate BIM cutting of the rail transit station is achieved, ensuring the cut-through continuity and visualization of the special-shaped structure.
Patent Information
- Application Number
- CN202510896617.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-01
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-07-01
AI Technical Summary
When the existing technology faces the complex BIM model of a rail transit station that is integrated with super-large scale and multi-professional, there are problems such as multi-format compatibility conflict, low global traversal efficiency, and insufficient cross-sectional accuracy of special-shaped structures, resulting in cross-sectional surface misalignment, component loss and calculation delay.
By reconstructing BIM model data in different formats into a unified hierarchical structure data set, a spatial index architecture is established, local spatial element collection searches, and a closed multilateral ring contour is generated, the model geometry on the specified side of the cut plane is hidden, and the truncated model is reconstructed and rendered.
It realizes compatibility of multi-format data, improves sectioning efficiency, ensures the sectioning accuracy and continuity of the special-shaped structure, and generates efficient, accurate and visual sectioning results.
Smart Images

Figure CN120408813A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sectioning of BIM models of rail transit stations, and particularly to a sectioning method and system for complex BIM models of rail transit stations. Background Art
[0002] With the rapid development of urban rail transit construction, the application of BIM technology in rail transit station projects has become increasingly in-depth. However, in the face of complex BIM models of rail transit stations with ultra-large scale and multi-disciplinary integration, the existing sectioning technologies have the following key defects: First, there are multi-format compatibility conflicts. Different formats of BIM models such as.rvt and.dgn are used in disciplines such as architecture, structure, and mechanical and electrical. During integration, due to coordinate system deviations, inconsistent design standards for each discipline, and insufficient data compatibility between cross-disciplinary models, section planes are misaligned and components are lost. Second, the global traversal efficiency is low. Traditional sectioning requires traversing tens of thousands of components (such as beams, columns, and pipelines), resulting in memory overload and calculation delays, and unable to meet the requirements of real-time interaction. Third, the continuity of special-shaped structures is insufficient. When sectioning curved surface structures such as station domes and special-shaped entrances and exits, due to insufficient grid discretization, serrated faults or unclosed contours are generated, destroying geometric integrity.
[0003] Therefore, there is an urgent need for a sectioning method for BIM models of rail transit stations that can be compatible with multi-source data, avoid global traversal, and ensure the sectioning accuracy of special-shaped structures. Summary of the Invention
[0004] In view of the above problems existing in the prior art, the first aspect of the present invention proposes a sectioning method for complex BIM models of rail transit stations, including: Step 1: Reconstruct the initial BIM model data in different formats into a unified hierarchical structure data set, retaining the integrity of the geometric topology features, attribute data, and relationship data of the initial BIM model data; Step 2: Establish a spatial index architecture based on the hierarchical structure data set, calculate the three-dimensional influence domain range according to the spatial index architecture and the section plane position, and retrieve the set of spatial voxels intersecting the section plane within the three-dimensional influence domain; Step 3: Perform an intersection calculation on the set of spatial voxels and the section plane to generate a set of geometric intersection points, and based on the set of geometric intersection points, generate a closed polygonal ring contour through adjacency relationship analysis, and aggregate it into a cutting plane; Step 4: Truncate the initial BIM model based on the cutting plane, hide the model geometry on the specified side of the section plane, reconstruct the geometric shape of the truncated BIM model and render it to generate a visual sectioning result.
[0005] In combination with the first aspect, in some implementation manners, the reconstruction of the hierarchical structure data set in step 1 includes: Step 1-1: Based on the initial BIM model, generate a pre-processed model by removing redundant geometric elements and unifying the spatial coordinate system; Step 1-2: Based on the engineering logic of the rail transit station, a hierarchical framework is generated by establishing a five-level spatial hierarchy of the station as a whole, floor areas, functional areas, component groups, and single components; Steps 1-3: Based on the preprocessing model and hierarchical framework, generate a hierarchical mapping relationship by parsing the component space attributes and mapping them to corresponding nodes; Steps 1-4: Based on the hierarchical mapping relationship, the spatial position, geometric data and attributes of the components are stored through nodes to generate a hierarchical structure data set.
[0006] In combination with the first aspect, in some implementations, the floor area includes the station hall floor and the platform floor; the functional area includes at least the public area, the equipment area and the office area; the component group includes at least the air-conditioning unit, the smoke exhaust system, the access control system and the power distribution system; the single component includes at least the heater, the air circuit breaker, the fan and the distribution box.
[0007] In conjunction with the first aspect, in some implementations, establishing the spatial index architecture in step 2 includes: Step 2-1: Based on the 3D space of the initial BIM model, a set of discretized spatial voxels is generated by constructing a cube grid and performing dynamic subdivision processing; Step 2-2: Based on the discretized spatial voxel set, generate a spatial voxel dataset with coordinates by mapping the physical entity and recording the center coordinates; Step 2-3: Based on the spatial voxel dataset with coordinates, map the coordinates to linear index codes using a space-filling curve to generate an index code set; Step 2-4: Generate an ordered spatial voxel index interval based on the index coding set through sorting operations.
[0008] In conjunction with the first aspect, in some implementations, retrieving the spatial voxel set in step 2 includes: Step 2-5: Generate the 3D influence domain boundary by calculating the minimum intersecting bounding box based on the position of the cutting plane; Step 2-6: Generate index code sub-intervals based on the vertices of the three-dimensional influence domain boundary through space filling curve encoding; Step 2-7: Generate a candidate voxel set through local range query based on the ordered spatial voxel index interval and index code subinterval; Step 2-8: Based on the candidate voxel set and the cutting plane, the spatial intersection relationship is calculated by the directed distance sign judgment method to generate a set of spatial voxels that intersect with the cutting plane.
[0009] In conjunction with the first aspect, in some implementations, the intersection calculation in step 3 includes: Step 3-1: Generate a vertex distance symbol set based on the vertex coordinates of the spatial voxel and the cutting plane equation through directed distance calculation; Step 3-2: Based on the vertex distance sign set, generate a set of edges to be intersected by traversing the edges of the voxels and detecting edges with opposite signs; Step 3-3: Based on the set of edges to be intersected, calculate the coordinates of the intersection points by linear interpolation to generate a set of geometric intersection points.
[0010] In conjunction with the first aspect, in some implementations, generating a closed polygonal annular contour in step 3 and aggregating it into a cutting surface includes: Step 3-4: Based on the geometric intersection set, generate a single contour intersection sequence by traversing unvisited intersections and tracing adjacent points; Step 3-5: Based on the single contour intersection sequence, generate a closed circular contour or an unclosed contour identifier through end-to-end closure verification; Step 3-6: Based on the unclosed contour identification, generate a forced closed contour through interpolation completion operation; Step 3-7: Perform polygon aggregation operation on the closed circular contour and the forced closed contour to generate a cutting surface.
[0011] In conjunction with the first aspect, in some implementations, hiding the model geometry on the specified side of the cutting plane in step 4 includes: Step 4-1: Based on the initial BIM models on both sides of the cutting plane, generate a set of direction vectors by selecting spatial elements and calculating the vectors from the center points of the spatial elements to the cutting plane; Step 4-2: Based on the direction vector set and the cutting plane normal vector, generate a dot product value symbol set through dot product operation; Step 4-3: Based on the dot product value symbol set, generate the to-be-hidden side identifier by hiding the negative-value side spatial voxels.
[0012] In conjunction with the first aspect, in some implementations, reconstructing the truncated BIM model geometry and rendering it in step 4 to generate a visual sectioning result includes: Step 4-4: Generate a new topological structure by updating the connection relationship between vertices, edges, and faces based on the visible model data after truncation and the cutting surface geometry data; Step 4-5: Based on the new topology and the attribute data in the hierarchical structure dataset, generate a revised topology model by checking and repairing the orientation consistency of the BIM model surface and the closedness of the BIM model body; Step 4-6: Based on the modified topology model, generate a geometric model with material attributes by mapping the material to the cutting surface; Steps 4-7: Based on the geometric model with material attributes, generate visual cutting results through vertex interpolation and rendering.
[0013] In a second aspect, the present invention provides a sectioning system for a complex BIM model of a rail transit station. The system adopts the method provided in any of the above embodiments, and the system includes: Data reconstruction module, used to reconstruct the initial BIM model data in different formats into a unified hierarchical structure data set, preserving the geometric topological features, attribute data and relationship data integrity of the initial BIM model data; The spatial index module is connected to the data reconstruction module and is used to establish a spatial index structure based on the hierarchical structure data set, calculate the three-dimensional influence domain range based on the spatial index structure and the position of the cutting plane, and retrieve the set of spatial elements that intersect the cutting plane within the three-dimensional influence domain; The cutting surface generation module is connected to the spatial index module and is used to perform intersection calculation on the spatial element set and the cutting plane to generate a set of geometric intersection points. Based on the set of geometric intersection points, a closed polygonal ring contour is generated through adjacency analysis and aggregated into a cutting surface. The model truncation module is connected to the cutting plane generation module and is used to truncate the initial BIM model based on the cutting plane, hide the model geometry on the specified side of the cutting plane, reconstruct the geometric shape of the truncation BIM model and render it to generate a visual cutting result.
[0014] Compared with the prior art, the beneficial effects of the present invention are: Step 1 resolves compatibility conflicts by reconstructing the dataset, reconstructing the initial BIM model data in different formats into a unified hierarchical structure dataset, retaining the geometric topological features, attribute data and relationship data integrity, eliminating coordinate system deviation and data loss during multi-professional model integration, and avoiding section dislocation from the source; Step 2 improves efficiency by establishing an index architecture, establishes a spatial index architecture based on the hierarchical structure dataset, calculates the three-dimensional influence domain range in combination with the sectioning plane position, optimizes the full model traversal into a local spatial voxel set retrieval, reduces invalid calculations, and solves memory overload and delay problems; Step 3 ensures continuity by generating a closed-loop contour, intersects the spatial voxel set with the sectioning plane to generate a geometric intersection set, forms a closed polygonal ring contour based on the adjacency relationship analysis and aggregates it into a cutting surface, ensuring that there is no fault at the cutting edge of the special-shaped structure; Step 4 realizes visualization through integrated truncation rendering, hides the specified side geometry after truncating the initial BIM model based on the cutting surface, reconstructs the topology and renders to generate a visual sectioning result, forming a complete technical closed loop.
[0015] In summary, the unified dataset in step 1 provides a structured basis for indexing in step 2; the efficient retrieval in step 2 compresses the intersection calculation range in step 3 to the influence domain; the closed contour generated in step 3 directly supports the precise truncation rendering in step 4, ultimately achieving efficient, accurate, and continuous BIM sectioning of rail transit stations. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 The following is a schematic flowchart of a slicing method for a complex BIM model of a rail transit station provided by an embodiment of the present invention.
[0018] Figure 2 The following is a schematic diagram of a BIM model of a rail transit station provided by an embodiment of the present invention.
[0019] Figure 3 The following is a partial fragment schematic diagram of the divided space hierarchical structure provided by an embodiment of the present invention.
[0020] Figure 4 The following is a schematic diagram of the initial space voxels and the space voxels after the X / Y / Z three-axis synchronous bisection operation provided by an embodiment of the present invention.
[0021] Figure 5 The following is a schematic diagram of the sliced BIM model provided by an embodiment of the present invention.
[0022] Figure 6 The following is a schematic structural diagram of a slicing system for a complex BIM model of a rail transit station provided by an embodiment of the present invention. Specific Embodiments
[0023] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.
[0024] The following will explain the specific embodiments of the present invention.
[0025] Embodiment 1 Combined with Figures 1 to 5 As shown in the figure, the present invention proposes a slicing method for a complex BIM model of a rail transit station, including: Step 1: Reconstruct the initial BIM model data in different formats into a unified hierarchical structure data set, retaining the integrity of the geometric topology features, attribute data, and relationship data of the initial BIM model data.
[0026] Specifically, the initial BIM model may contain data in various formats such as.rvt,.rfa,.dgn,.sat,.stp,.gltf,.obj, etc. Through the lossless data conversion mechanism, redundant geometric elements (such as isolated points, lines, and faces) are first removed and geometric errors (such as inconsistent normal directions or missing patches) are repaired. At the same time, the local coordinate systems of each professional model are unified to the global coordinate system to eliminate the misalignment of the cutting planes caused by coordinate system deviations. Subsequently, a five-level spatial hierarchical framework is constructed based on the engineering logic of rail transit stations: the overall station, floor areas (such as concourse level, platform level), functional areas (such as public area, equipment area, office area), component groups (such as air handling units, smoke exhaust systems), and individual components (such as fans, distribution boxes). The spatial attributes of the components in the initial BIM model (such as spatial coordinates, geometric dimensions) are parsed and mapped to the corresponding hierarchical nodes, and finally a hierarchical structure dataset with complete geometric topology features and attribute associations is generated. This step resolves the compatibility conflicts during the integration of multi-professional models from the source and ensures the data consistency of subsequent cutting operations.
[0027] Step 2: Establish a spatial index architecture based on the hierarchical structure dataset, calculate the three-dimensional influence domain range according to the spatial index architecture and the position of the cutting plane, and retrieve the set of spatial voxels intersecting the cutting plane within the three-dimensional influence domain.
[0028] Specifically, to avoid memory overload caused by globally traversing tens of thousands of components, a spatial index architecture is established based on the hierarchical structure dataset. Specifically: A cube grid of the initial size is constructed in three-dimensional space, and a set of discretized spatial voxels is generated through dynamic subdivision processing. If a voxel is completely outside the model, it is discarded; if it is completely inside, the subdivision is terminated; if it intersects the model, it is synchronously bisected along the X / Y / Z axes until the size is smaller than the threshold. After recording the center coordinates of each voxel, the coordinates are dimensionally reduced and mapped to a linear index code using a three-dimensional Z-order curve (for example, the coordinates (4, 5, 6) are binary interleaved into 111100010, corresponding to the decimal index code 482), generating an ordered spatial voxel index interval [K min , K max . During cutting, the minimum intersecting bounding box is calculated according to the position of the cutting plane to determine the three-dimensional influence domain range [x min , x max × [y min , y max × [z min , z max , and its boundary vertices are converted into an index code sub-interval [k min , k maxA local range query is used to obtain a set of candidate voxels. Then, a directed distance sign judgment method is used to accurately select the set of spatial voxels that actually intersect the cutting plane. This step compresses the calculation scope to the influence area near the cutting plane, reducing invalid traversals and addressing memory overload and real-time interaction delays.
[0029] Step 3: Perform intersection calculation on the spatial element set and the cutting plane to generate a geometric intersection set. Based on the geometric intersection set, generate a closed polygonal ring contour through adjacency analysis and aggregate it into a cutting surface.
[0030] Specifically, the intersection of the set of spatial voxels and the cutting plane is calculated: the signed distances of the voxel vertices are calculated based on the plane equation, the edges are traversed and the edges with opposite signs are detected, the intersection coordinates are calculated using the linear interpolation formula, and a set of geometric intersections is generated. Subsequently, a closed contour is generated through adjacency analysis: starting from unvisited intersections, adjacent points are traced to form a single contour intersection sequence. If the beginning and end are not closed (such as the open boundary of the voxel edge), the interpolation is completed to a forced closed contour. Multiple closed circular contours are aggregated to form a complete cutting surface. This process ensures the accuracy of the surface structure by dynamically subdividing the voxels, and avoids the jagged faults of special-shaped structures such as domes in traditional methods through a forced closure mechanism, ensuring geometric continuity.
[0031] Step 4: Truncate the initial BIM model based on the cutting plane, hide the model geometry on the specified side of the cutting plane, reconstruct the truncated BIM model geometry and render it to generate a visual cutting result.
[0032] Specifically, the initial BIM model is truncated based on the cutting plane: the dot product of the direction vector from the voxel center to the cutting plane and the plane normal is calculated, and the model geometry on the side with a negative dot product value is hidden. The vertex, edge, and face connectivity of the truncated model is updated, and surface orientation consistency and model closure are checked and repaired. The cutting plane inherits the original component's material properties (such as color and texture), and a smooth transition is achieved through vertex interpolation. Finally, the visual sectioning result is rendered. This step completes the technical loop from data reconstruction to result output.
[0033] The embodiments of the present invention eliminate multi-format compatibility conflicts and avoid sectioning dislocations by unifying hierarchical data sets; the spatial index architecture optimizes global traversal into local influence domain retrieval, improving computational efficiency; dynamic subdivision of voxels and forced closed contours ensure the accuracy and continuity of sectioning of special-shaped structures; material inheritance and topology repair ensure the engineering practicality of the visualization results, forming an efficient, accurate, and complete technical closed loop.
[0034] In conjunction with the first aspect, in some implementations, reconstructing the hierarchical structured dataset in step 1 includes: Step 1-1: Based on the initial BIM model, generate a pre-processed model by removing redundant geometric elements and unifying the spatial coordinate system.
[0035] Specifically, the initial BIM model needs to remove redundant geometric elements (such as duplicate vertices and unreferenced edges) and repair geometric errors (such as non-manifold edges or self-intersecting faces). Unifying the spatial coordinate system is a key step: converting the local coordinate systems of professional models such as architecture, structure, and mechanical and electrical to the global coordinate system. For example, aligning the relative coordinates of.rvt files with the absolute coordinates of.dgn files to eliminate component misalignment caused by coordinate system deviation. This step provides a preprocessing model with geometric purity and spatial consistency for establishing the hierarchical framework.
[0036] Step 1-2: Based on the engineering logic of rail transit stations, generate a hierarchical framework by establishing a five-level spatial hierarchy of the overall station, floor areas, functional areas, component groups, and individual components.
[0037] Specifically, divide the hierarchy based on the engineering logic of rail transit stations: the overall station, covering the building boundary of the station; floor areas, including physical layers such as the concourse level and platform level; functional areas, such as public areas (turnstiles, platforms), equipment areas (machine rooms), and office areas (control rooms); component groups, divided by system, such as air handling units (including fans and coils), access control systems (including card readers and controllers); individual components, the smallest units such as distribution boxes and air circuit breakers. This framework associates components through engineering semantics, replacing the traditional geometric loose organization method.
[0038] Step 1-3: Based on the preprocessing model and the hierarchical framework, generate a hierarchical mapping relationship by parsing the spatial attributes of components and mapping them to the corresponding nodes.
[0039] Specifically, parse the spatial attributes of components (such as coordinate range and geometric type) in the preprocessing model and map them to the corresponding hierarchical nodes. For example, map the fan located in the equipment area of the concourse level to the node "concourse level - equipment area - air handling unit - fan" to ensure strict correspondence between components and engineering logic.
[0040] Step 1-4: Based on the hierarchical mapping relationship, generate a hierarchical structure dataset by storing the spatial positions, geometric data, and attributes of components in the nodes.
[0041] Specifically, each hierarchical node stores three types of data: spatial position (such as bounding box coordinates), geometric data (such as mesh vertices), and attributes (such as material and model). The nodes are linked through parent-child relationships to form a hierarchical structure dataset with both geometric accuracy and engineering semantics.
[0042] Among them, the functional areas can be extended to commercial areas, evacuation channels, etc.; the component groups can include professional groupings such as the water supply and drainage system and the fire protection system.
[0043] In the embodiment of the present invention, redundancy removal reduces storage load, and the coordinate system eliminates integration deviation; the five-level hierarchical mapping engineering logic improves data manageability; attribute inheritance ensures lossless transmission of BIM information; and provides a structured basis for spatial indexing.
[0044] In combination with the first aspect, in some implementations, the floor area includes the station hall floor and the platform floor; the functional area includes at least the public area, the equipment area and the office area; the component group includes at least the air-conditioning unit, the smoke exhaust system, the access control system and the power distribution system; the single component includes at least the heater, the air circuit breaker, the fan and the distribution box.
[0045] Specifically, the floor areas are: the concourse level (including ticketing and security functions) and the platform level (including waiting and boarding areas), which are connected by stairs and escalator components; Functional areas: public areas (such as station distribution halls), equipment areas (such as environmental control rooms), and office areas (such as dispatching rooms). The equipment areas are usually adjacent to the platform level to reduce the distance for laying pipelines. Component group: air-conditioning unit (including fan, heater), smoke exhaust system (including air damper, smoke detector), access control system (including card reader, electric lock), power distribution system (including distribution cabinet, circuit breaker); Single components: such as coils in air conditioning systems and air circuit breakers in power distribution systems.
[0046] In an embodiment of the present invention, the hierarchical division matches the station operation and maintenance logic, improving the engineering readability of the sectioning results; the component group classification supports system-level sectioning analysis (such as separately sectioning the smoke exhaust duct); and avoids component mismapping caused by unstructured data.
[0047] In conjunction with the first aspect, in some implementations, establishing the spatial index architecture in step 2 includes: Step 2-1: Based on the three-dimensional space of the initial BIM model, a set of discretized spatial elements is generated by constructing a cube grid and performing dynamic subdivision processing.
[0048] Specifically, a cube mesh of initial size is constructed in the 3D space of the BIM model. The initial size of the voxels is set according to the model accuracy requirements (such as surface curvature), and dynamic subdivision is performed: If the voxel is completely inside the model, terminate the subdivision and keep it; If it is completely outside, discard it; If it intersects the model, it is bisected synchronously along the X / Y / Z axes to generate eight sub-voxels, and this process is repeated until the voxel size is smaller than a threshold (e.g., the minimum surface approximation error is met). This step balances accuracy and computational efficiency through adaptive subdivision.
[0049] Step 2-2: Based on the discretized spatial voxel set, generate a spatial voxel dataset with coordinates by mapping the physical entity and recording the center coordinates.
[0050] Specifically, the discretized physical entities (such as beams, columns, and pipelines) are mapped to intersecting elements, and each element stores the entity's geometric data and records the center point coordinates.
[0051] Step 2-3: Based on the spatial voxel dataset with coordinates, map the coordinates to linear index codes through a space filling curve to generate an index code set.
[0052] Specifically, the voxel center coordinates are converted to binary and interleaved. For example, the coordinates (4,5,6) (binary 100,101,110) are interleaved to 111100010, which converts to the decimal index 482. This operation preserves spatial proximity: adjacent voxels in 3D space remain adjacent in the 1D index.
[0053] Step 2-4: Generate an ordered spatial voxel index interval based on the index coding set through sorting operations.
[0054] Specifically, sort all index codes and generate a continuous interval [K min , K max ], supporting efficient range queries.
[0055] Among them, the space filling curve can use the Hilbert curve instead of the Z-order curve, sacrificing some efficiency in exchange for higher spatial aggregation.
[0056] In the embodiment of the present invention, dynamic discretization optimizes storage to avoid memory waste of uniform grids; Z-order mapping reduces the dimensionality of multi-dimensional queries to one dimension to accelerate retrieval; and spatial proximity retention ensures the effectiveness of local traversal.
[0057] In conjunction with the first aspect, in some implementations, retrieving the spatial voxel set in step 2 includes: Step 2-5: Generate the 3D influence domain boundary by calculating the minimum intersecting bounding box based on the position of the cutting plane.
[0058] Specifically, the minimum intersecting bounding box within the model range is calculated according to the cutting plane equation (such as Ax+By+Cz+D=0), and the axially aligned bounding box (AABB) boundary [x min , x max ]×[y min ,y max ]×[z min , z max ].
[0059] Step 2-6: Generate index code sub-intervals based on the vertices of the three-dimensional influence domain boundary through space filling curve encoding.
[0060] Specifically, for the minimum vertex of the bounding box (x min ,y min , z min ) and the maximum vertex (x max ,y max , z max ) are Z-order encoded to generate index code sub-intervals [k min , k max ].
[0061] Step 2-7: Based on the ordered spatial voxel index interval and the index code sub-interval, generate a candidate voxel set through local range query.
[0062] Specifically, in the global index interval [K min , K max ] the query belongs to the subinterval [k min , k max ] to generate a set of candidate voxels and avoid full model scanning.
[0063] Step 2-8: Based on the candidate voxel set and the cutting plane, the spatial intersection relationship is calculated by the directed distance sign judgment method to generate a set of spatial voxels that intersect with the cutting plane.
[0064] Specifically, because the Z-order curve may cover non-intersecting areas (such as the corners of the bounding box), the signed distance judgment method is used to filter the candidate voxels twice: the spatial relationship between the voxel bounding box and the cutting plane is calculated, and only the voxels that actually intersect are retained.
[0065] In the embodiment of the present invention, the minimum bounding box compresses the search range; the fuzzy search utilizes the orderliness of the index to improve efficiency; and the secondary filtering ensures the accuracy of the result and avoids false elimination.
[0066] In conjunction with the first aspect, in some implementations, the intersection calculation in step 3 includes: Step 3-1: Generate a vertex distance symbol set based on the vertex coordinates of the spatial voxel and the cutting plane equation through directed distance calculation; Step 3-2: Based on the vertex distance sign set, generate a set of edges to be intersected by traversing the edges of the voxels and detecting edges with opposite signs; Step 3-3: Based on the set of edges to be intersected, calculate the coordinates of the intersection points by linear interpolation to generate a set of geometric intersection points.
[0067] Specifically, the signed distance value of each vertex of the spatial voxel cube is calculated based on the cutting plane equation (form Ax + By + Cz + D = 0). The sign of this distance value represents the vertex's orientation relative to the cutting plane: a positive value indicates the vertex is located in front of the cutting plane, a negative value indicates it is located behind it, and a value of zero indicates the vertex is directly on the plane. This symbolic judgment provides the basis for subsequent edge screening.
[0068] Next, we traverse the 12 edges of the spatial element and check whether the distances between the vertices at each end of the edge have opposite signs. If so, the edge must intersect the cutting plane; otherwise, it does not. This step efficiently selects all edges to be intersected, avoiding unnecessary calculations.
[0069] Finally, perform linear interpolation on each edge to be intersected. Assume that the edge endpoints P1 (x1, y1, z1) and P2 (x2, y2, z2) have opposite distances. The intersection parameter t is calculated using the formula: , calculate the actual intersection coordinates based on the parameter t: , after traversing all the edges to be intersected, a complete set of geometric intersection points is generated.
[0070] In an embodiment of the present invention, the signed distance sign method quickly locates intersecting edges and reduces computational complexity; linear interpolation ensures the accuracy of intersection coordinates and avoids jagged errors caused by grid discretization; and a complete set of geometric intersections provides a data basis for closed contour generation.
[0071] In conjunction with the first aspect, in some implementations, generating a closed polygonal annular contour in step 3 and aggregating it into a cutting surface includes: Step 3-4: Based on the geometric intersection set, generate a single contour intersection sequence by traversing unvisited intersections and tracing adjacent points; Step 3-5: Based on the single contour intersection sequence, generate a closed circular contour or an unclosed contour identifier through end-to-end closure verification; Step 3-6: Based on the unclosed contour identification, generate a forced closed contour through interpolation completion operation; Step 3-7: Perform polygon aggregation operation on the closed circular contour and the forced closed contour to generate a cutting surface.
[0072] Specifically, first, an unvisited intersection point is selected from the geometric intersection set as the starting point. This point is then traced based on adjacency relationships to form a single-contour intersection sequence. Specifically, within the intersection plane of the starting voxel, adjacent intersection points are searched clockwise and added to the sequence until no unvisited adjacent points are found or the process returns to the starting point. This step establishes topological associations between intersection points based on voxel adjacency.
[0073] Secondly, verify the head and tail closure of the intersection point sequence. If the head and tail of the sequence coincide and contain at least three intersection points, a closed circular contour is directly generated; if it is not closed (commonly found in model boundaries or surface discretization gaps), the forced closure mechanism is activated: interpolation points are inserted between the head and tail points to complete the path and ensure that the contour is closed. This operation completely solves the problem of contour breakage caused by mesh discretization in traditional sectioning.
[0074] Subsequently, repeat the above process until all intersection points are visited, generating multiple independent closed contours (for example, a dome surface may generate multiple circular contours).
[0075] Finally, perform polygon aggregation on all closed circular contours: adjacent contours are merged into a single continuous cutting surface through triangulation or Boolean operations.
[0076] In the embodiment of the present invention, adjacent point tracking maintains the topological correctness of the contour; the forced closure mechanism eliminates the sectioning fault of the special-shaped structure; polygon aggregation forms a complete cutting surface to support accurate model truncation.
[0077] Combined with the first aspect, in some implementation manners, hiding the model geometry on the specified side of the section plane in step 4 includes: Step 4-1: Based on the initial BIM models on both sides of the cutting surface, by selecting spatial voxels and calculating the vectors from the center points of the spatial voxels to the section plane, a set of direction vectors is generated; Step 4-2: Based on the set of direction vectors and the normal vector of the section plane, through dot product operations, a set of dot product value signs is generated; Step 4-3: Based on the set of dot product value signs, by hiding the spatial voxels on the negative value side, an identification of the side to be hidden is generated.
[0078] First, select the complete voxels of the initial BIM models on both sides of the cutting surface (the integrity of which needs not to be damaged by sectioning), and calculate the direction vectors from their center points to the section plane. Let the center coordinates of the voxel be O(x0, y0, z0), then the direction vector is defined by the formula: , where (x p , y p , z p ) is any reference point on the section plane.
[0079] Secondly, obtain the normal vector =(A, B, C) (determined by the coefficients of the plane equation), and calculate the dot product value of the direction vector and the normal vector: .
[0080] Finally, perform the hiding operation according to the sign of the dot product value: If <0, hide all the model geometry on the side where the voxel is located; If >0, hide the opposite side model geometry; like =0 (the center of the voxel is exactly on the plane) is processed according to the preset strategy (such as hiding one side by default).
[0081] In the embodiment of the present invention, the dot product operation is mathematically clear and computationally efficient; complete voxel selection avoids misjudgment near the cutting surface; and symbol judgment accurately separates the models on both sides of the section.
[0082] In conjunction with the first aspect, in some implementations, reconstructing the truncated BIM model geometry and rendering it in step 4 to generate a visual sectioning result includes: Step 4-4: Generate a new topological structure by updating the connection relationship between vertices, edges, and faces based on the visible model data after truncation and the cutting surface geometry data; Step 4-5: Based on the new topology and the attribute data in the hierarchical structure dataset, generate a revised topology model by checking and repairing the orientation consistency of the BIM model surface and the closedness of the BIM model body; Step 4-6: Based on the modified topology model, generate a geometric model with material attributes by mapping the material to the cutting surface; Steps 4-7: Based on the geometric model with material attributes, generate visual cutting results through vertex interpolation and rendering.
[0083] First, the model's topology is updated: Based on the visible model data after truncation and the geometry of the cut surface, the vertex-edge-face connections are reconstructed. The newly added cut surface vertices are re-meshed with the original vertices, ensuring that each edge connects to the correct vertices and each face is enclosed by a closed boundary. This step resolves topological breaks caused by the cut.
[0084] Secondly, check and repair model topology defects: adjust the normal direction of the triangular facets so that they are uniformly outward, complete open boundaries caused by sectioning (such as equipment pipeline cuts), and ensure that the repair conforms to engineering logic by introducing attribute data from the hierarchical structure data set (such as component connection relationships).
[0085] Subsequently, material properties are assigned to the cutting surface, inheriting the color and texture properties of the original component (such as gray for concrete structures and silver for stainless steel equipment), and a smooth material transition between the cutting surface and adjacent surfaces is achieved through vertex attribute interpolation.
[0086] Finally, rendering optimization is performed, using a lighting model to enhance the three-dimensional sense of volume, and LOD (level of detail) control based on the spatial hierarchy structure to improve the rendering efficiency of large-scale scenes. The generated visual sectioning results retain both geometric accuracy and engineering semantic information.
[0087] In the embodiment of the present invention, topology reconstruction ensures the validity of geometric data; attribute inheritance maintains the continuity of BIM information; material interpolation eliminates visual mutations; and hierarchical rendering optimization improves the smoothness of interaction.
[0088] Example 2 like Figure 6 As shown, in a second aspect, the present invention provides a sectioning system for a complex BIM model of a rail transit station. The system adopts the method provided in any of the above embodiments, and the system includes: Data reconstruction module, used to reconstruct the initial BIM model data in different formats into a unified hierarchical structure data set, preserving the geometric topological features, attribute data and relationship data integrity of the initial BIM model data; The spatial index module is connected to the data reconstruction module and is used to establish a spatial index structure based on the hierarchical structure data set, calculate the three-dimensional influence domain range based on the spatial index structure and the position of the cutting plane, and retrieve the set of spatial elements that intersect the cutting plane within the three-dimensional influence domain; The cutting surface generation module is connected to the spatial index module and is used to perform intersection calculation on the spatial element set and the cutting plane to generate a set of geometric intersection points. Based on the set of geometric intersection points, a closed polygonal ring contour is generated through adjacency analysis and aggregated into a cutting surface. The model truncation module is connected to the cutting plane generation module and is used to truncate the initial BIM model based on the cutting plane, hide the model geometry on the specified side of the cutting plane, reconstruct the geometric shape of the truncation BIM model and render it to generate a visual cutting result.
[0089] The system corresponds to the method provided in Example 1 and will not be described in detail here.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.
Claims
1. A sectioning method for a complex BIM model of a rail transit station, characterized in that: include: Step 1: Reconstruct the initial BIM model data in different formats into a unified hierarchical structure data set, preserving the geometric topological features, attribute data and relationship data integrity of the initial BIM model data; Step 2: Establishing a spatial index structure based on the hierarchical structure data set, calculating the range of a three-dimensional influence domain according to the spatial index structure and the position of the cutting plane, and retrieving a set of spatial voxels intersecting the cutting plane within the three-dimensional influence domain; Step 3: performing intersection calculation on the spatial voxel set and the cutting plane to generate a geometric intersection set, and based on the geometric intersection set, generating a closed polygonal ring contour through adjacency analysis, and aggregating them into a cutting surface; Step 4: Truncate the initial BIM model based on the cutting plane, hide the model geometry on the specified side of the cutting plane, reconstruct the truncated BIM model geometry and render it to generate a visual cutting result.
2. The sectioning method for a complex BIM model oriented to rail transit stations according to claim 1, wherein, The step 1 of reconstructing the hierarchical structure data set includes: Step 1-1: Based on the initial BIM model, generate a pre-processed model by removing redundant geometric elements and unifying the spatial coordinate system; Step 1-2: Based on the engineering logic of the rail transit station, a hierarchical framework is generated by establishing a five-level spatial hierarchy of the station as a whole, floor areas, functional areas, component groups, and single components; Steps 1-3: Based on the preprocessing model and hierarchical framework, generate a hierarchical mapping relationship by parsing the component space attributes and mapping them to corresponding nodes; Steps 1-4: Based on the hierarchical mapping relationship, the spatial position, geometric data and attributes of the components are stored through nodes to generate a hierarchical structure data set.
3. The sectioning method for a complex BIM model of a rail transit station according to claim 2, characterized in that: The floor area includes the station hall floor and the platform floor; the functional area includes at least the public area, equipment area and office area; the component group includes at least the air-conditioning unit, smoke exhaust system, access control system and power distribution system; the single component includes at least the heater, air circuit breaker, fan and distribution box.
4. The sectioning method for a complex BIM model of a rail transit station according to claim 1, characterized in that: The step 2 of establishing the spatial index architecture includes: Step 2-1: Based on the 3D space of the initial BIM model, a set of discretized spatial voxels is generated by constructing a cube grid and performing dynamic subdivision processing; Step 2-2: Based on the discretized spatial voxel set, generate a spatial voxel dataset with coordinates by mapping the physical entity and recording the center coordinates; Step 2-3: Based on the spatial voxel dataset with coordinates, map the coordinates to linear index codes using a space-filling curve to generate an index code set; Step 2-4: Generate an ordered spatial voxel index interval based on the index coding set through sorting operations.
5. The sectioning method for a complex BIM model of a rail transit station according to claim 4, characterized in that: Retrieving the spatial voxel set in step 2 includes: Step 2-5: Generate the 3D influence domain boundary by calculating the minimum intersecting bounding box based on the position of the cutting plane; Step 2-6: Generate index code sub-intervals based on the vertices of the three-dimensional influence domain boundary through space filling curve encoding; Step 2-7: Generate a candidate voxel set through local range query based on the ordered spatial voxel index interval and index code subinterval; Step 2-8: Based on the candidate voxel set and the cutting plane, the spatial intersection relationship is calculated by the directed distance sign judgment method to generate a set of spatial voxels that intersect with the cutting plane.
6. The sectioning method for a complex BIM model of a rail transit station according to claim 1, characterized in that: The intersection calculation in step 3 includes: Step 3-1: Generate a vertex distance symbol set based on the vertex coordinates of the spatial voxel and the cutting plane equation through directed distance calculation; Step 3-2: Based on the vertex distance sign set, generate a set of edges to be intersected by traversing the edges of the voxels and detecting edges with opposite signs; Step 3-3: Based on the set of edges to be intersected, calculate the coordinates of the intersection points by linear interpolation to generate a set of geometric intersection points.
7. The sectioning method for a complex BIM model of a rail transit station according to claim 1, characterized in that: The step 3 generates a closed polygonal annular contour, which is aggregated into a cutting surface, including: Step 3-4: Based on the geometric intersection set, generate a single contour intersection sequence by traversing unvisited intersections and tracing adjacent points; Step 3-5: Based on the single contour intersection sequence, generate a closed circular contour or an unclosed contour identifier through end-to-end closure verification; Step 3-6: Based on the unclosed contour identification, generate a forced closed contour through interpolation completion operation; Step 3-7: Perform polygon aggregation operation on the closed circular contour and the forced closed contour to generate a cutting surface.
8. A sectioning method for a complex BIM model oriented to rail transit stations according to claim 1, characterized in that The model geometry on the specified side of the cutting plane hidden in step 4 includes: Step 4-1: Based on the initial BIM models on both sides of the cutting plane, generate a set of direction vectors by selecting spatial elements and calculating the vectors from the center points of the spatial elements to the cutting plane; Step 4-2: Based on the direction vector set and the cutting plane normal vector, generate a dot product value symbol set through dot product operation; Step 4-3: Based on the dot product value symbol set, generate the to-be-hidden side identifier by hiding the negative-value side spatial voxels.
9. The sectioning method for a complex BIM model of a rail transit station according to claim 1, characterized in that: In step 4, the geometric shape of the truncated BIM model is reconstructed and rendered to generate a visual sectioning result, including: Step 4-4: Generate a new topological structure by updating the connection relationship between vertices, edges, and faces based on the visible model data after truncation and the cutting surface geometry data; Step 4-5: Based on the new topology and the attribute data in the hierarchical structure dataset, generate a revised topology model by checking and repairing the orientation consistency of the BIM model surface and the closedness of the BIM model body; Step 4-6: Based on the modified topology model, generate a geometric model with material attributes by mapping the material to the cutting surface; Steps 4-7: Based on the geometric model with material attributes, generate visual cutting results through vertex interpolation and rendering.
10. A sectioning system for complex BIM models of rail transit stations, characterized by: The system adopts the method according to any one of claims 1 to 9, and the system includes: Data reconstruction module, used to reconstruct the initial BIM model data in different formats into a unified hierarchical structure data set, preserving the geometric topological features, attribute data and relationship data integrity of the initial BIM model data; a spatial index module, connected to the data reconstruction module, configured to establish a spatial index framework based on the hierarchical structure data set, calculate a three-dimensional influence domain range based on the spatial index framework and the position of the cutting plane, and retrieve a set of spatial voxels intersecting the cutting plane within the three-dimensional influence domain; a cutting surface generation module, connected to the spatial index module, for performing intersection calculation on the spatial voxel set and the cutting plane to generate a geometric intersection set, and based on the geometric intersection set, generates a closed polygonal annular contour through adjacency analysis to aggregate into a cutting surface; The model truncation module is connected to the cutting plane generation module and is used to truncate the initial BIM model based on the cutting plane, hide the model geometry on the specified side of the cutting plane, reconstruct the geometric shape of the truncation BIM model and render it to generate a visual cutting result.
Citation Information
Patent Citations
Method for converting three-dimensional geologic model into numerical calculation model
CN110428498A
Method for generating three-dimensional building GLTF file based on index compression
CN119313847A
Bridge foundation deformation analysis method and system for bridge foundation rotary excavating pile construction based on BIM
CN119830417A
Fast retrieval method based on space division and model voxelization
WO2024138878A1
Cited By
Method and system for one-key section of part in unit
CN121859448A
A method and system for one-key sectioning of parts within a cell
CN121859448B
Rail transit station three-dimensional space emergency evacuation path planning method
CN122155067A
Rail transit station three-dimensional space emergency evacuation path planning method
CN122155067B