A culvert parameterized three-dimensional modeling method, device and equipment and storage medium
By dividing culvert components into regular variations and non-standard polygonal components, and constructing a 3D model based on the oblique angle and dimensional parameters, the problem of low modeling efficiency caused by the irregular shape of railway culvert components is solved, and efficient 3D model generation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA RAILWAY ENG CONSULTING GRP CO LTD
- Filing Date
- 2023-08-03
- Publication Date
- 2026-06-19
AI Technical Summary
The irregular shapes of railway culvert components, which require individual manual modeling, result in low modeling efficiency.
The culvert components are divided into a first component with regular variations and a second component with non-standard polygonal shapes. A three-dimensional model is constructed based on the oblique angle and size parameters, and the three-dimensional model of the culvert is obtained by splicing them together.
It improves the efficiency of 3D modeling of culverts, reduces the need for repetitive modeling, and adapts to environmental changes.
Smart Images

Figure CN117290920B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of engineering design technology, and more specifically, to a parametric three-dimensional modeling method, apparatus, equipment, and storage medium for culverts. Background Technology
[0002] Railway culverts have many components, and most of them are irregular, non-standard polygons. The overall shape of a culvert of the same size changes irregularly after adjusting the skew angle and culvert length according to the environment. Modeling requires manual modeling of each component individually, determining the coordinate points of each component, and then connecting the coordinate points to form a 3D model of the component, which is time-consuming, labor-intensive, and inefficient. Summary of the Invention
[0003] The purpose of this invention is to provide a parametric 3D modeling method, apparatus, device, and storage medium for culverts to improve the aforementioned problems. To achieve the above objective, the technical solution adopted by this invention is as follows:
[0004] Firstly, this application provides a parametric 3D modeling method for culverts, including:
[0005] The components in the target culvert are divided into a first component and a second component based on shape rules. The first component is a component that changes regularly along any direction, and the second component is a non-standard polygonal component.
[0006] Obtain the target size parameters of the target culvert, which are the size parameters required to construct the target culvert when there is a target skew angle between the target culvert and the target line;
[0007] Construct the target cross section of the first component based on the target size parameters;
[0008] The target cross section of the first component is stretched based on the target oblique angle, and the first component is constructed based on the target size parameters to obtain a three-dimensional model of the first component;
[0009] Based on the target size parameters, calculate the coordinates of each point of the second component and construct a three-dimensional model of the second component;
[0010] The three-dimensional models of all the first components are stitched together with the three-dimensional models of all the second components to obtain the three-dimensional model of the target culvert.
[0011] Secondly, this application also provides a parametric 3D modeling device for culverts, comprising:
[0012] The dividing unit is used to divide the components in the target culvert into a first component and a second component based on shape rules. The first component is a component that changes regularly along any direction, and the second component is a non-standard polygonal component.
[0013] The first acquisition unit is used to acquire the target size parameters of the target culvert, wherein the target size parameters are the size parameters required to construct the target culvert when there is a target skew angle between the target culvert and the target line.
[0014] A construction unit is used to construct the target cross-section of the first component based on the target size parameters;
[0015] An extrusion unit is used to extrude the target cross section of the first component based on the target oblique angle, and to construct the first component based on the target size parameters to obtain a three-dimensional model of the first component;
[0016] The first calculation unit is used to calculate the coordinate positions of each point of the second component based on the target size parameters, and to construct a three-dimensional model of the second component;
[0017] The splicing unit is used to splice the three-dimensional models of all the first components with the three-dimensional models of all the second components to obtain the three-dimensional model of the target culvert.
[0018] Thirdly, this application also provides a parametric 3D modeling device for culverts, comprising:
[0019] Memory, used to store computer programs;
[0020] A processor is used to implement the steps of the parametric 3D modeling method for culverts when executing the computer program.
[0021] Fourthly, this application also provides a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described parametric 3D modeling method for culverts.
[0022] The beneficial effects of this invention are as follows:
[0023] This invention determines the culvert's dimensional parameters based on the oblique angle between the culvert and the road. It constructs a cross-section and stretches it along the culvert's path to obtain a 3D model of some components. By splicing the 3D models of the components, the 3D model of the culvert can be obtained. By adjusting parameters such as the oblique angle and the soil cover thickness, the modeling algorithm is called back in real time to adjust the 3D model of the components without having to remodel them, thus improving the efficiency of model construction.
[0024] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing embodiments of the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description
[0025] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of the parametric 3D modeling method for culverts described in this embodiment of the invention;
[0027] Figure 2 This is a schematic diagram illustrating the construction of the target culvert as described in an embodiment of the present invention;
[0028] Figure 3 This is a schematic diagram of the oblique angle of the target culvert described in this embodiment of the invention;
[0029] Figure 4 This is a schematic diagram of the oblique angle of another target culvert described in an embodiment of the present invention;
[0030] Figure 5 This is a three-dimensional view of the culvert section component described in the embodiment of the present invention;
[0031] Figure 6 This is a three-dimensional diagram of the entrance / exit foundation components described in this embodiment of the invention;
[0032] Figure 7 These are three-dimensional diagrams of the left and right wing wall foundation components described in this embodiment of the invention.
[0033] Figure 8 This is a three-dimensional view of the handrail component described in the embodiment of the present invention;
[0034] Figure 9 This is a three-dimensional view of the ventilator component described in an embodiment of the present invention;
[0035] Figure 10 This is a three-dimensional view of the cone-shaped component described in an embodiment of the present invention;
[0036] Figure 11 This is a schematic diagram of the parametric 3D modeling device for culverts described in an embodiment of the present invention;
[0037] Figure 12This is a schematic diagram of the parametric 3D modeling equipment for culverts described in an embodiment of the present invention.
[0038] Marked in the image:
[0039] 1000, Division Unit; 2000, First Acquisition Unit; 3000, Construction Unit; 4000, Stretching Unit; 5000, First Calculation Unit; 6000, Splicing Unit; 2100, Second Acquisition Unit; 2200, Third Acquisition Unit; 2300, First Determination Unit; 2400, First Adjustment Unit; 2410, Second Determination Unit; 2420, Second Adjustment Unit; 2430, First Processing Unit; 2421, Second Calculation Unit; 2422, Third Calculation Unit; 2310, Second Processing Unit; 2320, Fourth Acquisition Unit; 2330, Fifth Acquisition Unit; 2340, Third Processing Unit; 5100, Fourth Calculation Unit; 5200, Obtaining Unit;
[0040] 800. Culvert parametric 3D modeling equipment; 801. Processor; 802. Memory; 803. Multimedia components; 804. I / O interface; 805. Communication components. Detailed Implementation
[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0042] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this invention, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0043] Example 1:
[0044] This embodiment provides a parametric 3D modeling method for culverts.
[0045] See Figure 1The figure shows that the method includes steps S1000, S2000, S3000, S4000, S5000 and S6000.
[0046] Step S1000. Divide the components in the target culvert into a first component and a second component based on shape rules. The first component is a component that changes regularly along any direction, and the second component is a non-standard polygonal component.
[0047] Specifically, there are many components in the target culvert, and the shapes of different components are not the same. For example, culvert sections, entrance and exit foundations, cap stones, sluices, front wall handrails and rear wall handrails, etc. belong to the first component; front wall wing walls, rear wall wing walls, straight sections of rear wall wing walls and the connecting sections of front and rear wall handrails, etc. belong to the second component. The way to generate three-dimensional models for different types of components is also different.
[0048] Step S2000. Obtain the target size parameters of the target culvert. The target size parameters are the size parameters required to construct the target culvert when there is a target skew angle between the target culvert and the target line.
[0049] Specifically, the target culvert is built under the target route and is mainly used for pedestrians or drainage. Due to the geological conditions and water flow channels under the route, there is an oblique angle between the actual construction direction of the target culvert and the target route.
[0050] Specifically, step S2000 includes:
[0051] Step S2100. Obtain the initial size parameters of the target culvert, which are the minimum size parameters required for the target culvert to penetrate the target route;
[0052] Specifically, such as Figure 2 As shown, this illustrates the positional relationship between the constructed culvert and the target line under the initial dimensional parameters.
[0053] Step S2200. Obtain the target construction direction of the target culvert;
[0054] Specifically, the target construction direction of the culvert will be determined based on the current environment of the target route.
[0055] Step S2300. Determine the target skew angle between the target culvert and the target route based on the target construction direction;
[0056] Specifically, step 2300 includes:
[0057] Step 2310. Designate the target construction direction as the primary direction;
[0058] Step 2320. Obtain the extension direction of the target line as the second direction, and the angle between the second direction and the first direction shall not exceed 90 degrees;
[0059] Step 2330. Obtain the direction that forms a 90-degree angle with the second direction as the third direction. The angle between the third direction and the first direction is no greater than 90 degrees. The first direction, the second direction, and the third direction are all on the same plane.
[0060] Step 2340. Take the angle between the first direction and the third direction as the target oblique angle;
[0061] Specifically, such as Figure 3 and Figure 4 The diagram shows the direction of the oblique angle. Centered on the culvert section, the target construction direction of the culvert can be set to the upper right or lower left. When the target construction direction, i.e., the first direction, is determined to be the upper right, to ensure that the angle between the extension direction of the target line and the target construction direction does not exceed 90 degrees, the extension direction of the target line, i.e., the second direction, is directly to the right. The third direction, which forms a 90-degree angle with the extension direction of the target line and does not exceed 90 degrees with the target construction direction, should be directly upward. The angle between the first direction and the third direction is the oblique angle. Similarly, when the target construction direction, i.e., the first direction, is determined to be the lower left, the second direction, the third direction, and the oblique angle are determined accordingly.
[0062] Step S2400. Adjust the initial size parameters based on the target oblique angle to obtain the target size parameters;
[0063] Specifically, when the target culvert is constructed based on the target skew angle, the shape and size of the culvert will change compared to the initial size parameters.
[0064] Specifically, step S2400 includes:
[0065] Step S2410. Determine the adjustment dimension parameters from the initial dimension parameters. The adjustment dimension parameters are the initial dimension parameters corresponding to the target construction direction and the extension direction of the target line.
[0066] Specifically, among the initial dimensional parameters of the target culvert, there are dimensional parameters that change with the change of the skew angle. These dimensional parameters are usually the dimensional parameters corresponding to the target construction direction and the line extension direction of the target culvert.
[0067] Step S2420. Adjust the adjustment dimension parameters based on the target oblique angle to obtain the adjusted adjustment dimension parameters;
[0068] Specifically, step S2420 includes:
[0069] Step S2421. Calculate the cosine function value of the angle corresponding to the target oblique angle;
[0070] Specifically, the formula for calculating the cosine function value of the target oblique angle is:
[0071] X = cosθ
[0072] Where X is the cosine function value of the target oblique angle; θ is the target oblique angle; and cos is the cosine function.
[0073] Step S2422. Calculate the ratio of the adjustment dimension parameter to the cosine function value, and use it as the adjusted adjustment dimension parameter.
[0074] Specifically, the formula for calculating the dimensional parameters is as follows:
[0075]
[0076] Among them, L * The adjusted dimension parameters are: L = L / cosθ; L = L / cosθ; cosθ is the cosine function value of the target oblique angle.
[0077] Step S2430. Use the adjusted adjustment dimension parameters and the uncalculated initial dimension parameters as the target dimension parameters.
[0078] Specifically, the adjusted dimension parameters and the non-adjusted dimension parameters in the initial dimension parameters together form the target dimension parameters corresponding to the target oblique angle.
[0079] Step S3000. Construct the target cross-section of the first component based on the target size parameters;
[0080] Step S4000. Extrude the target section of the first component based on the target oblique angle, and construct the first component based on the target size parameters to obtain the three-dimensional model of the first component.
[0081] Specifically, such as Figure 5 The image shown is a 3D model of a culvert section. The cross-section of the culvert section can be constructed based on target dimension parameters, and the 3D model of the culvert section can be formed by stretching along the target skew angle. The length of the culvert section changes from Y to... Where θ is the target skew angle, and the elevation difference of each culvert segment is calculated based on the drainage slope, and placed at the accurate elevation; for example Figure 6 and Figure 7The image shows 3D models of the entrance / exit foundation components, the left wing wall foundation components, and the right wing wall components. Based on the target dimensional parameters such as culvert width, opening slope, straight section length, entrance / exit length, crossbeam length, crossbeam height, entrance / exit height, front and rear widths of the left and right foundations, front widths of the left and right foundations, front lengths of the foundations, and oblique angle, the cross sections of the entrance / exit foundations and the left and right wing wall foundations can be constructed. These models are then stretched along the target oblique angle to form 3D models of the culvert entrance / exit foundations and the left and right wing wall foundations. Rotating the generated models symmetrically by 180 degrees around the center of the target culvert yields the 3D model of the other side. Figure 8 The image shown is a 3D model of the handrail component. The front and rear handrail sections can be constructed based on target dimension parameters, and then extruded along the edges of the already generated vertical walls to form a segmented 3D model of the culvert handrail. Similarly, a 3D model of the handrail on the other side can be generated. Figure 9 and Figure 10 As shown, the three-dimensional diagrams of the vent bed component and the cone component can be generated based on the target size parameters such as vent bed length, vent bed width, T-section width, vent bed thickness, crossbeam length, crossbeam thickness, cone length, cone width, and cone height. The corresponding three-dimensional models can then be formed by stretching along the target oblique angle.
[0082] Considering that there are irregular second components in the three-dimensional model of the target culvert, the method of constructing cross-sections and stretching cannot accurately generate the corresponding component model. Therefore, the method of calculating each point of the second component and connecting them is used to obtain the three-dimensional model of the second component.
[0083] Step S5000. Calculate the coordinates of each point of the second component based on the target size parameters, and construct a three-dimensional model of the second component;
[0084] Specifically, step S5000 includes:
[0085] Step S5100. Calculate all coordinate points of the second component based on the adjusted final dimension parameters;
[0086] Step S5200. Construct a MESH bounding volume based on all coordinate points to obtain the three-dimensional model of the second component.
[0087] Specifically, the shapes of the wing walls and handrails in the target culvert are complex. The front wing wall, the rear wing wall, the straight section of the rear wing wall, and the connecting section of the front and rear handrails are all irregular geometric shapes. The actual positions of all points of the components can be calculated based on the target size parameters, and a three-dimensional model can be generated by constructing a multi-point MESH bounding body.
[0088] Step S6000. Combine the 3D models of all the first components with the 3D models of all the second components to obtain the 3D model of the target culvert.
[0089] Specifically, based on the relative positions of each component, the 3D model of the first component is spliced with the 3D model of the second component. The spliced model is the 3D model of the target culvert. After generating the 3D model of the target culvert, the required parameters such as the oblique angle can be adjusted again. The current 3D model will be readjusted to the 3D model of the target culvert corresponding to the changed oblique angle, without the need for remodeling, which greatly improves the generation efficiency of the culvert model.
[0090] Example 2:
[0091] like Figure 11 As shown, this embodiment provides a parametric 3D modeling device for culverts, the device comprising:
[0092] The dividing unit 1000 is used to divide the components in the target culvert into a first component and a second component based on shape rules. The first component is a component that changes regularly along any direction, and the second component is a non-standard polygonal component.
[0093] The first acquisition unit 2000 is used to acquire the target size parameters of the target culvert. The target size parameters are the size parameters required to construct the target culvert when there is a target skew angle between the target culvert and the target line.
[0094] Construction unit 3000 is used to construct the target cross section of the first component based on the target size parameters;
[0095] The stretching element 4000 is used to stretch the target section of the first component based on the target oblique angle, and to construct the first component based on the target size parameters to obtain the three-dimensional model of the first component;
[0096] The first calculation unit 5000 is used to calculate the coordinates of each point of the second component based on the target size parameters and to construct a three-dimensional model of the second component.
[0097] The splicing unit 6000 is used to splice the three-dimensional models of all the first components with the three-dimensional models of all the second components to obtain the three-dimensional model of the target culvert.
[0098] In one specific embodiment disclosed in this application, the first acquisition unit 2000 includes:
[0099] The second acquisition unit 2100 is used to acquire the initial size parameters of the target culvert, which are the minimum size parameters required for the target culvert to penetrate the target line.
[0100] The third acquisition unit 2200 is used to acquire the target construction direction of the target culvert.
[0101] The first determining unit 2300 is used to determine the target skew angle between the target culvert and the target line based on the target construction direction;
[0102] The first adjustment unit 2400 is used to adjust the initial size parameters based on the target oblique angle to obtain the target size parameters.
[0103] In one specific embodiment disclosed in this application, the first adjustment unit 2400 includes:
[0104] The second determining unit 2410 is used to determine the adjusting dimension parameters from the initial dimension parameters, wherein the adjusting dimension parameters are the partial initial dimension parameters corresponding to the target construction direction and the extension direction of the target line.
[0105] The second adjustment unit 2420 is used to adjust the adjustment dimension parameters based on the target oblique angle to obtain the adjusted adjustment dimension parameters;
[0106] The first processing unit 2430 is used to take the adjusted adjustment dimension parameters and the uncalculated initial dimension parameters as the target dimension parameters.
[0107] In one specific embodiment disclosed in this application, the second adjustment unit 2420 includes:
[0108] The second calculation unit 2421 is used to calculate the cosine function value of the angle corresponding to the oblique angle of the target;
[0109] The third calculation unit 2422 is used to calculate the ratio of the adjustment dimension parameter to the cosine function value, which is then used as the adjusted adjustment dimension parameter.
[0110] In one specific embodiment disclosed in this application, the first determining unit 2300 includes:
[0111] The second processing unit 2310 is used to take the target construction direction as the first direction;
[0112] The fourth acquisition unit 2320 is used to acquire the extension direction of the target line as the second direction, and the angle between the second direction and the first direction is no greater than 90 degrees.
[0113] The fifth acquisition unit 2330 is used to acquire the direction that forms a 90-degree angle with the second direction as the third direction. The angle between the third direction and the first direction is no greater than 90 degrees. The first direction, the second direction and the third direction are all on the same plane.
[0114] The third processing unit 2340 is used to take the angle between the first direction and the third direction as the target oblique angle.
[0115] In one specific embodiment disclosed in this application, the first computing unit 5000 includes
[0116] The fourth calculation unit 5100 is used to calculate all coordinate points of the second component based on the adjusted final size parameters;
[0117] Unit 5200 is obtained and used to construct a MESH bounding volume based on all coordinate points to obtain the three-dimensional model of the second component.
[0118] It should be noted that the specific manner in which each module performs its operation in the apparatus described in the above embodiments has been described in detail in the embodiments of the method, and will not be elaborated here.
[0119] Example 3:
[0120] Corresponding to the above method embodiments, this embodiment also provides a culvert parametric 3D modeling device. The culvert parametric 3D modeling device described below and the culvert parametric 3D modeling method described above can be referred to each other.
[0121] Figure 12 This is a block diagram illustrating a parametric 3D modeling device 800 for culverts according to an exemplary embodiment. Figure 12 As shown, the parametric 3D modeling device 800 for culverts may include a processor 801 and a memory 802. The parametric 3D modeling device 800 may also include one or more of a multimedia component 803, an I / O interface 804, and a communication component 805.
[0122] The processor 801 controls the overall operation of the parametric 3D modeling device 800 for culverts to complete all or part of the steps in the parametric 3D modeling method for culverts described above. The memory 802 stores various types of data to support the operation of the parametric 3D modeling device 800. This data may include, for example, instructions for any application or method operating on the device, as well as application-related data such as contact data, sent and received messages, images, audio, video, etc. The memory 802 can be implemented using any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touchscreen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted via the communication component 805. The audio component also includes at least one speaker for outputting audio signals. I / O interface 804 provides an interface between processor 801 and other interface modules, such as keyboards, mice, and buttons. These buttons can be virtual or physical. Communication component 805 is used for wired or wireless communication between the culvert parametric 3D modeling device 800 and other devices. Wireless communication includes, for example, Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination thereof. Therefore, the corresponding communication component 805 may include a Wi-Fi module, a Bluetooth module, and an NFC module.
[0123] In an exemplary embodiment, the culvert parametric 3D modeling device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the culvert parametric 3D modeling method described above.
[0124] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the above-described parametric 3D modeling method for culverts. For example, the computer-readable storage medium may be the memory 802 including the program instructions, which may be executed by the processor 801 of the parametric 3D modeling device 800 for completing the above-described parametric 3D modeling method for culverts.
[0125] Example 4:
[0126] Corresponding to the above method embodiments, this embodiment also provides a readable storage medium. The readable storage medium described below can be referred to in conjunction with the parametric 3D modeling method for culverts described above.
[0127] A readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the culvert parametric 3D modeling method described in the above method embodiments.
[0128] Specifically, the readable storage medium can be a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or any other readable storage medium capable of storing program code.
[0129] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
[0130] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A culvert parameterized three-dimensional modeling method, characterized in that, include: The components in the target culvert are divided into a first component and a second component based on shape rules. The first component is a component that changes regularly along any direction, and the second component is a non-standard polygonal component. Obtain the target size parameters of the target culvert, which are the size parameters required to construct the target culvert when there is a target skew angle between the target culvert and the target line; Construct the target cross section of the first component based on the target size parameters; The target cross section of the first component is stretched based on the target oblique angle, and the first component is constructed based on the target size parameters to obtain a three-dimensional model of the first component; Based on the target size parameters, calculate the coordinates of each point of the second component and construct a three-dimensional model of the second component; The three-dimensional models of all the first components are spliced together with the three-dimensional models of all the second components to obtain the three-dimensional model of the target culvert. The target size parameters of the target culvert are obtained as follows: Obtain the initial size parameters of the target culvert, which are the minimum size parameters required for the target culvert to penetrate the target route; Obtain the target construction direction of the target culvert; Determine the target skew angle between the target culvert and the target route based on the target construction direction; The initial size parameters are adjusted based on the target oblique angle to obtain the target size parameters; The method for obtaining target size parameters by adjusting the initial size parameters based on the target oblique angle includes: Adjusted dimension parameters are determined from the initial dimension parameters, wherein the adjusted dimension parameters are portions of the initial dimension parameters corresponding to the target construction direction and the extension direction of the target line; The adjustment dimension parameters are adjusted based on the target oblique angle to obtain the adjusted adjustment dimension parameters; The adjusted dimension parameters and the non-adjusted dimension parameters from the initial dimension parameters are used as the target dimension parameters; The adjustment of the adjustment dimension parameters based on the target oblique angle to obtain the adjusted adjustment dimension parameters includes: Calculate the cosine function value of the angle corresponding to the oblique angle of the target; Calculate the ratio of the adjustment dimension parameter to the cosine function value, and use it as the adjusted adjustment dimension parameter.
2. A parametric 3D modeling device for culverts, characterized in that, include: The dividing unit is used to divide the components in the target culvert into a first component and a second component based on shape rules. The first component is a component that changes regularly along any direction, and the second component is a non-standard polygonal component. The first acquisition unit is used to acquire the target size parameters of the target culvert, wherein the target size parameters are the size parameters required to construct the target culvert when there is a target skew angle between the target culvert and the target line. A construction unit is used to construct the target cross-section of the first component based on the target size parameters; An extrusion unit is used to extrude the target cross section of the first component based on the target oblique angle, and to construct the first component based on the target size parameters to obtain a three-dimensional model of the first component; The first calculation unit is used to calculate the coordinate positions of each point of the second component based on the target size parameters, and to construct a three-dimensional model of the second component; The splicing unit is used to splice the three-dimensional models of all the first components with the three-dimensional models of all the second components to obtain the three-dimensional model of the target culvert. The first acquisition unit includes: The second acquisition unit is used to acquire the initial size parameters of the target culvert, wherein the initial size parameters are the minimum size parameters required for the target culvert to pass through the target route; The third acquisition unit is used to acquire the target construction direction of the target culvert; The first determining unit is used to determine the target skew angle between the target culvert and the target line based on the target construction direction; The first adjustment unit is used to adjust the initial size parameters based on the target oblique angle to obtain the target size parameters; The first adjustment unit includes: The second determining unit is used to determine the adjusting dimension parameters from the initial dimension parameters, wherein the adjusting dimension parameters are a portion of the initial dimension parameters corresponding to the target construction direction and the extension direction of the target line; The second adjustment unit is used to adjust the adjustment dimension parameters based on the target oblique angle to obtain the adjusted adjustment dimension parameters; The first processing unit is used to take the adjusted size parameters and the non-adjusted size parameters from the initial size parameters as the target size parameters; The second adjustment unit includes: The second calculation unit is used to calculate the cosine function value of the angle corresponding to the oblique angle of the target; The third calculation unit is used to calculate the ratio of the adjustment size parameter to the cosine function value, respectively, as the adjusted adjustment size parameter.
3. A parametric 3D modeling device for culverts, characterized in that, include: Memory, used to store computer programs; A processor is configured to implement the steps of the parametric 3D modeling method for culverts as described in claim 1 when executing the computer program.
4. A readable storage medium, characterized by, The readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the parametric 3D modeling method for culverts as described in claim 1.