Mountain building design method and system based on terrain fusion and anchor point path fitting

CN122413554BActive Publication Date: 2026-08-28ARCHITECTURAL DESIGN & RES INST OF SOUTHEAST UNIV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610830044.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-10
Publication Date
2026-08-28
Estimated Expiration
2046-06-10

AI Technical Summary

Technical Problem

[0006]本发明旨在提供基于地形融合与锚点路径拟合的山地建筑设计方法和系统,解决现有山地建筑设计中地形融合精度低、建筑与山体之间的三维连接路径与地形不匹配的问题,减少土方开挖与原有生态地貌改造

Benefits of technology

[0057] 1. The terrain suitability index designed in this application analyzes the flatness of the target mountain area, which can plan a suitable flat area for building layout, reducing earthwork excavation and ecological landform modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122413554B_ABST
    Figure CN122413554B_ABST
Patent Text Reader

Abstract

The application discloses a mountain building design method and system based on terrain fusion and anchor point path fitting. The method comprises the following steps: identifying and planning a target flat area in a target mountain, introducing a building volume model into the target flat area, arranging a plurality of building edge candidate anchor points at the edge of the building volume model, and correspondingly generating a plurality of mountain body connecting candidate anchor points on a digital terrain model; pairing the building edge candidate anchor points and the mountain body connecting candidate anchor points two by two, and outputting an optimal anchor point pair; connecting the building edge candidate anchor points and the mountain body connecting candidate anchor points in the optimal anchor point pair in a straight line, and the straight line, the target mountain contour line and the building volume model edge line jointly form a streamline network, and the three-dimensional streamline network connecting the mountain body and the building is finally formed through further mutual connection. The method realizes scientific building positioning in the mountain body and path connection between the building and the mountain body, and greatly reduces earth excavation and ecological landform reconstruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital technology in architectural design and landscape engineering, specifically to a method and system for mountain architecture design based on terrain fusion and anchor point path fitting. Background Technology

[0002] When designing buildings in complex terrain environments such as mountains and hills, achieving efficient integration between the building and the natural landscape involves two objectives: 1) rationalizing the building layout to reduce earthwork excavation and ecological landform modification; and 2) rationalizing the design of a three-dimensional pedestrian system to achieve convenient and comfortable building and environmental circulation. This has long been a technical challenge faced by the interdisciplinary fields of architectural design, landscape architecture, and civil engineering.

[0003] Traditional mountain building design methods rely heavily on manual surveys, interpretation of two-dimensional topographic maps, and empirical judgment. Matching the building foundation shape to the terrain often involves segmented leveling or large-scale excavation, frequently resulting in extensive earthwork and damage to the original landform and vegetation system. Existing technologies attempt to utilize digital design tools for terrain analysis and shape generation; however, these technologies still have significant shortcomings.

[0004] Firstly, terrain analysis and building layout are often disconnected, resulting in low accuracy of terrain integration and large amounts of earthwork excavation and ecological landform modification.

[0005] Secondly, the three-dimensional connection paths between buildings and mountains mostly rely on manual settings or simple linear connections, failing to achieve dynamic fit with the terrain surface and slope control. Summary of the Invention

[0006] This invention aims to provide a mountain building design method and system based on terrain fusion and anchor point path fitting, which solves the problems of low terrain fusion accuracy and mismatch between the three-dimensional connection path between the building and the mountain and the terrain in existing mountain building designs, and reduces earthwork excavation and original ecological landform modification.

[0007] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows.

[0008] The mountain building design method based on terrain fusion and anchor point path fitting includes the following steps:

[0009] S1. Identify and plan the target flat area within the target mountainous terrain, including the following steps:

[0010] S1-1. Construct a digital terrain model based on the topographic elevation data of the target mountain.

[0011] S1-2. Calculate the terrain suitability index based on the digital terrain model, and plan the target flat area on the digital terrain model according to the calculation results.

[0012] S2. Select a layout area within the target flat area that meets the requirements for the building base area and length and width dimensions, import the building volume model into the layout area, and adjust the base outline of the building volume model to match the base outline with the target flat area.

[0013] S3. Arrange n groups of candidate anchor points with different elevations along the edge of the building mass model, n≥1; the elevations of the candidate anchor points in each group are the same.

[0014] Generate target mountain contour lines on the digital terrain model that are at the same elevation as each group of candidate anchor points for building edges, and set up a group of candidate anchor points for mountain connection on the corresponding target mountain contour lines, for a total of n groups of candidate anchor points for mountain connection;

[0015] Pair the candidate anchor points at the building edge with the corresponding candidate anchor points connecting to the mountain in each group to generate n optimal anchor point pairs that meet the terrain suitability index threshold and have the shortest straight-line distance between the candidate anchor points at the building edge and the candidate anchor points connecting to the mountain.

