Civil 3D-based reservoir regulation model and construction drawing creation method and system
By designing a modular control parameterized interface in Civil 3D, and automatically creating a reservoir model and construction drawing, the problems of low efficiency and high error rate in the existing technology are solved, and efficient and accurate water conservancy reservoir design is achieved.
Patent Information
- Application Number
- CN202410158435.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2025-07-22
AI Technical Summary
The existing secondary development technology for water conservancy storage tank design based on Civil 3D has failed to fully meet the needs of automatic floor layout, labeling and labeling, resulting in low efficiency and high error rate for manual model framework creation.
Through secondary development based on Civil 3D, the modular control parameterized interface is designed, including the foundation setting area, the specific parameter design area and the construction drawing ratio setting area, and the reservoir model and construction drawing are automatically created, including the pool body road, the pool bottom road, the cross-section section section line, etc.
The automatic creation of the reservoir model and construction drawings is realized, which improves efficiency, reduces the error rate, and meets the needs of water conservancy engineering design.
Smart Images

Figure CN120354473A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water conservancy regulation reservoir engineering design, and particularly relates to a method and system for creating a regulation reservoir model and construction drawings based on Civil 3D. Background Art
[0002] At present, Civil 3D software has been gradually applied to the design of water conservancy regulation reservoir projects. As a software oriented to the highway design profession, its buttons and functions are all made according to the habits and requirements of highway design, and it cannot meet the needs of water conservancy project design. The application of the majority of water conservancy users only stays on the modeling of some linear water conservancy engineering buildings such as canals and retaining walls. For the regulation reservoir, only a simplified internal contour model is used instead, and it is difficult to manually create the pool body and the pool bottom model simultaneously. In recent years, the secondary development technology for water conservancy engineering design based on Civil 3D has gradually increased. However, most of the secondary developments based on Civil 3D are not perfect. They can only meet the needs of cutting the ground line and the cross-sectional structure framework, and cannot fully meet the needs of automatic plane layout, adding labels, and dimensioning. Many subsequent tasks need to be done manually, and it is still an imperfect semi-automatic development; the software-based, interface-based, and button-based pipeline operations for regulation reservoir design have not been realized. Summary of the Invention
[0003] The present invention provides a method and system for creating a regulation reservoir model and construction drawings based on Civil 3D, which overcomes the above-mentioned deficiencies of the prior art and can effectively solve the problems of low efficiency and high error rate in the existing method of manually creating the regulation reservoir model framework.
[0004] To solve the above problems, one of the technical solutions of the present invention is achieved as follows: A method for creating a regulation reservoir model and construction drawings based on Civil 3D includes the following steps: Create regulation reservoir components and assemblies; Based on Civil 3D secondary development programming, design modular controls; wherein the parameterized interface of the modular controls includes a basic setting area, a specific parameter design area, and a construction drawing scale setting area; According to the design parameters, create a regulation reservoir model; specifically, create the regulation reservoir body road, the pool bottom road, the cross-sectional cutting line, the cross-section, the excavation surface, the filling surface, the pool bottom line surface, the regulation reservoir filling volume surface, and the regulation reservoir excavation volume surface through a background program.
[0005] The above-mentioned creation of regulation reservoir components and assemblies specifically includes: Build the structural framework of the water-facing surface, the back surface of the pool top and the horse path, and the slope drainage ditch; Build the structural framework of the pool bottom; Judge the relationship between the pool top structure and the ground; If the pool top is above the ground, multi-level access roads, slopes, and access road drainage ditches can be added. After intersecting with the ground, a bottom drainage ditch for the slope is automatically added, and the slope gradient, access road width, and reserved parameters for the size of the access road drainage ditch are set. If the pool top is below the ground, according to the excavation slope, first set the slope drainage ditch and then set multi-level access roads. A cross-section structure framework of the regulating reservoir is obtained. Click the regulating reservoir design button in the Civil 3D software and select the axis for the bottom layout of the pool. Input the regulating reservoir design parameters according to the cross-section structure framework of the regulating reservoir. Among them, the design parameters include the slope of the water-facing side, the slope of the back water side, the width of the pool top, the thickness of the pool bottom, foundation parameters, materials for each part, and the drawing scale. Automatically generate neatly arranged longitudinal section profiles, cross-section profiles, plan layout drawings, and detail drawings of the regulating reservoir by picking the drawing base point, and generate the regulating reservoir assembly.
[0006] The above-mentioned clicking the regulating reservoir design button in the Civil 3D software specifically includes: Bind tasks in the regulating reservoir design button. Add the operation of selecting or drawing the bottom layout line of the pool, the operation of inputting the regulating reservoir design parameters, and the operation of picking the drawing base point to the bound tasks.
[0007] The above-mentioned binding tasks in the regulating reservoir design button specifically include: Create a new Win form pop-up window in Visual Studio, and set parameter input fields, selection fields, and filtering fields in the Win form pop-up window. Among them, the parameter input fields and selection fields include Button buttons, Check Box buttons, List Box buttons, Data Grid View buttons, Data Set buttons, Label buttons, and TextBox buttons. Perform function binding on the parameter input fields, selection fields, and filtering fields respectively and generate corresponding pop-up windows. Realize two-way data binding between the interface parameters and entity parameters through the Data bindings property and implementing the Inotify Property Changed interface.
[0008] The above-mentioned performing function binding on the parameter input fields, selection fields, and filtering fields respectively and generating corresponding pop-up windows specifically include: Define the name of the regulating reservoir. Select the bottom layout line of the pool, confirm the water-facing side direction, create the bottom line of the pool, and pass the name of the regulating reservoir to the regulating reservoir line as the name of the regulating reservoir line. Pass the name of the regulating reservoir line to the vertical section as the vertical section name; Pass the terrain surface to the vertical section as the ground surface for vertical section cutting; Obtain the values of the top elevation, bottom elevation, and water-facing slope of the reservoir in the Win form pop-up window, and pass them to the designed vertical section of the regulating reservoir. Also, pass the name of the regulating reservoir to the designed vertical section of the regulating reservoir as the name of the designed vertical section of the regulating reservoir; Pick up the insertion point as the placement position of the vertical section.
[0009] The second technical solution of the present invention is achieved through the following means: A regulating reservoir model and construction drawing creation system based on Civil 3D, including a component creation unit, a control design unit, and a model creation unit; The component creation unit is used to create regulating reservoir components and assemblies; The control design unit is used to program and design modular controls based on Civil 3D secondary development; among them, the parameterized interface of the modular control includes a basic setting area, a specific parameter design area, and a construction drawing scale setting area; The model creation unit is used to create a regulating reservoir model according to the design parameters; specifically, create the regulating reservoir body road, bottom road, cross-section cutting line, cross-section, excavation surface, filling surface, pool bottom line surface, regulating reservoir filling volume surface, and regulating reservoir excavation volume surface through the background program to generate the regulating reservoir model.
[0010] The present invention creates a regulating reservoir model and construction drawings based on Civil 3D secondary development, which can automatically create a regulating reservoir model and construction drawings according to the input design parameters, without manual modification and rework, improving the creation efficiency and quality of the regulating reservoir model and construction drawings, solving the problems of low efficiency and high error rate in the existing method of manually creating the regulating reservoir model framework, and reducing the error rate of manually creating the regulating reservoir model and construction drawings. Brief Description of the Drawings
[0011] The following further elaborates on the specific implementation manners of the present invention in conjunction with the drawings.
[0012] Figure 1 It is a schematic flow chart of the method for Embodiment 1 of the present invention.
[0013] Figure 2 It is a schematic system structure framework diagram for Embodiment 2 of the present invention.
[0014] Figure 3 It is a schematic diagram of the top structure framework of the pool in the embodiment of the present invention.
[0015] Figure 4 It is a schematic diagram of the water-facing slope structure in the embodiment of the present invention.
[0016] Figure 5 This is a schematic diagram of the back water surface slope structure in the embodiment of the present invention.
[0017] Figure 6 This is a schematic diagram of the pool bottom structure in the case of the offset of the toe line of the water-facing slope in the embodiment of the present invention. Detailed implementation manners
[0018] The present invention is not limited by the following embodiments, and the specific implementation manners can be determined according to the technical solutions of the present invention and the actual situation.
[0019] Embodiment 1: As Figure 1 shown, a method for creating a regulating reservoir model and construction drawings based on Civil 3D includes the following steps: S101, creating regulating reservoir components and assemblies; S102, programming and designing modular controls based on the secondary development of Civil 3D; wherein the parameterized interface of the modular control includes a basic setting area, a specific parameter design area, and a construction drawing scale setting area; S103, creating a regulating reservoir model according to the design parameters; specifically, creating the regulating reservoir body road, pool bottom road, cross-section cutting line, cross-section, excavation surface, filling surface, pool bottom line surface, regulating reservoir filling volume surface, and regulating reservoir excavation volume surface through the background program to generate the regulating reservoir model.
[0020] The above creation of the regulating reservoir components and assemblies specifically includes: Building the structural framework of the water-facing surface, the back water surface of the pool top and the horse path, and the slope drainage ditch; Building the pool bottom structural framework; Judging the relationship between the pool top structure and the ground; If the pool top is above the ground, multi-level horse paths, slopes, and horse path drainage ditches can be added, and the slope bottom drainage ditch is automatically added after intersecting with the ground, and the slope gradients, horse path widths, and reserved parameters of the horse path drainage ditch sizes are set; If the pool top is below the ground, the slope drainage ditch is set first and then multi-level horse paths are set according to the excavation slope; Obtaining the regulating reservoir cross-section structural framework; Clicking the regulating reservoir design button in the Civil 3D software and selecting the pool bottom layout axis; Inputting the regulating reservoir design parameters according to the regulating reservoir cross-section structural framework; wherein the design parameters include the water-facing slope, the back water surface slope, the pool top width, the pool bottom thickness, the foundation parameters, the materials of each part, and the drawing scale; Automatically generating neatly arranged longitudinal section profiles, cross-section profiles, plan layout drawings, and detail drawings of the regulating reservoir by picking the drawing base point to generate the regulating reservoir assembly.
[0021] Among them, as Figures 3 - 6 shown, when building the structural framework of the water-facing side, the back water surface of the pool top, the access road, and the slope drainage ditch, define the initial structural points and start from the initial structural points; when building the pool bottom structural framework, start from the innermost end point of the water-facing side and offset inward by the total length of the anti-sliding toe; thus, when building the model framework of the regulating reservoir, use the bottom base point of the water-facing slope and the maximum width of the anti-sliding toe as the control conditions to define the pool bottom structural points P1, P2, P3, and P4; specify the offset target of the anti-sliding toe width, and connect P1, P2, P3, and P4 in sequence to obtain the pool bottom structural framework; further, fill the pool bottom structural framework to obtain the model framework of the regulating reservoir.
[0022] Clicking the regulating reservoir design button in the Civil 3D software specifically includes: Bind tasks in the regulating reservoir design button; Add the operation of selecting or drawing the pool bottom layout line, the operation of inputting the regulating reservoir design parameters, and the operation of picking the drawing base point to the bound tasks.
[0023] Binding tasks in the regulating reservoir design button specifically includes: Create a new Win form pop-up window in Visual Studio, and set the parameter input field, selection field, and filtering field in the Win form pop-up window; among them, the parameter input field and the selection field include Button button, Check Box button, List Box button, Data Grid View button, Data Set button, Label button, and TextBox button; Perform function binding on the parameter input field, selection field, and filtering field respectively and generate the corresponding pop-up windows; Realize the two-way data binding of the interface parameters and entity parameters through the Data bindings property and implementing the Inotify Property Changed interface.
[0024] Performing function binding on the parameter input field, selection field, and filtering field respectively and generating the corresponding pop-up windows specifically includes: Define the name of the regulating reservoir; Select the pool bottom layout line, confirm the water-facing side direction, create the pool bottom line, and pass the name of the regulating reservoir to the regulating reservoir line as the name of the regulating reservoir line; Pass the name of the regulating reservoir line to the longitudinal section as the name of the longitudinal section; Pass the terrain surface to the longitudinal section as the ground for longitudinal section cutting; Obtain the pool top elevation, pool bottom elevation and water-facing surface slope values entered in the Win form pop-up window, pass them to the design longitudinal section of the regulating and storage pool, and pass the name of the regulating and storage pool to the design longitudinal section of the regulating and storage pool as the name of the design longitudinal section of the regulating and storage pool; Pick an insertion point for where to place the profile.
[0025] In the above-mentioned method of creating the regulating reservoir model based on the design parameters, the method of creating the regulating reservoir body road is: set the range of pile numbers generated by the regulating reservoir road model to all pile numbers and the step length to 5, the program background automatically loads the regulating reservoir parts and creates an assembly, sets the layer to the regulating reservoir road, and completes the creation of the regulating reservoir body and bottom road model.
[0026] In the above-mentioned method of creating a reservoir model based on design parameters, the method of creating a pool bottom road model is as follows: after clicking the Create button, the program automatically calculates and creates an offset target line as the route for creating the pool bottom road model; at the same time, in order to create a closed pool bottom model, the inner side offset target line of the pool bottom is calculated and set to complete the creation of the pool bottom model.
[0027] In the above method of creating a cross-sectional cutting line in the regulation and storage tank model based on the design parameters, click the cutting button and select or draw the cross-sectional cutting line through the user interactive prompt.
[0028] In the above-mentioned method of creating a cross section in the regulation and storage tank model based on the design parameters, the method of creating a cross section is as follows: obtain the regulation and storage tank road as the cutting road; obtain the terrain surface as the cutting terrain line; obtain the input design parameters and material parameters of the regulation and storage tank top, water-facing slope, water-facing slope, bottom and other parts, and automatically draw the cross-section view through the combination of two and three-dimensional methods, and flexibly set the aspect ratio of the output drawing and the label annotation style; obtain the picked insertion point as the cross-section view insertion position to complete the cross-section creation.
[0029] The present invention uses Subassembly Composer to complete the development of the component editor pkt visualization program. The writing of the program mainly includes various ever-changing standard cross-sectional structures of dam construction, label marking settings and interface reservations, statistical interface reservations for engineering quantities, etc. By comparing the label marking interface reserved in the pkt visualization program, combined with the requirements of construction drawing label marking and various requirements such as the display style and printing style of the drawings, the formulation of a dwg template that meets the requirements of dam construction drawing output is completed.
[0030] Example 2: Figure 2 As shown, a water storage tank model and construction drawing creation system based on Civil 3D includes a component creation unit, a control design unit and a model creation unit; The component creation unit is used to create the components and assemblies of the water storage tank; The control design unit is used to design modular controls based on Civil 3D secondary development programming; among them, the parameterized interface of the modular control includes a basic setting area, a specific parameter design area, and a construction drawing scale setting area. The model creation unit is used to create a regulating reservoir model according to the design parameters; specifically, it creates the regulating reservoir body road, the bottom road of the reservoir, the cross-section cutting line, the cross-section, the excavation surface, the filling surface, the bottom line surface of the reservoir, the filling volume surface of the regulating reservoir, and the excavation volume surface of the regulating reservoir through a background program.
[0031] In summary, the embodiment of the present invention discloses a method and system for creating a regulating reservoir model and construction drawings based on Civil 3D. By performing secondary development on Civil 3D to create the regulating reservoir model and construction drawings, it can automatically create the regulating reservoir model and construction drawings according to the input design parameters, without manual modification and rework, improving the creation efficiency and quality of the regulating reservoir model and construction drawings, solving the problem of low efficiency and high error rate in the existing method of manually creating the regulating reservoir model framework, and reducing the error rate of manually creating the regulating reservoir model and construction drawings.
Claims
1. A regulating reservoir model based on Civil 3D and a construction drawing creation method, characterized in that, It includes the following steps: Create and assemble the regulating reservoir components; Program and design modular controls based on the secondary development of Civil 3D; among them, the parametric interface of the modular control includes a basic setting area, a specific parameter design area, and a construction drawing scale setting area; Create a regulating reservoir model according to the design parameters; specifically, create the regulating reservoir body road, bottom road, cross-section cutting line, cross-section, excavation surface, filling surface, bottom line surface, regulating reservoir filling volume surface, and regulating reservoir excavation volume surface through the background program to generate the regulating reservoir model.
2. The method for creating a regulating reservoir model and construction drawings based on Civil 3D according to claim 1, characterized in that, The creation of the regulating reservoir components and assembly specifically includes: Build the structural framework of the water-facing side, the back water side and the horse path on the pool top, and the slope drainage ditch; Build the bottom structural framework of the pool; Judge the relationship between the pool top structure and the ground; If the pool top is above the ground, multi-level horse paths, slopes, and horse path drainage ditches can be added. After intersecting with the ground, the bottom drainage ditch of the slope is automatically added, and the slope gradient, horse path width, and reserved parameters of the horse path drainage ditch size are set; If the pool top is below the ground, according to the excavation slope, first set the slope drainage ditch and then set multi-level horse paths; Obtain the cross-section structural framework of the regulating reservoir; Click the regulating reservoir design button in the Civil 3D software and select the axis for the bottom layout of the pool; Input the regulating reservoir design parameters according to the cross-section structural framework of the regulating reservoir; among them, the design parameters include the water-facing slope, the back water slope, the pool top width, the pool bottom thickness, the foundation parameters, the materials of each part, and the drawing scale; Automatically generate neatly arranged longitudinal section profiles, cross-section profiles, plan layout drawings, and detail drawings of the regulating reservoir by picking up the drawing base point to generate the regulating reservoir assembly.
3. A method for creating a regulating reservoir model and construction drawings based on Civil 3D according to claim 2, characterized in that, The operation of clicking the regulating reservoir design button in the Civil 3D software specifically includes: Bind tasks in the regulating reservoir design button; Add the operation of selecting or drawing the bottom layout line of the pool, the operation of inputting the regulating reservoir design parameters, and the operation of picking up the drawing base point in the bound tasks.
4. A method for creating a regulating reservoir model and construction drawings based on Civil 3D according to claim 3, characterized in that, The operation of binding tasks in the regulating reservoir design button specifically includes: Create a new Win form pop-up window in Visual Studio, and set parameter input fields, selection fields, and filtering fields in the Win form pop-up window; among them, the parameter input fields and selection fields include Button buttons, Check Box buttons, List Box buttons, DataGrid View buttons, Data Set buttons, Label buttons, and Text Box buttons; Functionally bind the parameter input fields, selection fields, and filtering fields respectively and generate corresponding pop-up windows; Realize the two-way data binding of the interface parameters and entity parameters through the Data bindings property and implementing the Inotify Property Changed interface.
5. A method for creating a regulating reservoir model and construction drawings based on Civil 3D according to claim 4, characterized in that, The operation of functionally binding the parameter input fields, selection fields, and filtering fields respectively and generating corresponding pop-up windows specifically includes: Define the name of the regulating reservoir; Select the bottom layout line of the pool, confirm the direction of the water-facing side, create the bottom line of the pool, and transfer the name of the regulating reservoir to the regulating reservoir line as the name of the regulating reservoir line; Transfer the name of the regulating reservoir line to the longitudinal section as the name of the longitudinal section; Transfer the terrain surface to the vertical section as the ground for vertical section cutting. Obtain the values of the top elevation, bottom elevation of the pool, and the slope of the water-facing side input in the Win form pop-up window, and transfer them to the design vertical section of the regulating reservoir. Also transfer the name of the regulating reservoir to the design vertical section of the regulating reservoir as the name of the design vertical section of the regulating reservoir. Pick up the insertion point as the placement position of the vertical section.
6. A system using a method for creating a regulation reservoir model and construction drawings based on Civil 3D as described in any one of claims 1 to 5, characterized in that, It includes a component creation unit, a control design unit, and a model creation unit. The component creation unit is used to create the components and assemblies of the regulating reservoir. The control design unit is used to design modular controls based on secondary development programming of Civil 3D. Among them, the parameterized interface of the modular control includes a basic setting area, a specific parameter design area, and a construction drawing scale setting area. The model creation unit is used to create a regulating reservoir model according to the design parameters. Specifically, it creates the pool body road, pool bottom road, cross-section cutting line, cross-section, excavation surface, filling surface, pool bottom line surface, regulating reservoir filling volume surface, and regulating reservoir excavation volume surface of the regulating reservoir through a background program.