Mountain trestle modeling method and device
By setting and processing plank road parameter variables, generating visual geometric data and retrieving slope specifications, it solves the problems of low efficiency and high cost in the design of mountain plank roads in the existing technology, achieves more efficient design and construction drawing stage inspection, and reduces the rework rate. .
Patent Information
- Application Number
- CN202410857482.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-06
AI Technical Summary
The existing mountain plank road design process has increased time costs and low efficiency in the early and late stages, resulting in an overly conceptual plan, poor integration of construction drawing design and early stage plans, poor feedback information, and a high rework rate, which increases additional costs in the later stage.
Propose a mountain plank road modeling method and device. By setting plank road parameter variables, the overall shape, size and structure are formed, visual geometric data is generated, and whether it meets the slope engineering specifications is retrieved, the design process is optimized, and the efficiency and accuracy of the early and late stages are improved. .
It optimizes the control before and after the plank road design, avoids dimensional errors, improves the detection efficiency at the construction drawing stage, saves later costs, and achieves more efficient slope specification solutions.
Smart Images

Figure CN118607254A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of computing technology, and in particular relates to a mountain plank road modeling method and device. Background Art
[0002] The design of mountain plank roads generally includes: on-site investigation and analysis, determination of design principles, conceptual design, detailed design, environmental impact assessment, construction drawing design and other processes. Concept design and construction drawing design are two interrelated and sequential stages in the design process of mountain plank roads. The concept design stage establishes the basic shape, design concept and functional requirements of the plank road; the construction drawing design stage concretizes the design concept and shows every part of the plank road in detail, including precise dimensions, material selection, structural design and construction details. During the construction drawing design stage, designers also need to constantly review and evaluate the concept design, solve any problems found during the construction drawing design process, and form a feedback loop to optimize the design and ensure that the final plank road meets the specifications, meets the functions and has a beautiful shape.
[0003] In the existing mountain plank road design process: first, the design method in the scheme deliberation stage is usually manual design from sketch to model, which can easily lead to the scheme being too conceptual and unable to be implemented; second, the scheme needs to be repeatedly adjusted by comparing the current geological survey conditions with the design specifications; third, the plank road turning, support position and elevation stage need to be repeatedly calculated in the two-dimensional plane and compared with the slope specifications; fourth, the early scheme design stage lacks an efficient way to consider both engineering specifications and detailed practices, so that the construction drawing stage needs to be redesigned according to the shape; fifth, after the scheme is modified, the construction drawing is difficult to modify synchronously, which may cause more errors. The construction drawing is not closely integrated with the early scheme, and the feedback to the scheme modification is prone to information asymmetry, high rework rate, and additional costs in the later stage. All of the above aspects lead to increased time costs and low efficiency in the early and late stages of plank road design in the existing technology. Summary of the invention
[0004] In view of the above deficiencies in the prior art, the purpose of the invention is to provide a mountain plank road modeling method and device, which improves the efficiency of the early and late stages of plank road design and reduces time costs.
[0005] A first aspect of the present invention provides a mountain plank road modeling method, comprising:
[0006] Set plank road parameter variables, the plank road parameter variables include plank road body parameter variables, plank road railing parameter variables, plank road support column parameter variables and plank road slope detection parameter variables; form the overall shape, size and structure of the plank road according to the plank road parameter variables; output plank road data to generate visual geometric data; retrieve or check whether the generated plank road meets the slope engineering specifications.
[0007] A second aspect of the present invention provides a device for implementing a mountain plank road modeling method, comprising:
[0008] The plank road parameter variable module is configured to set the plank road parameter variables, and the plank road parameter variables include plank road body parameter variables, plank road railing parameter variables, plank road support column parameter variables and plank road slope detection parameter variables; the plank road data processing module is configured to form the overall shape, size and structure of the plank road according to the plank road parameter variables; the plank road overall output module is configured to output the plank road data and generate visual geometric data; the plank road slope monitoring module is configured to retrieve or check whether the generated plank road meets the slope engineering specifications.
[0009] The beneficial effects of the present invention are as follows:
[0010] The method and device described in the present invention optimize the overall control and accuracy of the landing of the plank road construction in the early stage, avoid the dimensional errors caused by the docking between the early and late stages, improve the control of the landing effect, improve the efficiency of dimensional detection and marking in the later construction drawing stage, efficiently solve the problem of slope specification in the early stage, and save later costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.
[0012] Figure 1 A flow chart of a mountain plank road modeling method according to an embodiment of the present invention;
[0013] Figure 2 A schematic diagram of the topography of the plank road foundation according to an embodiment of the present invention;
[0014] Figure 3 A schematic diagram of a plank road center control line according to an embodiment of the present invention;
[0015] Figure 4 A schematic diagram of a plank road support column according to an embodiment of the present invention;
[0016] Figure 5 A schematic diagram of a plank road main body according to an embodiment of the present invention;
[0017] Figure 6 A schematic diagram of a plank road railing reference surface according to an embodiment of the present invention;
[0018] Figure 7 A schematic diagram of a plank road handrail according to an embodiment of the present invention;
[0019] Figure 8A schematic diagram of a plank road railing partition column according to an embodiment of the present invention;
[0020] Fig. 9 A schematic diagram of a plank road railing component according to an embodiment of the present invention;
[0021] Fig.10 It is an overall schematic diagram of the plank road in an embodiment of the present invention;
[0022] Fig.11 Schematic diagram of a mountain plank road modeling device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.
[0024] In the description of the present invention, it should be noted that, unless otherwise expressly specified and limited, the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0025] First, some terms are explained:
[0026] Grasshopper: is a visual programming language environment that allows users to generate 3D models and data structures by creating and connecting a series of operators, which helps improve programming efficiency;
[0027] BIM technology: BIM (Building Information Modeling) technology is a digital tool used in engineering design, construction and management.
[0028] The present invention proposes a mountain plank road modeling method and device, which solves the problems of increased time cost in the early and late stages and low efficiency in the existing methods.
[0029] In a first aspect, the present invention provides a mountain plank road modeling method, such as Figure 1 As shown, specifically, the method includes steps S101 to S104:
[0030] S101, setting plank road parameter variables, the plank road parameter variables including plank road body parameter variables, plank road railing parameter variables, plank road support column parameter variables and plank road slope detection parameter variables.
[0031] Preferably, the plank road body parameter variables include one or a combination of the following: the origin of the plank road base reference plane, the center line of the plank road, the mountain terrain surface, the plank road projection surface, the plank road segmentation coefficient, the plank road passage width, the plank road side height, the plank road minimum height or the plank road board joint width.
[0032] Preferably, the plank road support column parameter variables include one or a combination of the following:
[0033] Width of plank road railing reference plane, height of plank road railing reference plane, height of plank road railing, radius of plank road railing handrail, radius of plank road railing dividing column, spacing size of plank road railing components, and dimensions of plank road railing components.
[0034] Preferably, the plank road support column parameter variables include one or a combination of the following: plank road support column radius, plank road support column spacing.
[0035] Preferably, the plank road support column parameter variable is the plank road slope position number.
[0036] Taking Grasshopper environment as an example, in Rhino software and Grasshopper environment, plank road parameter variables are set. Plank road parameter variables are basic parameters that control the overall shape, size, and structure of the plank road. By adjusting the parameter variables, real-time changes in different shapes, sizes, and structures can be achieved. Plank road parameter variables are divided into plank road body parameter variables, plank road railing parameter variables, plank road support column parameter variables, and plank road slope detection parameter variables.
[0037] S102, forming the overall shape, size and structure of the plank road according to the plank road parameter variables.
[0038] This step is the plank road data processing step, which processes the input plank road parameter variables to form the overall shape, size and structure of the plank road.
[0039] Optionally, this step may include the following steps S201 to S212:
[0040] S201. Set a reference plane.
[0041] The reference plane is used as the reference plane to determine the offset direction of the center control line of the plank road. Figure 3 shown.
[0042] S202, optimize the center line, and convert the input center control line geometry into a polyline representation.
[0043] In this step, the input center control line geometry is converted into a simplified polyline representation, which converts the geometric information into an easily editable form, such as in Grasshopper.
[0044] S203, calculating the size, calculating half of the width of the plank road passage surface, and then adding it to the width of the plank road foundation to determine half of the total width of the entire structure.
[0045] In this step, first calculate half of the width of the plank road's passage surface, then add this value to the plank road's foundation width to determine half of the total width of the entire structure, and get the sum of half of the plank road's passage surface width and the width of the plank road's railing reference plane. Since there is a railing on each side of the plank road, there are two plank road railing reference planes with the same width.
[0046] S204: Generate edge lines of the plank road railing reference surface.
[0047] Optionally, this step may include two steps: generating an outer edge line of the plank road handrail base and generating an inner edge line of the plank road handrail base:
[0048] Generate the outer edge line of the plank road handrail base, operate the plank road center line respectively through two offset operator instances, generate two offset curves, and then create two curves with opposite offset directions according to the center line, half of the total width and the control plane. The two curves with opposite offset directions jointly define the outer edge of the plank road finished surface. For example, taking the Grasshopper environment as an example, create two curves with opposite offset directions according to the center line, half of the total width and the control plane through the Offset Curve Loose operator, and the two offset curves jointly define the outer edge of the plank road finished surface. In this step, the outer edge line obtained is the outer edge of the plank road finished surface, which is the outermost contour including the plank road railing reference plane.
[0049] Generate the inner edge line of the plank road handrail base, operate the plank road center line respectively through two offset operator instances to generate two offset curves, and then create two curves with opposite offset directions according to the center line, handrail base width and control plane, and the two curves with opposite offset directions jointly define the outer edge of the plank road passage surface. For example, taking the Grasshopper environment as an example, according to the center line, handrail base width and control plane, create two curves with opposite offset directions through the Offset Curve Loose operator, and the two offset curves jointly define the outer edge of the plank road passage surface. In this step, the outer edge line obtained is the outer edge of the plank road passage surface, which is the outer edge of the passage surface excluding the plank road railing reference plane;
[0050] It should be noted that the outer edge of the plank road passage surface is the edge line where the plank road passage surface and the plank road railing reference surface intersect. The passage surface and the two plank road railing handrail bases together constitute a complete plank road surface.
[0051] S205, generating a plank road railing reference surface, creating two sets of surfaces using the input railing reference surface contour lines, and moving them in the positive direction of the Z axis at the lowest height of the plank road to generate the railing reference surface.
[0052] For example, in the Grasshopper environment, the input railing reference surface contour line is used to create two sets of surfaces through the Loft operator, and then moved in the positive direction of the Z axis at the lowest height of the plank road to generate the railing reference surface, such as Figure 6 shown.
[0053] It should be noted that the X axis represents the horizontal axis, the Y axis represents the vertical axis, and the Z axis represents the axis perpendicular to the plane formed by the X axis and the Y axis. In this step, the two sets of curved surfaces move along the positive direction of the Z axis at the lowest height of the plank road.
[0054] S206, generating a plank road passage reference surface, creating a set of curved surfaces with the input plank road passage surface outer edge lines, and moving them in the positive direction of the Z axis by the interpolation number of the plank road minimum height and the plank road railing reference surface height, to generate a set of curved surfaces as the plank road passage reference surface.
[0055] For example, in the Grasshopper environment, the input plank road passage surface outer edge line is used to create a set of surfaces through the Loft operator, and is moved in the positive direction of the Z axis by the difference between the lowest height of the plank road and the height of the plank road railing reference surface to generate a set of surfaces as the plank road passage reference surface. S207, generate plank road board joints.
[0056] Optionally, this step may include two steps: generating a plank slab joint profile and screening the plank slab joints:
[0057] Generate the plank board joint contour, that is, input the plank road pass reference surface, for example, take the Grasshopper environment as an example, use the Deconstruct Brep operator to decompose it into multiple independent pass reference surfaces. Extract the pass reference surface contour, and use the Offset Curve Loose operator to offset to each center by half the gap width. The obtained offset curve is projected onto multiple independent pass reference surfaces through Project to generate the plank board joint contour.
[0058] Screening of plank board joints, generating the outline of the plank board joints. The generated multiple independent pass reference surfaces and the outline of the plank board joints are passed through operators, such as the Surface Split operator in the Grasshopper environment, to create a set of segmented surfaces. The area of each surface in the set is calculated through operators, such as the Area operator, and the surfaces with a greater area than the minimum value are screened out through the conditional judgment operator as the plank board reference surface. The surfaces with a less area than the maximum value are screened out through the conditional judgment operator as the plank board joint surface.
[0059] S208, generating a plank road bottom reference surface.
[0060] In this step, the input plank road reference is completed in the opposite direction of the Z axis, and is moved by interpolation of the lowest height of the plank road and the height of the plank road handrail base to serve as the plank road bottom reference plane.
[0061] S209, generating plank road support columns.
[0062] Taking the Grasshopper environment as an example, divide the input center line length by the support column spacing, take the integer as the number of support columns, input the plank road center line and the number of support columns into the Horizontal Frames component, generate the support column reference plane, and move it along the positive Z axis at the lowest height of the plank road. Take the origin of the support column reference plane after the move, the negative Z axis direction and the original terrain model as input, and obtain the center point of the support column projected to the original terrain through the Project Point component. Generate the support column center line through the Line component. Input the center line and support column radius value into the Pipe component to generate the plank road support column. Figure 4 shown.
[0063] S210, generating a plank road railing reference surface.
[0064] Taking the Grasshopper environment as an example, the plank road railing reference plane is moved in the opposite direction of the Z axis and the height value of the plank road side is input into the Extude operator to generate the plank road railing reference plane block, such as Figure 6 shown.
[0065] S211. Generate the center line of the plank road railing.
[0066] In this step, for example, the offset distance is obtained based on the width of the plank road passage surface and half of the width of the single-side handrail reference plane; the reference plane is used as the reference offset direction, and the single-side handrail centerline is generated through the Offset Curve Loose operator. Similarly, the centerline of the handrail on the other side is generated, and the centerline is moved in the positive direction of the Z axis at the lowest height of the plank road to generate the plank road railing centerline.
[0067] S212. Generate plank road railing components.
[0068] Taking the Grasshopper environment as an example, firstly, the center line of the plank road railing is decomposed into multiple lines through the Explode budgeter, and then moved to the plank road railing height value in the positive direction of the Z axis to form the handrail center line, and the handrail center line is input into the Pipe operator to generate the plank road railing handrail with the plank road handrail radius value. Then, the length of each section of the decomposed plank road railing center line is extracted, divided by the railing component interval width value, and the integer is taken to obtain the number of railing component separations of each section of the railing; the railing center line is separated by the Divide Curve operator to obtain the reference point of the railing component; the reference point is moved in the positive direction of the Z axis with the railing height as the value to obtain the end point of the railing component; the reference point and the end point are passed through the Line operator to generate the center line of the railing component, and then the railing component is generated by the Pipe operator with the railing component radius as the value.
[0069] S103: Output the plank road data and generate visual geometric data.
[0070] In this step, the data structures of the plank road support columns, the plank road body, the plank road board joints, the plank road railing reference plane and side panels, the plank road railing handrails, and the plank road railing components are flattened respectively, and the flattened data results are output as groups respectively, and finally the visualized geometric data is generated.
[0071] For example, the output plank road data includes plank road supporting columns, plank road main body, plank road board joints, plank road railing reference surface and side panels, plank road railing handrails and plank road railing components. These output plank road data are flattened into data structures through the Flatten Tree operator, and the flattened data are output as groups through the Group operator. Finally, the data in Grasshopper is generated into visual geometric data in Rhino through the Bake command.
[0072] S104, searching or checking whether the generated plank road meets the slope engineering specification.
[0073] In this step, it is retrieved or checked whether the generated plank road meets the slope engineering specification, the slope section that does not meet the slope requirement in the corresponding engineering specification is found, and the elevation range of the corresponding slope section is adjusted through the control surface.
[0074] Taking the Grasshopper environment as an example, in this step, the decomposed plank road center line is used to branch the data separately through the Graft Tree operator, and the two endpoints of the line segment in each branch data are obtained through the End Points operator; the Start and End endpoints are respectively passed through the Deconstruct operator to obtain the world X, Y, and Z axis coordinate values of the two endpoints; the X, Y coordinates of the Start point and the Z coordinate of the End point are used as input, and the new point is relocated through the Construct Point operator. This point is the lowest point relative to the line segment in each data branch data. The newly located point is used as the End Point, the Start point of the decomposed center line is used as the Start point, and the line segment between the highest point and the lowest point in the corresponding branch data is formed through the Line operator; the newly located point is used as the Start Point, and the End point of the decomposed center line is used as the End point, and the horizontal line segment connecting the highest point and the lowest point in the corresponding branch data is formed through the Line operator. The two line segments are passed through the Length operator to extract the distance in each branch data, and the height is divided by the straight-line distance to obtain the slope of each branch data. The branch data is input into the Flatten Tree operator, and the flattened result is input into the Panel operator to generate a slope table. Input the horizontal line segment connecting the highest point and the lowest point, flatten the data through the Flatten Tree operator, and input the flattened data and the plank road slope position number into the List Item operator to obtain the function of indexing the corresponding slope position through the plank road slope position number. The plank road slope detection module is mainly responsible for retrieving and checking whether the generated plank road meets the slope engineering specifications. It can quickly find the slope section that does not meet the slope requirements in the corresponding engineering specifications, and adjust the elevation range of the corresponding slope section through the control surface.
[0075] The following takes the Grasshopper environment as an example to further fully illustrate the mountain plank road modeling method of the present invention.
[0076] Step 1: Set the plank road parameter variables.
[0077] Plank road parameter variables are the basic parameters that control the overall shape, size, and structure of the plank road. By adjusting the parameter variables, real-time changes in different shapes, sizes, and structures can be achieved. In this case, the basic unit of the generated model space is meters. This step can also be divided into steps 1.1 to 1.4:
[0078] Step 1.1, construct the plank road ontology parameter variables.
[0079] The parameters of the plank road include:
[0080] 1) The origin of the plank road reference plane: represented by originPt. 2) The centerline of the plank road: represented by originMidline. 3) The mountain terrain surface: represented by originMesh, which is the basic terrain, such as Figure 2 4) Plank road projection surface: represented by controlSrf. 5) Plank road segmentation coefficient: represented by divideCoefficient; in this embodiment, divideCoefficient = 5. 6) Plank road passage width: represented by passWidth; in this example, passWidth = 3. 7) Plank road side height: represented by sideHeight; in this example, sideHeight = 0.4. 8) Plank road minimum height: represented by mountHeight; in this example, mountHeight = 2. 9) Plank road board joint width: represented by gapWidth; in this case, gapWidth = 0.05.
[0081] Step 1.2, construct the plank road railing parameter variables.
[0082] 1) Width of the reference plane of the plank road railing: expressed as railBaseWidth; in this example, railBaseWidth = 0.2. 2) Height of the reference plane of the plank road railing: expressed as railBaseHeight; in this example, railBaseHeight = 0.005. 3) Height of the plank road railing: expressed as railHeight; in this example, railHeight = 1.1. 4) Radius of the handrail of the plank road railing: expressed as railHandR; in this example, railHandR = 0.05. 5) Radius of the dividing column of the plank road railing: expressed as railDivideR; in this example, railDivideR = 0.04. 6) Spacing size of the plank road railing component: expressed as railSctGap; in this example, railSctGap = 0.1. 7) Size of the plank road railing component: expressed as railSctSize1, railSctSize2.
[0083] Step 1.3: Construction of parameter variables of plank road support columns
[0084] 1) The radius of the plank road support pillar: expressed as pillarRadius; in this example, pillarRadius = 0.3. 2) The distance between the plank road support pillars: expressed as pillarDistance; in this example, pillarDistance = 15.
[0085] 1.4 Construction of plank road slope detection parameter variables.
[0086] The parameter variable of plank road slope detection is the plank road slope position number: expressed as slopIndex.
[0087] Step 2, forming the overall shape, size and structure of the plank road according to the plank road parameter variables.
[0088] 2.1、Set a base plane. The XY Plane operator receives the input originPt and outputs a plane object planeO.
[0089] 2.2. Optimize the center line and convert the input center control line geometry into a polyline representation.
[0090] 2.3. Calculate the size.
[0091] Calculate half the width of the plank road's walking surface and add that to the width of the plank road's foundation to determine half the total width of the entire structure.
[0092] 1) The Division operator receives two inputs: passWidth and the number 2. It divides passWidth by 2 and outputs passWidthHalf. 2) The Addition operator receives two inputs: passWidthHalf and railBaseWidth. It adds passWidthHalf to railBaseWidth and outputs overallWidth, which is half of the total width of the entire structure.
[0093] 2.4. Generate the edge line of the plank road railing reference surface.
[0094] This step includes two steps: 2.4.1 and 2.4.2:
[0095] 2.4.1. Generate the outer edge line of the plank road handrail base.
[0096] Through two offset operator instances, the center line of the plank road is operated respectively to generate two offset curves, and then two curves with opposite offset directions are created according to the center line, half of the total width and the control plane. The two curves with opposite offset directions jointly define the outer edge of the completed surface of the plank road. 1) Offset Curve Loose operator 1 receives three inputs: Midline, overallWidth and planeO. Among them, Midline represents a polyline, overallWidth is a numerical value used to determine the offset, and planeO is a plane used to control the basic plane of the offset curve. Based on these inputs, the operator generates an output representing the offset curve or a collection of curve objects. 2) Negative operator receives an input overallWidth and outputs its opposite number, that is, -overallWidth. The purpose of this operator is to reverse the sign of the input value. 3) Offset Curve Loose operator 2 instance uses three inputs: the original polyline Midline, -overallWidth processed by the Negative operator, and the same parameter planeO. This component produces an output railEdgeOutside2 which is another result of offsetting the curve.
[0097] The curve generated in 1) and the curve generated in 3) in the above 2.4.1 together define the outer edge of the finished surface of the plank road.
[0098] 2.4.2. Generate the outer and inner edge lines of the plank road handrail base.
[0099] Through two offset operator instances, the center line of the plank road is operated respectively to generate two offset curves, and then two curves with opposite offset directions are created according to the center line, the handrail base width and the control plane. The two curves with opposite offset directions jointly define the inner edge of the plank road passage surface. 1) The Offset Curve Loose operator 1 receives three inputs: Midline, passWidthHalf and planeO. Among them, Midline represents a polyline, passWidthHalf is a numerical value used to determine the offset, and planeO is a plane used to control the basic plane of the offset curve. Based on these inputs, the operator generates an output railEdgeInside1, which represents the offset curve or a collection of curve objects. 2) The Negative operator receives an input passWidthHalf and outputs its opposite, that is, -passWidthHalf. The purpose of this operator is to reverse the sign of the input value. 3) The Offset Curve Loose operator 2 instance uses three inputs: the original polyline Midline, -passWidthHalf processed by the Negative operator, and the same parameter planeO. This component produces an output railEdgeInside2 which is another result of the offset curve.
[0100] The curve generated by 1) and the curve generated by 3) in the above 2.4.2 together define the inner edge of the base of the plank road handrail.
[0101] 2.5. Generate the reference surface of the plank road railing.
[0102] Create two sets of surfaces based on the input railing reference surface contour line, and move them in the positive direction of the Z axis at the lowest height of the plank road to generate the railing reference surface.
[0103] 2.6. Generate the plank road passage reference surface.
[0104] A set of surfaces is created from the input outer edge lines of the plank road passage surface, and is moved in the positive direction of the Z axis by the interpolation number of the lowest height of the plank road and the height of the plank road railing reference surface to generate a set of surfaces as the plank road passage reference surface.
[0105] 2.7. Generate plank slab joints.
[0106] Generating the plank board joints may include steps 2.7.1 and 2.7.2.
[0107] 2.7.1. Generate the plank slab joint profile.
[0108] 2.7.2. Screening of plank board joints.
[0109] 2.8. Generate the bottom datum surface of the plank road.
[0110] Generating the plank road ground reference surface includes the following steps:
[0111] 2.9. Generate plank road support columns.
[0112] In this example, the steps to generate the plank road support columns are as follows:
[0113] 1) The Length component takes the polyline Midline as input and calculates its length, outputting MidlineLength. 2) The Division component takes two inputs: A is the previously calculated length MidlineLength, and B is another value pillarDistance. It divides MidlineLength by pillarDistance and outputs pillarDiv. 3) The Integer component takes pillarDiv as input and converts it to an integer pillarCount. 4) The Horizontal Frames component takes the polyline Midline and the integer pillarCount output by the Integer component as input and generates the specified number of horizontal frames, outputting pillarBaseOrigin. 5) The Unit Z component 1 takes mountHeight as input and generates a unit vector railEdgeSrfV perpendicular to the Z axis. 6) The Move component 1 takes the frame pillarBaseOrigin output by the Horizontal Frames component and the unit vector ZH1 output by the Unit Z component as input and moves the frame along the Z axis, outputting pillarBase. 7) The GraftTree component receives the moved frame pillarBase as input, converts it into a tree structure, and outputs pillarBaseGft. 8) The Project Point component receives the point pillarBaseGft, the direction {0,0,-1}, and the geometric object originMidline as input, performs a point projection operation, and outputs the projected point pillarBaseProject. 9) The Line component receives the starting point pillarBaseGft and the end point pillarBaseProject as input, generates a straight line from the starting point to the end point, and outputs pillarMidline. 10) The Pipe component receives the curve pillarMidline and the radius pillarRadius as input, generates a pipe-shaped geometry, and outputs pillarPipe. 11) The Negative component receives sideHeight as input and outputs its opposite -sideHeight. 12) The Unit Z component 2 receives -sideHeight as input and generates a reverse unit vector sideHeightV. 13) Move operator 2 receives the pipe pillarPipe and the unit vector sideHeightV as input, moves the pipe along the direction of sideHeightV, and outputs pillarPipeM, which is the support pillar of the plank road.
[0114] 2.10. Generate the reference surface of the plank road railing.
[0115] In this example, the steps to generate the plank railing reference plane are as follows:
[0116] 1) The Extrude component receives two inputs: Base is railEdgeSrfBase, which is usually a two-dimensional geometric shape or outline, and Direction is sideHeightV, which is a vector that defines the extrusion direction. The Extrude component creates a three-dimensional extrusion body based on the given outline and direction, and the output is railEdgeBrep1. 2) The Move component receives two inputs: Geometry is railEdgeSrfBase, which is the geometry to be moved, and Motion is sideHeightV, which defines the direction and distance of the movement. The Move component moves the geometry railEdgeSrfBase according to the vector sideHeightV, and the output is railEdgeBrep2. 3)
[0117] The Brep Join operator takes three inputs: railEdgeBrep1, railEdgeBrep2, and railEdgeSrfBase. These inputs are all Breps (geometry in boundary representation). The Brep Join operator merges these Brep objects into a composite Brep geometry, and the output is railEdgeBreps, which is the plank railing base surface.
[0118] 2.11. Generate the center line of the plank road railing.
[0119] In this example, generating the center line of the plank railing includes the following steps:
[0120] 1) The Division operator receives the input railBaseWidth and the number 2, performs a division operation, and obtains the output railBaseWidth2. 2) The Subtraction operator receives the input overallWidth and railBaseWidth2, performs a subtraction operation, and obtains the output w8. 3) The Negative operator receives the input railMidlineWidth and outputs its opposite -railMidlineWidth. 4) The Offset Curve Loose 1 component receives the polyline Curve = Midline, the distance Distance = railMidlineWidth and the plane Plane = planeO as input, generates an offset curve according to the specified distance and plane, and outputs railcrv1. 5) The Offset Curve Loose 2 component also receives the polyline Curve = Midline, the distance Distance = -railMidlineWidth and the plane Plane = planeO as input, generates another offset curve, but this time it is offset in the opposite direction, and the output is railcrv2. 6) The Move component receives the offset curves railcrv1, railcrv2 and the movement vector Motion = railEdgeSrfV as input, moves railcrv1 and railcrv2 along the direction of railEdgeSrfV, and outputs railcrv3, which is the center line of the plank road railing. railcrv1 and railcrv2 are the calculated positions of the center line of the railing, and railcrv3 is the union of railcrv1 and railcrv2 after moving in the positive direction of the Z axis with reference to the lowest height of the plank road mountHeight, which is the actual position of the center line of the plank road railing.
[0121] 2.12. Generate plank road railing components.
[0122] Step 3: Output the plank road data and generate visual geometric data.
[0123] The data structures of plank road support columns, plank road main body, plank road board joints, plank road railing reference plane and side panels, plank road railing handrails, and plank road railing components are flattened respectively, and the flattened data results are output as groups respectively, and finally visual geometric data is generated.
[0124] In this example, the output results obtained after the parameter variables are processed by the data processing module are summarized and grouped. The Bake command is used to generate blocks to obtain the overall model of the plank road, such as Fig.10 shown.
[0125] In this example, outputting the stack road data may include the following seven steps 3.1 to 3.7:
[0126] 3.1. Output of the main body of the plank road.
[0127] The Group operator receives an input passSrfAll. It organizes or groups the input passSrfAll, adds the Flatten parameter to the input to flatten the list, and then outputs a sorted list. The output is named passSrfAllGroup and is used as the main output of the stack path, such as Figure 5 shown.
[0128] 3.2. Output of plank board joints.
[0129] The Group component takes an input gapSrfList, organizes or groups the input gapSrfList, adds the Flatten parameter to the input, and then outputs a sorted list named gapSrfListGroup, which is used as the board seam output.
[0130] 3.3. Output of plank road railing reference surface and side panels.
[0131] The Group operator takes an input railEdgeBreps. It organizes or groups the input railEdgeBreps, adds the Flatten parameter to the input, and then outputs a sorted list named railEdgeBrepsGroup, which is used as the railing reference surface and side panel output. Figure 6 It is a schematic diagram of the reference plane of the plank road railing.
[0132] 3.4. Output of plank road support columns.
[0133] The Group operator takes an input pillarPipeM. It organizes or groups the input pillarPipeM, adds the Flatten parameter to the input, and then outputs a sorted list named pillarPipeMGroup as the plank support pillar output.
[0134] 3.5. Plank road railing handrail output.
[0135] The Group operator takes an input railHand. It organizes or groups the input railHand, adds the Flatten parameter to the input, and then outputs a sorted list named railHandGroup as the plank road railing output. Figure 7 shown.
[0136] 3.6. Output of plank road railing components.
[0137] The Group operator takes an input railSct, organizes or groups the input railSct, and then outputs a sorted list named railSctGroup as the plank railing component output. Fig. 9 shown.
[0138] 3.7. Output of plank road railing partition columns.
[0139] The Group operator takes an input railDivide, organizes or groups the input railDivide, and then outputs a sorted list named railDivideGroup, which is output as the plank rail divider. Figure 8 shown.
[0140] Step 4: Retrieve or check whether the generated plank road meets the slope engineering specifications.
[0141] Retrieve or check whether the generated plank road meets the slope engineering specifications, find the slope section that does not meet the slope requirements within the corresponding engineering specifications, and adjust the elevation range of the corresponding slope section through the control surface.
[0142] The above-mentioned mountain plank road modeling method of the present invention takes Grasshopper as an example, imports the BIM three-dimensional model generated by the mountain surveying elevation points and the two-dimensional plank road center control line, and based on the Grasshopper program, generates the overall completed surface modeling model of the plank road according to the BIM three-dimensional model generated by the mountain surveying elevation points and the two-dimensional plank road center control line; the present invention uses the Grasshopper visual programming language for programming, and can generate projection line modeling on a complex curved surface, and then generate a three-dimensional plank road completed surface modeling model according to the plank road center line projection line and the input plank road size parameters.
[0143] The present invention constructs a three-dimensional terrain model through geological survey data as the input of the present method, replaces the two-dimensional plane design, and intuitively displays the positional relationship between the plank road and the mountain terrain in three-dimensional space, thereby optimizing the overall control and accuracy of the plank road construction landing in the early stage. The present invention constructs a plank road model, and controls the shape and structure of the plank road by parameter variables, converts the plasticity of the plank road design from static to dynamic, and obtains a variety of different schemes by changing the input parameters, thereby avoiding the dimensional errors caused by the front and later docking, and improving the control of the landing effect. The present invention also constructs a plank road slope monitoring module, which monitors the plank road data generated during the design process in real time, and provides various dimensional information such as plank road size, elevation, and slope of each section in real time, so as to facilitate the detection of whether it meets the design specifications, improve the efficiency of dimensional detection and annotation in the later construction drawing stage, and efficiently solve the problem of regular slope specifications in the early stage, saving later costs.
[0144] In the second aspect, based on the same inventive concept, another specific embodiment of the present invention discloses a mountain plank road modeling device, such as Fig.11 As shown, including:
[0145] The plank road parameter variable module 1101 is configured to set the plank road parameter variables, the plank road parameter variables include the plank road body parameter variables, the plank road railing parameter variables, the plank road support column parameter variables and the plank road slope detection parameter variables;
[0146] The plank road data processing module 1102 is configured to form the overall shape, size and structure of the plank road according to the plank road parameter variables;
[0147] The plank road overall output module 1103 is configured to output the plank road data and generate visual geometric data;
[0148] The plank road slope monitoring module 1104 is configured to retrieve or check whether the generated plank road meets the slope engineering specifications.
[0149] Optionally, the plank road data processing module 1102 is further configured to:
[0150] Set a reference plane; optimize the centerline, convert the input centerline geometry into a polyline representation; calculate the size, calculate half of the width of the plank road passage surface, and then add it to the plank road foundation width to determine half of the total width of the entire structure;
[0151] Generate the edge line of the plank road railing reference surface; generate the plank road railing reference surface, create two sets of surfaces with the input railing reference surface contour line, and move it in the positive direction of the Z axis at the lowest height of the plank road to generate the railing reference surface; generate the plank road passage reference surface, create a set of surfaces with the input plank road passage surface outer edge line, and move it in the positive direction of the Z axis at the interpolation number of the lowest height of the plank road and the height of the plank road railing reference surface to generate a set of surfaces as the plank road passage reference surface;
[0152] Generate plank slab joints; generate plank bottom datum plane; generate plank support columns; generate plank railing datum plane; generate plank railing center line; generate plank railing components.
[0153] Optionally, generating the edge line of the plank road railing reference surface includes:
[0154] Generate the outer edge line of the plank road handrail base, operate the plank road center line respectively through two offset operator instances, generate two offset curves, and then create two curves with opposite offset directions according to the center line, half of the total width and the control plane, and the two curves with opposite offset directions jointly define the outer edge of the plank road finished surface;
[0155] Generate the inner edge line of the plank road handrail base, operate the plank road center line respectively through two offset operator instances to generate two offset curves, and then create two curves with opposite offset directions according to the center line, the handrail base width and the control plane. The two curves with opposite offset directions jointly define the outer edge of the plank road passage surface.
[0156] Optionally, the plank road overall output module 1103 is also configured to flatten the data structures of the plank road support columns, the plank road main body, the plank road board joints, the plank road railing reference plane and side panels, the plank road railing handrails, and the plank road railing components, and output the flattened data results as groups, and finally generate visual geometric data.
[0157] Optionally, the plank road slope monitoring module 1104 is also configured to retrieve or check whether the generated plank road meets the slope engineering specifications, find the slope sections that do not meet the slope requirements within the corresponding engineering specifications, and adjust the elevation range of the corresponding slope sections through the control surface.
[0158] Optionally, the plank road parameter variable module 1101 includes the following modules:
[0159] Plank road body parameter variable module, the plank road body parameter variables include one or a combination of the following: the origin of the plank road base reference plane, the center line of the plank road, the mountain terrain surface, the plank road projection surface, the plank road segmentation coefficient, the plank road passage width, the plank road side height, the plank road minimum height or the plank road board joint width.
[0160] Plank road railing parameter variable module, plank road support column parameter variables include one of the following or a combination: plank road railing reference plane width, plank road railing reference plane height, plank road railing height, plank road railing handrail radius, plank road railing separation column radius, plank road railing component spacing size, plank road railing component size.
[0161] Plank road support column parameter variable module: Plank road support column parameter variables include one or a combination of the following: plank road support column radius, plank road support column spacing.
[0162] Plank road support column parameter variable module: The plank road support column parameter variable is the plank road slope position number.
[0163] Optionally, the plank road data processing module 1102 includes the following modules:
[0164] The plank road reference plane module is configured to set a reference plane as a reference plane for determining the offset direction of the plank road center control line.
[0165] The plank centerline optimization module is configured to convert the input centerline geometry into a simplified polyline representation, converting the complex geometric information into a form that is easily editable in Grasshopper.
[0166] The plank road dimension calculation module is configured to first calculate half of the plank road passage surface width by performing consecutive mathematical operations, and then add this value to the plank road foundation width to determine half of the total width of the entire structure.
[0167] The plank road railing reference surface edge line generation module is configured to generate the outer edge line of the plank road handrail base and the inner edge line of the plank road handrail base. Through two offset operator instances, the plank road center line is operated respectively to generate two offset curves. According to the provided center line, half of the total width and the control plane, two curves with opposite offset directions are created through the Offset Curve Loose operator. The two offset curves jointly define the outer edge of the plank road finished surface. Through two offset operator instances, the plank road center line is operated respectively to generate two offset curves. According to the provided center line, handrail base width and control plane, two curves with opposite offset directions are created through the Offset Curve Loose operator. The two offset curves jointly define the inner edge of the plank road passage surface.
[0168] The plank road railing reference surface generation module is configured to create two sets of surfaces using the input railing reference surface contour line through the Loft operator, and move it in the positive direction of the Z axis at the lowest height of the plank road to generate the railing reference surface.
[0169] The plank road access reference surface generation module is configured to create a set of surfaces using the input plank road access surface outer edge line through the Loft operator, and move it in the positive direction of the Z axis by the interpolation number of the plank road minimum height and the plank road railing reference surface height to generate a set of surfaces as the plank road access reference surface.
[0170] The boardwalk joint generation module is configured to generate boardwalk joint contours and boardwalk joint screening. The boardwalk access reference surface is input and decomposed into multiple independent access reference surfaces using the Deconstruct Brep operator. The contour of the same reference surface is extracted, and the Offset Curve Loose operator is used to offset the center of each of them by half the gap width. The obtained cheap curve is projected onto multiple independent access reference surfaces through Project to generate the boardwalk joint contour line. The generated multiple independent access reference surfaces and boardwalk joint contour lines are used through the Surface Split operator to create a set of segmented surfaces. The area of each surface in the set is calculated through the Area operator. The surface with a greater area value than the minimum area value is screened out through the conditional judgment operator as the boardwalk reference completion surface; the surface with a less area value than the maximum area value is screened out through the conditional judgment operator as the boardwalk joint surface.
[0171] The plank road bottom surface reference plane generation module is configured to move the input plank road reference surface in the opposite direction of the Z axis by interpolating the lowest height of the plank road and the height of the plank road handrail base as the plank road bottom surface reference plane.
[0172] The plank road support column generation module is configured to divide the input center line length by the support column spacing, take the integer as the number of support columns, input the plank road center line and the number of support columns into the Horizontal Frames operator, generate the support column reference plane, and move it along the positive Z axis at the lowest height of the plank road; take the origin of the support column reference plane after the movement, the negative Z axis direction, and the original terrain model as input, and obtain the center point of the support column projected to the original terrain through the Project Point operator, and generate the support column center line through the Line operator; input the center line and the support column radius value into the Pipe operator to generate the plank road support column.
[0173] The plank road railing reference plane generation module is configured to input the plank road railing reference plane in the opposite direction of the Z axis into the Extude operator with the plank road side height value to generate the plank road railing reference plane block.
[0174] The plank road railing centerline control generation module 1311 is configured to calculate the width of the plank road passage surface and half of the sum of the width of the single-side handrail reference plane to obtain the offset distance; using the reference plane as the reference offset direction, the single-side handrail centerline is generated through the OffsetCurve Loose operator, and the other side handrail centerline is generated similarly, and the centerline is moved in the positive direction of the Z axis at the lowest height of the plank road.
[0175] The plank road railing component generation module is configured to first decompose the plank road railing center line into multiple lines through the Explode budgeter, move it in the positive direction of the Z axis to the plank road railing height value to form the handrail center line, input the handrail center line into the Pipe operator, and generate the plank road railing handrail with the plank road handrail radius value. Then extract the length of each section of the decomposed plank road railing center line, divide it by the railing component interval width value, take the integer, and get the number of railing component separations for each section of the railing; divide the railing center line through the DivideCurve operator to get the reference point of the railing component; move the reference point in the positive direction of the Z axis with the railing height as the value to get the end point of the railing component; pass the reference point and the end point through the Line operator to generate the center line of the railing component, and then pass the Pipe operator to generate the railing component with the railing component radius as the value.
[0176] Optionally, the plank road overall output module 1103 may include the following modules. Taking the Grasshopper environment as an example, these modules flatten the data structure through the Flatten Tree operator, and output the flattened data as groups through the Group operator, and finally generate the data in Grasshopper into visual geometric data in Rhino through the Bake command:
[0177] The plank road main body output module is configured to output the plank road main body;
[0178] A plank board seam output module is configured to output the board seams;
[0179] A plank road railing reference surface and side panel output module is configured to output the plank road railing reference surface and side panel;
[0180] A plank road support column output module, configured to output the plank road support column;
[0181] A plank road railing handrail output module is configured to output the plank road railing handrail;
[0182] A plank road railing component output module is configured to output plank road railing components;
[0183] The plank road railing separator column output module is configured to output the plank road railing separator columns.
[0184] It should be noted that the mountain plank road modeling device provided by the present device embodiment can realize all the functions and steps of the above method embodiment, and the similarities will not be repeated here.
[0185] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.
Claims
1. A mountain plank road modeling method, characterized in that: include: Setting plank road parameter variables, wherein the plank road parameter variables include plank road body parameter variables, plank road railing parameter variables, plank road support column parameter variables and plank road slope detection parameter variables; According to the plank road parameter variables, the overall shape, size and structure of the plank road are formed; Output the plank road data and generate visual geometric data; Retrieve or check whether the generated plank road meets the slope engineering specifications.
2. A mountain plank road modeling method according to claim 1, characterized in that: The plank road body parameter variables include one or a combination of the following: The origin of the plank road benchmark reference plane, the center line of the plank road, the mountain terrain surface, the plank road projection surface, the plank road segmentation coefficient, the plank road passage width, the plank road side height, the plank road minimum height or the plank road board joint width.
3. A mountain plank road modeling method according to claim 1, characterized in that: The plank road support column parameter variables include one or a combination of the following: Width of plank road railing reference plane, height of plank road railing reference plane, height of plank road railing, radius of plank road railing handrail, radius of plank road railing dividing column, spacing size of plank road railing components, and dimensions of plank road railing components.
4. A mountain plank road modeling method according to claim 1, characterized in that: The plank road support column parameter variables include one or a combination of the following: The radius of plank road support columns and the spacing between plank road support columns.
5. A mountain plank road modeling method according to claim 1, characterized in that: The plank road support column parameter variable is the plank road slope position number.
6. A mountain plank road modeling method according to claim 1, characterized in that: The forming of the overall shape, size and structure of the plank road according to the plank road parameter variables comprises: Set a reference plane; Optimize centerline, convert the input centerline geometry into a polyline representation; To calculate the dimensions, calculate half of the width of the plank road's passage surface and add this to the width of the plank road's foundation to determine half of the total width of the entire structure; Generate the edge line of the plank road railing reference surface; Generate the railing reference surface of the plank road. Create two sets of surfaces with the input railing reference surface contour line, and move it in the positive direction of the Z axis at the lowest height of the plank road to generate the railing reference surface. Generate a plank road passage reference surface, create a set of surfaces with the input plank road passage surface outer edge line, and move it in the positive direction of the Z axis by the interpolation number of the plank road minimum height and the plank road railing reference surface height to generate a set of surfaces as the plank road passage reference surface; Generate plank slab joints; generate plank bottom datum plane; generate plank support columns; generate plank railing datum plane; generate plank railing center line; generate plank railing components.
7. A mountain plank road modeling method according to claim 6, characterized in that: The generating of the edge line of the plank road railing reference surface comprises: Generate the outer edge line of the plank road handrail base, operate the plank road center line respectively through two offset operator instances, generate two offset curves, and then create two curves with opposite offset directions according to the center line, half of the total width and the control plane, and the two curves with opposite offset directions jointly define the outer edge of the plank road finished surface; Generate the inner edge line of the plank road handrail base, operate the plank road center line respectively through two offset operator instances to generate two offset curves, and then create two curves with opposite offset directions according to the center line, the handrail base width and the control plane. The two curves with opposite offset directions jointly define the outer edge of the plank road passage surface.
8. A mountain plank road modeling method according to claim 3, characterized in that: The outputting of the plank road data and generating the visual geometric data comprises: The data structures of plank road support columns, plank road main body, plank road board joints, plank road railing reference plane and side panels, plank road railing handrails, and plank road railing components are flattened respectively, and the flattened data results are output as groups respectively, and finally visual geometric data is generated.
9. A mountain plank road modeling method according to claim 1, characterized in that: The searching or checking whether the generated plank road meets the slope engineering specification includes: Retrieve or check whether the generated plank road meets the slope engineering specifications, find the slope section that does not meet the slope requirements within the corresponding engineering specifications, and adjust the elevation range of the corresponding slope section through the control surface.
10. A mountain plank road modeling device, characterized in that: Used to implement the mountain plank road modeling method according to any one of claims 1 to 9, the device comprises: A plank road parameter variable module is configured to set plank road parameter variables, wherein the plank road parameter variables include plank road body parameter variables, plank road railing parameter variables, plank road support column parameter variables and plank road slope detection parameter variables; A plank road data processing module is configured to form the overall shape, size and structure of the plank road according to the plank road parameter variables; The plank road overall output module is configured to output the plank road data and generate visual geometric data; The plank road slope monitoring module is configured to retrieve or check whether the generated plank road meets the slope engineering specifications.