[0016] S4. Connect the candidate anchor points at the building edge and the candidate anchor points connecting the mountain in the n optimal anchor point pairs with straight lines to form a three-dimensional streamline network connecting the target mountain and the building.

[0017] Preferably, step S1-2 specifically includes the following steps:

[0018] S1-2A: The terrain surface in the digital terrain model is meshed according to the preset mesh size to form several meshes, and the vertex of each mesh is regarded as a sampling point;

[0019] S1-2B Calculate the terrain suitability index for each sampling point; the terrain suitability index is the slope index, slope gradient index, flatness index, or comprehensive weighted index K.

[0020] Slope index: The angle between the normal of one of the grids where the sampling point is located and the Z-axis;

[0021] Slope gradient index: the derivative of the slope index;

[0022] Flatness index formula:

[0023] ;

[0024] in, For flatness; This represents the maximum topographic elevation in the vicinity of the sampling point, in meters. This represents the minimum topographic elevation in the vicinity of the sampling point, in meters. A represents the area of ​​the flat region adjacent to the sampling point, in square meters; A represents the total area of ​​the region adjacent to the sampling point, in square meters. The average elevation of the area adjacent to the sampling point, in meters;

[0025] The area adjacent to a sampling point is the region containing a preset number of grid cells around the sampling point.

[0026] Formula for comprehensive weighted index K:

[0027] ;

[0028] Where a, b, and c are weighting coefficients, each ranging from 0 to 1, and can be adjusted according to the actual site conditions; Slope is the slope index; Gradient is the slope gradient index; Evenness is the flatness index.

[0029] S1-2C. Set the terrain suitability index threshold, compare the terrain suitability index calculated for each sampling point with its threshold, and generate continuous threshold contour lines through the moving block algorithm.

[0030] S1-2D and threshold contour lines divide the digital terrain model into several regions, and select regions with terrain suitability index not exceeding the threshold as target flat areas.

[0031] As a preferred option, in step S3, the specific method for arranging candidate anchor points at each group of building edges is as follows:

[0032] S3-1A. Along the long side of the building mass model, evenly distribute several candidate anchor points at the building edge according to the preset spacing.

[0033] S3-1B. Place several candidate anchor points on the building edge in areas where the building mass model has a clear traffic conversion function, including the entrances and exits of the main functional floors of the building mass model, traffic hubs or viewing platform locations.

[0034] Each candidate anchor point at the edge of a building includes elevation data and planar coordinate data of the anchor point's location.

[0035] As a preferred option, the elevation of candidate anchor points at the building edge is designed based on the ground elevation of the target flat area and the number of floors in the building volume model.

[0036] As a preferred option, in step S3, the specific method for arranging the candidate anchor points for each group of mountain connections is as follows:

[0037] On the contour line of the target mountain on the side corresponding to the building volume model, several candidate anchor points for connecting the mountain are generated at preset intervals; each candidate anchor point for connecting the mountain includes the elevation data, plane coordinate data and terrain suitability index data of the anchor point location.

[0038] As a preferred embodiment, in step S3, the method for generating the optimal anchor point pair for each group is as follows:

[0039] Execute a double loop traversal algorithm to calculate the quality value of anchor pairs. ,

[0040] ;

[0041] in, As an indicator of terrain suitability, The straight-line distance calculated between candidate anchor points at the building edge and candidate anchor points connecting to the mountain;

[0042] Filtering anchor pair quality values Minimum, and terrain suitability index The optimal anchor point pair is formed by candidate anchor points at the building edge and candidate anchor points connecting to the mountain that meet the threshold.

[0043] As a preferred option, in step S4, the n optimal anchor point pairs form n sets of streamline networks with different elevations. Each streamline network includes straight lines, the edge lines of the building volume model where the candidate anchor points for building edges are located, and the contour lines of the target mountain where the candidate anchor points for mountain connection are located.

[0044] Design connecting routes on the target mountain to connect and reach n groups of streamline networks at different elevations. These n streamline networks and the connecting routes together form a three-dimensional streamline network connecting the target mountain and buildings. The specific method for designing the connecting routes is as follows:

[0045] In the n streamline network, the two target mountain contour lines at adjacent elevations are vertically connected and transformed into a three-dimensional spatial curve that conforms to the terrain surface and whose slope meets the threshold, thus obtaining the connection route.

[0046] Preferably, step S5 is also included;

[0047] S5. Perform multi-dimensional evaluation on the base profile generated in step S2 and the three-dimensional streamline network generated in step S4, including earthwork excavation and filling volume calculation, ecological disturbance area statistics, pedestrian path slope comfort analysis, and connection network traffic efficiency simulation. Repeat steps S1 to S4 for iterative optimization to ensure that the base profile and three-dimensional streamline network meet the multi-dimensional evaluation.

