Method for calculating and visualizing analysis of landscape covering filling pad based on gh
By using the Grasshopper plugin in Rhino software for parametric analysis, the problems of large calculation errors and cumbersome calculations for soil filling layers in roof landscape construction were solved, enabling accurate calculations and visual analysis, and improving construction efficiency and quality.
Patent Information
- Application Number
- CN202411291628.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-09-14
AI Technical Summary
In traditional roof landscaping construction, the calculation of the thickness and number of layers of the soil filling layer has large errors and the process is cumbersome, affecting work efficiency and quality.
Parametric analysis was performed in Rhino software using the Grasshopper plugin. An algorithm program was written to generate a mesh region with clear boundaries, and the subbase was grouped and its thickness was calculated. The thickness and number of subbase layers were calculated using formulas. Combined with color differentiation and data processing, construction guidance data was output.
It improves the work efficiency and quality of designers, enables accurate calculation and visual analysis of soil filling layers, and assists in the calculation and adjustment of material quantities on the construction site.
Smart Images

Figure CN119249554B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of building construction, in particular to a landscape soil covering filling cushion layer calculation and visual analysis method based on GH. BACKGROUND
[0002] In the traditional roof landscape construction process, the thickness and layer number of the soil covering filling cushion layer are calculated by manual methods, which has the problems of large error and complicated calculation process, and seriously affects the work efficiency and work quality.
[0003] Grasshopper (GH for short) is a visual programming language, which runs based on the Rhino platform and is one of the mainstream software in the data design direction, and also has an overlapping area with interactive design. Compared with the traditional design method, GH has two biggest characteristics: one is that the computer can automatically generate results according to the proposed algorithm by inputting instructions, and the algorithm results are not limited to models, video streaming media and visual schemes. The second is that the mechanical repeated operation and a large number of logical evolution processes can be replaced by the loop operation of the computer, and the scheme adjustment can also directly obtain the modified results by modifying the parameters, so a landscape soil covering filling cushion layer calculation and visual analysis method based on GH is needed to improve the work efficiency and work quality of the designers. SUMMARY
[0004] In order to overcome the defects in the prior art, the application provides a landscape soil covering filling cushion layer calculation and visual analysis method based on GH, which calculates and visually analyzes the layer number and thickness of the filling cushion layer through parameterized analysis, and shows the surface area range of each layer number, thereby effectively improving the work efficiency and work quality of the designers.
[0005] In order to achieve the above purpose, the application provides a landscape soil covering filling cushion layer calculation and visual analysis method based on GH, which comprises the following steps:
[0006] Importing a CAD drawing of landscape soil covering into Rhino software and loading a Grasshopper plug-in;
[0007] Selecting different sampling points on the bottom plate corresponding to the landscape soil covering, grouping the cushion layer according to the layer number of the cushion layer corresponding to the positions of the sampling points, and generating a grid surface area with clear boundaries by writing an algorithm program through the Grasshopper plug-in;
[0008] Defining parameters of the landscape soil covering, and calculating the thickness of the cushion layer corresponding to each sampling point by inputting different parameter values, wherein the parameters defined when the landscape soil covering is defined include:
[0009] Critical slope of the bottom plate ;
[0010] Total thickness of earthwork above and below critical slope ;
[0011] Total thickness of crushed stone cushion ;
[0012] Total thickness of bottom plate and cushion ;
[0013] The single-layer thickness d of the cushion material provided by the manufacturer is taken as the thickness of the cushion corresponding to each sampling point in the calculation, and the calculation method includes:
[0014] The bottom plate surface in the grid surface domain is taken as , and the vertex in the grid surface domain is taken as the ranging starting point , the slope i of each sampling point position is calculated, and compared with the critical slope of the bottom plate , so as to divide the slope surface into gentle slope area and steep slope area;
[0015] The earthwork surface skin of the gentle slope area is moved downward along the plumb direction by a distance to generate a cushion upper surface calculation surface , or the earthwork surface skin of the steep slope area is moved by a distance to generate another cushion upper surface calculation surface ;
[0016] A ray is drawn along the normal direction at the point , with the ranging starting point as the starting point, and intersects the gentle slope area cushion upper surface calculation surface at the ranging endpoint , or intersects the steep slope area another cushion upper surface calculation surface at the ranging endpoint ;
[0017] The length of the line segment between the ranging endpoint and the ranging starting point is taken as , which is substituted into formula one to calculate the cushion thickness, and formula two to calculate the number of cushion layers;
[0018] (Formula One) (Formula Two)
[0019] Wherein, d is the cushion thickness, and X is the number of cushion layers;
[0020] Different colors are used to partition different groups of cushions, and various data about the cushion material calculation of each partition are obtained through data processing, and output to guide the on-site construction.
[0021] Preferably, when the algorithm program is written through the Grasshopper plug-in to generate the mesh surface domain with clear boundaries, the point cloud of each sampling point is generated into a Delaunay triangle through the algorithm, the boundary length is screened, and the length screening threshold is controlled through the accuracy analysis of the point cloud, and the triangle boundary exceeding the threshold is removed to obtain a better fitting contour boundary.
[0022] Preferably, when the data about the calculation amount of the cushion material corresponding to each partition is obtained through data processing and output to guide the on-site construction, the obtained data includes:
[0023] The histogram of the area distribution of the number of layers of each partition cushion;
[0024] The total amount of cushion material;
[0025] The histogram of the proportion of the number of layers
[0026] Due to the adoption of the above technical solutions, the present application has the following beneficial effects:
[0027] 1) The number of filling cushion layers is calculated and visually analyzed through the Grasshopper parameterized analysis programming group, which is used to show the range of each layer number, to timely adjust the over-thick area of the cushion layer, and to calculate the total amount of the cushion material, thereby assisting the calculation.
[0028] 2) By inputting the parameters, the XPS cushion thickness corresponding to each sampling point on the concrete bottom plate can be calculated, the surface domain with clear boundaries can be generated according to the layer grouping, and the different colors with high contrast can be color-distinguished, and the CAD drawing can be imported, thereby facilitating the construction of the site. BRIEF DESCRIPTION OF DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0030] Figure 1 The operation flowchart of the GH-based landscape covering filling cushion calculation and visual analysis method of the present application.
[0031] Figure 2 The display interface diagram of the GH-based landscape covering filling cushion calculation and visual analysis method of the present application, which distinguishes the grid surface domain by color. DETAILED DESCRIPTION
[0032] The specific embodiments of the present application will be further described below with reference to the drawings. It should be noted that the description of these embodiments is intended to help understand the present application, but does not constitute a limitation of the present application. In addition, the technical features involved in the various embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.
[0033] Please refer to Figure 1 and Figure 2 , the embodiment of the present application provides a kind of based on GH's landscape covering soil filling pad calculation and visual analysis method, comprising the following steps:
[0034] Import the CAD drawing of landscape covering soil in Rhino software, and load Grasshopper plug-in;
[0035] Different sampling points are selected on the bottom plate corresponding to landscape covering soil, the pad is grouped according to the corresponding pad layer number of each sampling point position, and the algorithm program is written through Grasshopper plug-in to generate the grid face domain with clear boundary;
[0036] Parameter definition is carried out on landscape covering soil, and the thickness of the pad corresponding to each sampling point is calculated by inputting different parameter values;
[0037] Different colors are used to partition the pad of different groups, and various data about the calculation amount of pad material corresponding to each partition are obtained through data processing, and output is guided on-site construction.
[0038] Further, when the parameters of landscape covering soil are defined, the parameters defined include:
[0039] Critical slope of bottom plate ;
[0040] Total thickness of critical slope upper and lower covering soil and total thickness of gravel pad 、 ;
[0041] Total thickness of bottom plate and pad ;
[0042] The single-layer thickness d of pad material provided by the manufacturer.
[0043] More preferably, when the thickness of the pad corresponding to each sampling point is calculated, the calculation method includes:
[0044] Taking the bottom plate surface in grid face domain as , taking the vertex in grid face domain as the starting point of distance measurement , the slope i of each sampling point position is calculated, and compared with the critical slope of bottom plate , to divide the slope surface into gentle slope area and steep slope area;
[0045] moving the earthwork surface skin of the gentle slope area downward along the plumb direction by a distance to generate a first cushion upper surface calculation plane , or moving the earthwork surface skin of the steep slope area by a distance to generate a second cushion upper surface calculation plane ;
[0046] to measure the distance starting point , as the starting point, draw a ray along the normal direction at the point, intersecting the first cushion upper surface calculation plane of the gentle slope area at the distance measuring end point , or intersecting the second cushion upper surface calculation plane of the steep slope area at the distance measuring end point ; ;
[0047] the length of the line segment between the distance measuring end point and the distance measuring starting point is , which is substituted into formula one to calculate the cushion thickness and formula two to calculate the number of cushion layers;
[0048] (formula one)
[0049] (formula two)
[0050] wherein is the cushion thickness, and X is the number of cushion layers.
[0051] It should be noted that when the algorithm program is written through the Grasshopper plug-in to generate a mesh surface area with clear boundaries, the point cloud of each sampling point is generated into a Delaunay triangle through the algorithm, the boundary length is screened, and the length threshold is controlled by analyzing the accuracy of the point cloud, and the triangle boundary exceeding the threshold is removed to obtain a better fitting contour boundary. Preferably, when the data about the amount of each partition corresponding to the cushion material is obtained through data processing and output to guide the on-site construction, the obtained data includes: a histogram of the number of layers of the cushion in each partition area distribution; total cushion material consumption; a histogram of layer distribution proportion, which can be more intuitively judged according to the color difference of the required number of layers of the cushion at each sampling point, and the over-thick area of the cushion can be adjusted in time, and at the same time, through the above intuitive data, it can be used to assist in calculation and overall decision-making.
[0052] The embodiments of the application are described in detail above with reference to the drawings, but the application is not limited to the described embodiments. For those skilled in the art, various changes, modifications, replacements and variations of these embodiments can be made without departing from the principles and spirits of the application, and still fall within the protection scope of the application.
Claims
1. A method for GH-based landscape earthwork fill pad computation and visualization analysis, characterized in that, The method comprises the following steps: Import the CAD drawing of the landscape covering soil into Rhino software and load the Grasshopper plug-in; Select different sampling points on the corresponding base plate of the landscape covering soil, group the cushion layer according to the corresponding cushion layer number of each sampling point position, and generate a mesh surface domain with clear boundaries through the algorithm program written by the Grasshopper plug-in; Define the parameters of the landscape covering soil, and calculate the thickness of the cushion layer corresponding to each sampling point by inputting different parameter values. When defining the parameters of the landscape covering soil, the defined parameters include: Floor critical slope ; Total thickness of earthwork above and below critical grade and total thickness of crushed stone cushion 、 ; Total thickness of base plate and cushion ; The single-layer thickness d of the cushion layer material provided by the manufacturer. When calculating the thickness of the cushion layer corresponding to each sampling point, the calculation method includes: The grid surface domain in the bottom plate surface is taken as , the grid vertex in the grid surface domain is taken as the ranging starting point , the slope i of each sampling point position is calculated, and compared with the critical slope of the bottom plate , so as to divide the slope surface into gentle slope area and steep slope area; moving the earth cover skin in the gentle slope area downward along the plumb direction by a distance to generate a first mat top surface calculation plane or moving the earth cover skin in the steep slope area by a distance to generate a second mat top surface calculation plane ; Start point of ranging , along , draw a ray in the normal direction at the point, intersect the upper surface of the cushion layer in the gentle slope area End point of ranging , or intersect the upper surface of the other cushion layer in the steep slope area End point of ranging ; The length of the line segment between the ranging end point and the ranging start point is intercepted as , which is substituted into formula one to calculate the thickness of the cushion layer and formula two to calculate the number of layers of the cushion layer. (Formula One) (Formula Two) wherein is the mat thickness, X is the number of mat layers; Different colors are used to partition the cushion layer of different groups, and each data about the calculation amount of the cushion layer material corresponding to each partition is obtained through data processing, and is output to guide the on-site construction.
2. The GH-based landscape grading pad computation and visualization analysis method of claim 1, wherein, When the algorithm program is written by the Grasshopper plug-in to generate a mesh surface domain with clear boundaries, the point cloud of each sampling point is generated into a Delaunay triangle through the algorithm, the boundary length is screened, and the length screening threshold is controlled through the accuracy analysis of the point cloud. The triangle boundary exceeding the threshold is removed to obtain a better fitting contour boundary.
3. The GH-based landscape grading pad computation and visualization analysis method of claim 1, wherein, When each data about the calculation amount of the cushion layer material corresponding to each partition is obtained through data processing and is output to guide the on-site construction, the obtained data includes: The area distribution histogram of the number of layers of each partition cushion layer; The total amount of cushion layer material; The layer number distribution proportion histogram.
Citation Information
Patent Citations
Calculation method of soil engineering grid tensile force inside multilayer ribbed cushion layer
CN104573214A
Detachable multi-layer reinforced cushion model plate test device and method
CN115387401A