[0048] A mountain architecture design system based on terrain fusion and anchor point path fitting is adopted, including:

[0049] The terrain data processing module is used to import and process terrain elevation data and build digital terrain models.

[0050] The building base contour optimization module is used to identify target flat areas and adjust the base contour.

[0051] The anchor point matching module is used for the layout, pairing, and selection of optimal anchor point pairs for candidate anchor points at building edges and for candidate anchor points connecting to mountains.

[0052] The 3D path fitting module is used for 3D streamline network construction, slope control, and obstacle avoidance.

[0053] The scheme evaluation and iteration module is used to perform multi-dimensional evaluation and iterative optimization of the base outline and three-dimensional streamline network of the building mass model;

[0054] The output module is used to output the base outline and three-dimensional streamline network of the building mass model.

[0055] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a mountain building design method based on terrain fusion and anchor point path fitting.

[0056] The present invention has the following beneficial effects:

[0057] 1. The terrain suitability index designed in this application analyzes the flatness of the target mountain area, which can plan a suitable flat area for building layout, reducing earthwork excavation and ecological landform modification.

[0058] 2. This application optimizes the building's outline to create a smooth transition and interlocking between the building's outline and the target flat area and surrounding terrain, enabling the building's form to adapt to terrain features and achieve precise integration between the building and the terrain.

[0059] 3. This application provides a path design method for anchor point path fitting. By setting up building edge anchor points and mountain connection anchor points, and performing optimal matching, it is possible to achieve dynamic fitting with the terrain surface and slope control.

[0060] In summary, this invention provides a closed-loop optimization process from terrain data to building foundation morphology and a rationalized three-dimensional pedestrian system design, achieving efficient integration of buildings with natural terrain and greatly reducing earthwork excavation and ecological landform modification. Attached Figure Description

[0061] Figure 1 A digital terrain model of the target mountain area.

[0062] Figure 2 This is a schematic diagram of threshold contour lines.

[0063] Figure 3 This is a schematic diagram of the target flat area.

[0064] Figure 4A schematic diagram showing the fitting of the building mass model into the target flat area.

[0065] Figure 5 A schematic diagram showing the layout of candidate anchor points connecting the building edge to the mountain.

[0066] Figure 6 A schematic diagram showing the connection and ranking of candidate anchor points between the building edge and the mountain.

[0067] Figure 7 This is a schematic diagram of three sets of streamline networks.

[0068] Figure 8 This is a schematic diagram of the final generated 3D streamline network.

[0069] The components are: 1. Target flat area; 2. Threshold contour lines; 3. Building volume model; 4. Candidate anchor points for building edges; 5. Candidate anchor points for mountain connection; 6. Optimal anchor point pair; 7. Straight line; 8. Edge line of building volume model; 9. Contour lines of target mountain; 10. Connection route. Detailed Implementation

[0070] The present invention will now be described in further detail with reference to the accompanying drawings and specific preferred embodiments.

[0071] In the description of this invention, it should be understood that the terms "left side," "right side," "upper part," "lower part," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. "First," "second," etc., do not indicate the importance of the components, and therefore should not be construed as a limitation of this invention. The specific dimensions used in this embodiment are only for illustrating the technical solution and do not limit the scope of protection of this invention.

[0072] The mountain building design method based on terrain fusion and anchor point path fitting includes the following steps.

[0073] S1. Identify and plan the target flat area 1 in the target mountainous area, preferably including the following steps.

[0074] S1-1. Constructing a digital terrain model: Construct a digital terrain model based on the terrain elevation data of the target mountain; wherein, the method for obtaining the terrain elevation data of the target mountain is preferably from geological survey data, including one or more of the following: laser point cloud data, UAV aerial survey image data, contour vector data, and geological borehole data. Figure 1 This is a digital terrain model of the target mountain area in this embodiment. The red line in the figure is the red line of the building site of the graphic information center.

[0075] The digital terrain model uses a spatial rectangular coordinate system, containing orthogonal X, Y, and Z axes, with the Z axis along the vertical direction.

[0076] S1-2. Calculate the terrain suitability index based on the digital terrain model, and plan the target flat area 1 on the digital terrain model according to the calculation results. Preferably, the following steps are included.

[0077] S1-2A. The terrain surface in the digital terrain model is meshed according to a preset mesh size to form several meshes, and each vertex of the mesh is regarded as a sampling point. The preset mesh size is preferably 0.25 meters.

[0078] S1-2B Calculate the terrain suitability index for each sampling point. The terrain suitability index is the slope index, the gradient index, the evenness index, or the comprehensive weighted index K.

[0079] Slope index: The angle between the normal of one of the grids where the sampling point is located and the Z-axis.

[0080] Gradient: The derivative of the slope index.

[0081] Evenness, the flatness index, is calculated using the following formula:

[0082]

[0083] in, For flatness; This represents the maximum topographic elevation in the vicinity of the sampling point, in meters. This represents the minimum topographic elevation in the vicinity of the sampling point, in meters. A represents the area of ​​the flat region adjacent to the sampling point, in square meters; A represents the total area of ​​the region adjacent to the sampling point, in square meters. This represents the average elevation of the area adjacent to the sampling point, in meters.

[0084] The area adjacent to the sampling point is the area of ​​a preset number of grids around the sampling point, such as a 5x5 grid area around the sampling point.

[0085] The formula for the comprehensive weighted index K is:

[0086] ;

[0087] Where a, b, and c are weighting coefficients, each ranging from 0 to 1, and can be adjusted according to the actual site conditions; Slope is the slope index; Gradient is the slope gradient index; Evenness is the flatness index.

[0088] S1-2C. Set the terrain suitability index threshold, compare the terrain suitability index calculated for each sampling point with its threshold, and generate continuous threshold contour lines 2 through the moving block algorithm.

[0089] S1-2D and threshold contour lines 2 divide the digital terrain model into several regions, and select regions with terrain suitability index not greater than the threshold as target flat areas 1. Figure 3 The black area in the middle is the target flat area 1 selected in this embodiment.

[0090] In the digital terrain model, based on parametric programming, continuous flat areas with terrain suitability indices less than a certain value are identified as target flat areas 1. Specifically, the moving squares algorithm is used to traverse the data grid, compare the terrain suitability index of each sampling point with its threshold, and connect all points with the same threshold to form a closed threshold contour line 2. Finally, the generated two-dimensional threshold contour line 2 is reprojected onto the surface of the digital terrain model.

[0091] Figure 2 This is a schematic diagram of the threshold contour lines in this embodiment. The red line in the diagram represents the generated threshold contour line 2. The area delineated by threshold contour line 2 can be evaluated, and the set terrain suitability index threshold can be further adjusted and optimized.

[0092] S2. Within the target flat area 1, select a layout area that meets the requirements for the building base area and length and width dimensions. Import the building volume model 3 (such as the preliminary functional volume model of the building) that meets the functional requirements into the layout area, and adjust and optimize the base outline of the building volume model 3. Figure 4 This is a schematic diagram of the location and fitting of the graphic information center building volume model 3 into the target flat area 1 in this embodiment. The graphic information center building volume model 3 is divided into three parts, which are located in different areas of the target flat area 1.

[0093] Specifically, with the goal of confining the building to the target flat area 1, the base outline of the building volume model 3 is adjusted so that the base outline matches the range of the target flat area 1 while ensuring functional requirements, thereby achieving precise integration of the building and the terrain.

[0094] S3. Anchor point layout and pairing, preferably including the following steps.

[0095] S3-1, Layout of candidate anchor points 4 at building edges: Layout n groups of candidate anchor points 4 at different elevations along the edge of the building mass model (representing possible points on the building that may connect to the mountain), n≥1; the elevations of the candidate anchor points 4 within each group are the same. The layout method for candidate anchor points 4 at building edges includes:

[0096] S3-1A. Along the long side of the building mass model 3 (based on the feature of the building being a strip layout, along its long side), evenly distribute several candidate anchor points 4 at preset intervals (e.g., 15 meters).

[0097] S3-1B. Based on the analysis of the external connection needs and external landscape pedestrian flow organization of the building spatial layout, several candidate anchor points 4 of the building edge are set up in places where the building mass model 3 has a clear traffic conversion function, including the entrances and exits of the main functional floors of the building mass model 3, the traffic hubs and the viewing platform locations.

[0098] The elevation of candidate anchor points 4 at the building edge is set according to the ground elevation of the target flat area, the number of floors in the building volume model, and design requirements. Specifically: if the building is one floor, the anchor point elevation can be the ground elevation, and a set of candidate anchor points 4 at this elevation is generated; if the building is two floors, the anchor point elevation can include the ground elevation and the second floor elevation, and a set of candidate anchor points 4 at each of the two elevations is generated; the same derivation is performed for buildings with three or more floors.

[0099] Each candidate anchor point 4 at the edge of a building includes elevation data and planar coordinate data of the anchor point's location.

[0100] S3-2, Setting up candidate anchor points 5 for mountain connection: Generate target mountain contour lines on the digital terrain model with the same elevation as each group of candidate anchor points 4 for building edge, and set up a group of candidate anchor points 5 for mountain connection on the corresponding target mountain contour lines. A total of n groups of candidate anchor points 5 for mountain connection are set up. Preferably, the following steps are included.

[0101] S3-2A. Generate target mountain contour lines 9 in the digital terrain model that are consistent with the elevation of candidate anchor points 4 at the building edge.

[0102] The specific method is as follows: set the slice height of the target mountain connecting layer, construct a horizontal slice plane and perform a Boolean operation with the terrain Brep to obtain the intersection line of the terrain slice, and obtain the contour line 9 of the target mountain, which is used to identify the potential connectable areas on the mountain.

[0103] S3-2B. On the contour line 9 of the target mountain on one side of the building mass model 3, generate several candidate anchor points 5 for connecting mountains according to a preset interval. Each candidate anchor point 5 for connecting mountains includes the elevation data, plane coordinate data and terrain suitability index data of the anchor point location.

[0104] S3-3, Optimal Anchor Pair Matching: Pair each candidate anchor point 4 for building edges with the corresponding candidate anchor point 5 for mountain connection in each group, generating n optimal anchor point pairs 6 that meet the terrain suitability index threshold and have the shortest straight-line distance between candidate anchor points 4 for building edges and candidate anchor points 5 for mountain connection. The preferred method for generating optimal anchor point pairs 6 for each group is as follows.

[0105] Calculate the straight-line distance between candidate anchor point 4 at the building edge and candidate anchor point 5 connecting to the mountain, execute a double loop traversal algorithm, and calculate the quality value of the anchor point pair. ,

[0106] ;

[0107] in, As an indicator of terrain suitability, The straight-line distance between candidate anchor point 4 at the building edge and candidate anchor point 5 connecting to the mountain is calculated.

[0108] Filtering anchor pair quality values Minimum, and terrain suitability index Candidate anchor points 4 (building edges) and 5 (mountain connection candidates) that meet a threshold (e.g., slope less than 15% of the maximum slope threshold) form optimal anchor point pairs 6. Unsuitable anchor points are automatically removed, generating one optimal anchor point pair for each group, for a total of n optimal anchor point pairs 6. Figure 5 As shown, the gray dots are candidate anchor points 4 for the building edge, and the purple dots are candidate anchor points 5 for the mountain connection. Since the three parts of the building mass model 3 of the graphic information center are located in different flat areas with different ground elevations, a total of three sets of anchor points are set up in this embodiment.

[0109] Figure 6 In this embodiment, the anchor point is used to determine the quality value. A diagram showing the sorting of all anchor point pairs. Figure 6 The numbers in the circles represent the order of candidate anchor points 4 for building edges and candidate anchor points 5 for mountain connections. The three anchor point pairs with a number of 0 in the circles are the optimal anchor point pairs 6 in this embodiment.

[0110] S4. Connect all candidate anchor points 4 (building edge) and candidate anchor points 5 (mountain connection) from the n optimal anchor point pairs 6 with straight lines 7, forming a three-dimensional streamline network connecting the target mountain and the building. The n optimal anchor point pairs 6 form n sets of streamline networks at different elevations. Each streamline network includes straight line 7, the edge line 8 of the building volume model where the candidate anchor points are located, and the contour line 9 of the target mountain where the candidate anchor points are located. Straight line 7 is used for the subsequent design of the aerial corridor between the building and the mountain.

[0111] A connecting route 10 is designed on the target mountain to connect and reach n groups of streamline networks at different elevations. These n streamline networks, together with connecting route 10, form a three-dimensional streamline network connecting the target mountain and buildings. The design method for connecting route 10 is as follows: two contour lines 9 at adjacent elevations of the target mountain in the n streamline networks are perpendicularly connected and transformed into a three-dimensional spatial curve that conforms to the terrain surface and whose slope meets a threshold, thus obtaining connecting route 10. Connecting route 10 serves as the centerline for the design of pedestrian corridors or trails on the target mountain.

[0112] like Figure 7 As shown, the blue line is the edge line 8 of the building volume model, the yellow line is the contour line 9 of the target mountain, the red line connecting the edge line 8 of the building volume model and the contour line 9 of the target mountain is the connecting line 7 of the three optimal anchor point pairs 6, and the white line is the connecting line of the two target mountain contour lines 9 at adjacent elevations; this embodiment forms three sets of streamline networks, corresponding to the three parts of the building volume model 3 of the graphic information center.

[0113] The specific design method for connecting route 10 is as follows: On the mountain contour lines and building edge lines, find two adjacent mountain contour lines at 50m intervals and connect them perpendicularly (e.g., ...). Figure 7 (Five white lines in the middle), with a required slope of 10%. Use Rhino's curve fitting tool to generate a 3D curve that strictly fits the terrain surface and has a continuously varying slope, such as... Figure 8 As shown, it serves as the centerline of the pedestrian corridor or walkway.

[0114] During the fitting process, the slope of the three-dimensional spatial curve is detected and adjusted in real time to ensure that the maximum instantaneous slope of all three-dimensional spatial curves generated by the fitting does not exceed 10%. Collision detection and automatic avoidance are performed on obstacles in the path and the site. Existing vegetation and rock structures in the site are marked as restricted areas in the digital terrain model, and collision detection and detour are performed during the curve fitting process.

[0115] S5. Evaluation and iterative optimization of the design scheme.

[0116] The base profile generated in step S2 and the three-dimensional streamline network generated in step S4 are evaluated in multiple dimensions, including earthwork excavation and filling volume calculation, ecological disturbance area statistics, pedestrian path slope comfort analysis, and connection network traffic efficiency simulation. Steps S1 to S4 are repeated for iterative optimization to ensure that the base profile and three-dimensional streamline network meet the multi-dimensional evaluation requirements.

[0117] A mountain architecture design system based on terrain fusion and anchor point path fitting includes:

[0118] The terrain data processing module is used to import and process terrain elevation data to build digital terrain models.

[0119] The building base profile optimization module is used to identify the target flat area 1 and adjust the base profile.

[0120] The anchor point matching module is used for setting up candidate anchor points 4 for building edges and candidate anchor points 5 for mountain connection, and matching the optimal anchor point pair 6.

[0121] The 3D path fitting module is used for 3D streamline network construction, slope control, and obstacle avoidance.

[0122] The scheme evaluation and iteration module is used to perform multi-dimensional evaluation and iterative optimization of the base outline and three-dimensional streamline network of the building mass model.

[0123] The output module is used to output the base outline and three-dimensional streamline network of the building mass model.

[0124] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a mountain building design method based on terrain fusion and anchor point path fitting.

[0125] Example 1

[0126] This embodiment uses the design of a graphic information center building and its surrounding landscape in a mountainous campus as an example to illustrate the implementation process of the present invention. In this embodiment, the slope index is selected as the terrain suitability index for calculation.

[0127] Step 1: Identify and plan the target flat area within the target mountainous terrain.

[0128] 1. Data Acquisition and Modeling: The project team first acquired realistic 3D point cloud data of the site using UAV oblique photogrammetry technology and integrated it with borehole data from the geological survey report. This data was imported into Rhino 3D software, and data processing scripts were written using the Grasshopper parametric platform to generate a high-precision (mesh accuracy of 0.25 meters) Digital Terrain Model (DTM), such as... Figure 1 As shown.

[0129] 2. Designation of Target Flat Area 1: Based on the digital terrain model, a systematic quantitative analysis of the slope and gradient of the mountain was conducted. By controlling the slope value, boundary lines and areas with slopes less than a specified value were formed. The analysis results showed that there were two continuous terraces with slopes less than 15% and gentle curvatures on the southwest and south-facing slopes of the mountain, with areas of approximately 3500 square meters and 4000 square meters respectively. These two areas were designated as "Target Flat Area 1".

[0130] Step 2: Setting up the building massing model 3

[0131] Based on comprehensive factors (including required area and depth, planning and design, traffic, vegetation, etc.), the layout area of ​​building volume model 3 is determined to minimize excavation. The preliminary building volume model 3 of the graphic information center is imported into the site. With the goal of constraining the building within the target flat area 1, the base outline of the building functional volume model is adjusted so that the base outline, while ensuring functional requirements (including the area requirements and aspect ratio requirements of each functional space), matches the range of the target flat area 1, achieving precise integration of the building with the terrain.

[0132] Step 3: Anchor point placement and pairing

[0133] Based on the building's strip-shaped layout, along its long side, a set of 12 candidate anchor points 4 (in total) are automatically generated at certain intervals (e.g., 15 meters) along the outer edges of the three main floors: the ground floor, the second floor, and the roof floor. Simultaneously, on the hillside, a set of 20 candidate anchor points 5 (in total) are generated within the corresponding elevation range on both sides of the building to connect to the hillside.

[0134] The algorithm performs a double loop traversal to calculate the straight-line distance 7 between candidate anchor points 4 at the building edge and candidate anchor points 5 at the mountain connection. It selects two anchor points with the shortest distance and whose terrain suitability index meets the requirements (such as slope less than the maximum slope threshold of 15%) and pairs them together. It automatically removes anchor points that do not meet the requirements and outputs the optimal anchor point pair 6 that meets the geometric constraints. Each optimal anchor point pair contains one candidate anchor point 4 at the building edge and one candidate anchor point 5 at the mountain connection.

[0135] Step 4: Constructing the Flow Network and Connection Routes

[0136] Connect the candidate anchor point 4 of the building edge in each optimal anchor point pair 6 with the candidate anchor point 5 of the mountain connection by a straight line 7; for each optimal anchor point pair 6: the straight line 7, the edge line 8 of the building volume model where the candidate anchor point 4 of the building edge is located, and the contour line 9 of the target mountain where the candidate anchor point 5 of the mountain connection is located together form a set of streamline network.

[0137] A connecting route 10 is designed on the target mountain as a pedestrian corridor or trail, connecting and reaching the three sets of circulation networks. During the fitting process, the script calculates the instantaneous slope at each point on the curve in real time. Once the slope of a certain segment exceeds the preset upper limit of 10%, the system will automatically insert a new control point on that segment of the curve and adjust the curve shape, reducing the slope by increasing the meandering length until the requirements are met. The canopy projection range (radius 3-5 meters) of existing large trees that need to be preserved in the site is marked on the terrain as "obstacle cylinders". Collision detection is performed during curve fitting. The circulation network is further interconnected to ultimately form a complete three-dimensional circulation network connecting the mountain and the buildings. This method realizes the scientific placement of buildings in the mountain and the path link between buildings and the mountain, greatly reducing earthwork excavation and ecological landform modification.

[0138] like Figure 8 As shown, five connecting routes 10 (five white lines) are obtained, which seamlessly connect the two floors of the building to the landscape belts on both sides of the mountain. The slope of these connecting routes 10 is strictly controlled within 10% (less than 8% in the main sections), perfectly conforming to the terrain and avoiding all important trees. The final generated 3D streamline network model can be directly used for structural design, engineering quantity calculation (such as walkway length, railing length), and construction layout.

[0139] Step 5: Solution Evaluation and Iteration

[0140] By developing a Grasshopper data output component, the key performance indicators (KPIs) of this solution are automatically calculated: Calculations show that compared to conventional large-scale excavation and leveling solutions, this embodiment reduces earthwork excavation by approximately 70%; the average slope of connecting route 10 is only 6.2%; and the transplantation or felling of eight existing large trees is completely avoided. The design team can iteratively optimize based on this quantitative data until the optimal balance between ecology, function, and economy is achieved.

[0141] This embodiment fully demonstrates the entire process from data to analysis, from algorithm generation to optimization evaluation, and verifies the effectiveness and superiority of the method of the present invention in achieving high-precision, low-disturbance integrated design of mountain architecture and landscape.

[0142] This invention is applicable to building layout, landscape connection and pedestrian network generation under complex terrain conditions such as mountains and hills, so as to achieve minimal surface transformation of mountainous and hilly landforms.

[0143] The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the specific details in the above embodiments. Within the scope of the technical concept of the present invention, various equivalent transformations can be made to the technical solutions of the present invention, and these equivalent transformations all fall within the protection scope of the present invention.

Claims

1. A mountain building design method based on terrain fusion and anchor point path fitting, characterized in that, Includes the following steps: S1. Identify and plan the target flat area within the target mountainous terrain, including the following steps: S1-1. Construct a digital terrain model based on the topographic elevation data of the target mountain. S1-2. Calculate the terrain suitability index based on the digital terrain model, and plan the target flat area on the digital terrain model according to the calculation results. S2. Select a layout area within the target flat area that meets the requirements for the building base area and length and width dimensions, import the building volume model into the layout area, and adjust the base outline of the building volume model to match the base outline with the target flat area. S3. Arrange n groups of candidate anchor points with different elevations along the edge of the building mass model, n≥1; the elevations of the candidate anchor points in each group are the same. Generate target mountain contour lines on the digital terrain model that are at the same elevation as each group of candidate anchor points for building edges, and set up a group of candidate anchor points for mountain connection on the corresponding target mountain contour lines, for a total of n groups of candidate anchor points for mountain connection; Pair the candidate anchor points at the building edge with the corresponding candidate anchor points connecting to the mountain in each group to generate n optimal anchor point pairs that meet the terrain suitability index threshold and have the shortest straight-line distance between the candidate anchor points at the building edge and the candidate anchor points connecting to the mountain. The specific method for generating the optimal anchor point pair for each group is as follows: Execute a double loop traversal algorithm to calculate the quality value of anchor pairs. , ; in, As an indicator of terrain suitability, The straight-line distance calculated between candidate anchor points at the building edge and candidate anchor points connecting to the mountain; Filtering anchor pair quality values Minimum, and terrain suitability index The optimal anchor point pair is formed by candidate anchor points at the building edge and candidate anchor points connecting to the mountain that meet the threshold. S4. Connect the candidate anchor points at the building edge and the candidate anchor points connecting the mountain in the n optimal anchor point pairs with straight lines to form a three-dimensional streamline network connecting the target mountain and the building.

2. The mountain building design method based on terrain fusion and anchor point path fitting according to claim 1, characterized in that, Step S1-2 specifically includes the following steps: S1-2A: The terrain surface in the digital terrain model is meshed according to the preset mesh size to form several meshes, and the vertex of each mesh is regarded as a sampling point; S1-2B, Calculate the terrain suitability index for each sampling point; the terrain suitability index is the slope index, slope gradient index, flatness index, or a comprehensive weighted index K; Slope index: The angle between the normal of one of the grids where the sampling point is located and the Z-axis; Slope gradient index: the derivative of the slope index; Flatness index formula: ; in, For flatness; This represents the maximum topographic elevation in the vicinity of the sampling point, in meters. This represents the minimum topographic elevation in the vicinity of the sampling point, in meters. A represents the area of ​​the flat region adjacent to the sampling point, in square meters; A represents the total area of ​​the region adjacent to the sampling point, in square meters. The average elevation of the area adjacent to the sampling point, in meters; The area adjacent to a sampling point is the region containing a preset number of grid cells around the sampling point. Formula for comprehensive weighted index K: ; Where a, b, and c are weighting coefficients, each ranging from 0 to 1, and can be adjusted according to the actual site conditions; Slope is the slope index; Gradient is the slope gradient index; Evenness is the flatness index. S1-2C. Set the terrain suitability index threshold, compare the terrain suitability index calculated for each sampling point with its threshold, and generate continuous threshold contour lines through the moving block algorithm. S1-2D and threshold contour lines divide the digital terrain model into several regions, and select regions with terrain suitability index not exceeding the threshold as target flat areas.

3. The mountain building design method based on terrain fusion and anchor point path fitting according to claim 1, characterized in that, In step S3, the specific method for setting up candidate anchor points at the edge of each building is as follows: S3-1A. Along the long side of the building mass model, evenly distribute several candidate anchor points at the building edge according to the preset spacing. S3-1B. Place several candidate anchor points on the building edge in areas where the building mass model has a clear traffic conversion function, including the entrances and exits of the main functional floors of the building mass model, traffic hubs or viewing platform locations. Each candidate anchor point at the building edge includes elevation data and planar coordinate data of the anchor point's location.

4. The mountain building design method based on terrain fusion and anchor point path fitting according to claim 1, characterized in that, The elevation of candidate anchor points at the building edge is designed based on the ground elevation of the target flat area and the number of floors in the building volume model.

5. The mountain building design method based on terrain fusion and anchor point path fitting according to claim 1, characterized in that, In step S3, the specific method for arranging candidate anchor points for each group of mountain connections is as follows: On the contour line of the target mountain on the side corresponding to the building volume model, several candidate anchor points for connecting the mountain are generated at preset intervals; each candidate anchor point for connecting the mountain includes the elevation data, plane coordinate data and terrain suitability index data of the anchor point location.

6. The mountain building design method based on terrain fusion and anchor point path fitting according to claim 1, characterized in that, In step S4, the n optimal anchor point pairs form n groups of streamline networks at different elevations. Each streamline network includes straight lines, the edge lines of the building volume model where the candidate anchor points for building edges are located, and the contour lines of the target mountain where the candidate anchor points for mountain connections are located. Design connecting routes on the target mountain to connect and reach n groups of streamline networks at different elevations. These n streamline networks and the connecting routes together form a three-dimensional streamline network connecting the target mountain and buildings. The specific method for designing the connecting routes is as follows: In the n streamline network, the two target mountain contour lines at adjacent elevations are vertically connected and transformed into a three-dimensional spatial curve that conforms to the terrain surface and whose slope meets the threshold, thus obtaining the connection route.

7. The mountain building design method based on terrain fusion and anchor point path fitting according to claim 1, characterized in that, It also includes step S5; S5. Perform multi-dimensional evaluation on the base profile generated in step S2 and the three-dimensional streamline network generated in step S4, including earthwork excavation and filling volume calculation, ecological disturbance area statistics, pedestrian path slope comfort analysis, and connection network traffic efficiency simulation. Repeat steps S1 to S4 for iterative optimization to ensure that the base profile and three-dimensional streamline network meet the multi-dimensional evaluation.

8. A mountain building design system based on terrain fusion and anchor point path fitting, characterized in that, The mountain building design method based on terrain fusion and anchor point path fitting as described in any one of claims 1-7 includes: The terrain data processing module is used to import and process terrain elevation data and build digital terrain models. The building base contour optimization module is used to identify target flat areas and adjust the base contour. The anchor point matching module is used for the layout, pairing, and selection of optimal anchor point pairs for candidate anchor points at building edges and for candidate anchor points connecting to mountains. The 3D path fitting module is used for 3D streamline network construction, slope control, and obstacle avoidance. The scheme evaluation and iteration module is used to perform multi-dimensional evaluation and iterative optimization of the base outline and three-dimensional streamline network of the building mass model; The output module is used to output the base outline and three-dimensional streamline network of the building mass model.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the mountain building design method based on terrain fusion and anchor point path fitting as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • BIM standardized modeling method for high-speed railway swivel bridge

    CN111310271A

  • Mountain area building site selection method and system based on seismic motion terrain effect

    CN116992539A