Two-dimensional drawing method of three-dimensional geological model based on 3DE platform
Patent Information
- Application Number
- CN202210960334.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-11
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-08-11
AI Technical Summary
[0005]本发明的目的是为了提供一种基于3DE平台的三维地质模型二维出图方法,为一种基于3DE地质模型的标准化二维地质出图方法,实现花纹、线型、图例一键绘制,图签的自定义定制,并实现二维剖面图图的标准输出,实现3DE平台下地质二维自动出图的三维地质模型的二维出图,提高工作效率;解决了现有3DE平台下地质二维出图无法自动化的问题
[0050]本发明提出一种基于3DE平台的三维地质模型二维出图方法,由三维地质模型快速输出标准化的二维地质剖面图,实现3DE平台下地质二维出图的一键出图、自动计算并绘制,提高工作效率;解决了现有3DE平台下地质二维出图无法自动化的问题。
Smart Images

Figure CN115455512B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of geological 3D modeling and BIM application technology, and particularly to a method for generating 2D maps from 3D geological models. More specifically, it is a method for generating 2D maps from 3D geological models based on the 3DE platform. Background Technology
[0002] With the widespread application of forward 3D design, geology is gradually transforming from the traditional 2D mapping model to forward 3D design. However, due to the relatively lagging industry standards for 3D mapping, 3D geological modeling has not yet been fully adopted. Engineering technicians still maintain their old mapping habits, requiring them to devote significant time and effort to drawing geological plan and profile diagrams. 3DEXPERIENCE Platform (3DE), launched by Dassault Systèmes in 2014, is a product development software application platform that integrates numerous digital design and simulation modules such as CATIA, ENOVIA, DELMIA, and SIMULIA. It enables 3D design, engineering, 3D CAD, modeling, simulation, data management, and workflow management.
[0003] While 3D geological models built on the 3DE platform can be used to generate 2D maps, the directly outputted maps are not standardized geological profiles and require further improvement. The 3DE platform also lacks standard pattern libraries, line type libraries, and legend libraries.
[0004] Therefore, it is necessary to develop a method for automatically generating two-dimensional maps of three-dimensional geological models on a 3DE platform. Summary of the Invention
[0005] The purpose of this invention is to provide a method for generating two-dimensional geological maps from three-dimensional geological models based on the 3DE platform. This method is a standardized two-dimensional geological mapping method based on 3DE geological models, enabling one-click drawing of patterns, line types, and legends, customizable map labels, and standard output of two-dimensional cross-sectional views. It achieves automatic two-dimensional mapping of three-dimensional geological models under the 3DE platform, improving work efficiency and solving the problem that existing two-dimensional geological mapping under the 3DE platform cannot be automated.
[0006] To achieve the above objectives, such as Figure 1 As shown, the technical solution of the present invention is: a method for generating two-dimensional maps from a three-dimensional geological model based on a 3DE platform, characterized by including the following steps:
[0007] Step 1: Establishing the resource library;
[0008] Step 2: Create the cross-sectional view;
[0009] Step 3: Automatically draw the ruler;
[0010] Step 4: Automatically draw the title tag;
[0011] Step 5: Automatically draw the drill holes;
[0012] Step Six: Use the developed line type library, pattern library, and legend library to add line types, patterns, and legends, enabling one-click drawing of patterns, line types, and legends, customization of title tags, and standard output of two-dimensional sectional views.
[0013] In the above technical solution, in step one, the resource library includes a pattern library, a line type library, and a symbol library;
[0014] The method for creating a pattern library is as follows:
[0015] Step 1a1: Log in to 3DE as an administrator;
[0016] Step 1a2: Select array vector in the standard configuration options;
[0017] Step 1a3: Add an instance and enter the pattern code;
[0018] Step 1a4: Configure the generated XML file in the standard folder;
[0019] The method for creating a line type library is as follows:
[0020] Step 1b1: Log in to 3DE as an administrator;
[0021] Step 1b2: Select the line type in the standard configuration options;
[0022] Step 1b3: Double-click the line type to access the line type editing interface and draw the line type;
[0023] Step 1b4: Configure the generated XML file in the standard folder;
[0024] The method for establishing the image label library is as follows:
[0025] Step 1c1: Create an engineering drawing and name it "Drawing Sign Library";
[0026] Step 1c2: Add a detailed engineering drawing at a scale of 1:1;
[0027] Step 1c3: Add a 2D component to the template toolbar and draw a label starting from the origin of the coordinate system.
[0028] In the above technical solution, the method for establishing the cross-sectional view in step two specifically includes the following steps:
[0029] Step 21: Create a front view of the XY plane using the front view;
[0030] Step 22: Generate a profile using the native profile view command;
[0031] Step 23: Rotate and translate the generated section view.
[0032] In the above technical solution, step three, automatically drawing the ruler, specifically includes the following steps:
[0033] Step 31: Obtain the CATIDftGenGeomAccess interface of SectionView to get all IDMCurve2D;
[0034] Step 32: Iterate through all IDMCurve2Ds and obtain the containing box of each IDMCurve2D;
[0035] Step 33: Add all the containing boxes into one containing box and calculate the minimum and maximum coordinate values of the containing box;
[0036] Step 34: Draw a ruler based on the bounding box coordinates.
[0037] In the above technical solution, step four, which involves automatically drawing the label, specifically includes the following steps:
[0038] Step 41: Obtain the BackgroundView of the current Sheet and draw the paper border;
[0039] Step 42: Based on the ID of the engineering drawing in the drawing library, search for the engineering drawing in the cooperation area and obtain the engineering drawing with the drawing library ID;
[0040] Step 43: Search for components in the drawing and find the component corresponding to the drawing label of the selected drawing type;
[0041] Step 44: Obtain the CATIDftView interface of the image tag, and calculate the containing box of the image tag to obtain the maximum coordinate maxx and the minimum coordinate minx of x;
[0042] Step 45: Obtain the coordinates (x, y) of the bottom right corner of the border, then the coordinates of the origin of the title block are (x - (maxx - minx), y); add the title block obtained in step 43 to the drawing.
[0043] In the above technical solution, step five, which involves automatically drawing the borehole, specifically includes the following steps:
[0044] Step 51: Obtain the associated 3D model through the View of the cross-section;
[0045] Step 52: Obtain the root node of the 3D model and traverse the structure tree of the 3D model to obtain the borehole coordinates (zx1, zy1), bottom coordinates (zx2, zy2), and borehole name (zk) of all boreholes;
[0046] Step 53: Traverse the boreholes and profile lines, and use the MinimumDistance function to obtain the nearest distance d between the profile line and the borehole point, the index of the profile line segment where the nearest distance is located, and the intersection point p of the nearest distance profile line;
[0047] Step 54: Traverse the profile lines in order. If the index is equal to the profile line segment number, obtain the length from the starting point of the profile line segment to point p. If the index is not equal to the profile line segment number, obtain the length of the profile line segment. Finally, add all the lengths together to obtain the projected distance h from the borehole point to the profile line.
[0048] Step 55: The borehole's opening coordinates in the cross-sectional view are (minx+h, zy1), and the bottom coordinates are (minx+h, zy2). Draw the borehole line based on the opening and bottom coordinates.
[0049] The present invention has the following advantages:
[0050] This invention proposes a method for generating two-dimensional geological maps from three-dimensional geological models based on the 3DE platform. It can quickly output standardized two-dimensional geological profile maps from three-dimensional geological models, realize one-click mapping, automatic calculation and drawing of geological two-dimensional maps under the 3DE platform, improve work efficiency, and solve the problem that geological two-dimensional mapping under the existing 3DE platform cannot be automated. Attached Figure Description
[0051] Figure 1 This is a technical roadmap of the present invention;
[0052] Figure 2 This is a flowchart illustrating the two-dimensional mapping method for three-dimensional geological models based on the 3DE platform according to the present invention.
[0053] Figure 3 This is an interface diagram of the two-dimensional output of the present invention. Detailed Implementation
[0054] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, these descriptions do not constitute a limitation of the present invention and are merely illustrative. The advantages of the present invention will become clearer and easier to understand through this description.
[0055] Example
[0056] like Figure 1 , 2 , Figure 3As shown, this embodiment uses the invention's method for generating two-dimensional maps from a three-dimensional geological model based on the 3DE platform, including the following steps:
[0057] (1) Open the drawn 3D geological model;
[0058] (2) Create engineering drawings;
[0059] (3) Create a front view using the front view command;
[0060] (4) Draw the section lines using the outline command and select the section lines in sequence;
[0061] (5) Open the developed 2D drawing command, enter the project name, drawing, scale, drawing options, drilling distance and other parameters, click OK, and automatically generate the section view, title, ruler and drilling;
[0062] (6) Open the secondary development line type library command, select the line to be set, search for the line type, and set the line type;
[0063] (7) Open the secondary development pattern library, search for a pattern, select the fill area, and set the pattern;
[0064] (8) Open the legend command in the secondary development, select the legend to be added and add it to the drawing;
[0065] (9) Fine-tune the position of elements such as legend, section, and title.
[0066] Conclusion: This embodiment demonstrates that the method of the present invention can achieve two-dimensional mapping and directly output standardized geological profile maps.
[0067] To more clearly illustrate the advantages of the 3DE platform-based method for generating two-dimensional maps from three-dimensional geological models as described in this invention compared to existing technologies (methods for generating two-dimensional maps based on three-dimensional geological models built on a 3DE platform), the researchers compared these two technical solutions, and the comparison results are shown in the table below:
[0068] Existing technology no no no no The present invention describes a method for generating two-dimensional maps from three-dimensional geological models based on a 3DE platform. The developed tools enable one-click drawing of patterns, lines, and legends. The developed tools enable the standard output of two-dimensional cross-sectional diagrams. Customization of title tags can be achieved through developed tools, such as one-click title tag creation. yes
[0069] As shown in the table above, compared with the prior art, the two-dimensional mapping method for three-dimensional geological models based on the 3DE platform described in this invention can realize one-click drawing of patterns, lines, and legends, can realize standard output of two-dimensional profile maps, can realize custom customization of map labels, and can realize automatic two-dimensional geological mapping under the 3DE platform, with high work efficiency.
[0070] All other unspecified parts belong to the prior art.
Claims
1. A method for generating two-dimensional maps from three-dimensional geological models based on the 3DE platform, characterized by: Includes the following steps, Step 1: Establishing the resource library; Step 2: Create the cross-sectional view; Step 3: Automatically draw the ruler; Step 4: Automatically draw the title tag; Step 5: Automatically draw the drill holes; Step Six: Add line types, patterns, and legends using the developed line type library, pattern library, and legend library; In step one, the resource library includes a pattern library, a line type library, and a label library; The method for creating a pattern library is as follows: Step 1a1: Log in to 3DE as an administrator; Step 1a2: Select array vector in the standard configuration options; Step 1a3: Add an instance and enter the pattern code; Step 1a4: Configure the generated XML file in the standard folder; The method for creating a line type library is as follows: Step 1b1: Log in to 3DE as an administrator; Step 1b2: Select the line type in the standard configuration options; Step 1b3: Double-click the line type to access the line type editing interface and draw the line type; Step 1b4: Configure the generated XML file in the standard folder; The method for creating the image signature library is as follows: Step 1c1: Create an engineering drawing and name it "Drawing Sign Library"; Step 1c2: Add a detailed engineering drawing at a scale of 1:1; Step 1c3: Add a 2D component to the template toolbar and draw a label starting from the origin of the coordinate system; In step three, the ruler is automatically drawn, which includes the following steps: Step 31: Obtain the CATIDftGenGeomAccess interface of SectionView to get all IDMCurve2D; Step 32: Iterate through all IDMCurve2Ds and obtain the containing box of each IDMCurve2D; Step 33: Add all the containing boxes into one containing box and calculate the minimum and maximum coordinate values of the containing box; Step 34: Draw a scale based on the bounding box coordinates; In step four, the label is automatically drawn, which includes the following steps: Step 41: Obtain the BackgroundView of the current Sheet and draw the paper border; Step 42: Based on the ID of the engineering drawing in the drawing library, search for the engineering drawing in the cooperation area and obtain the engineering drawing with the drawing library ID; Step 43: Search for components in the drawing and find the component corresponding to the drawing label of the selected drawing type; Step 44: Obtain the CATIDftView interface of the image tag, and calculate the containing box of the image tag to obtain the maximum coordinate maxx and the minimum coordinate minx of x; Step 45: Obtain the coordinates (x, y) of the bottom right corner of the border, then the coordinates of the origin of the title block are (x - (maxx - minx), y); add the title block obtained in step 43 to the drawing; In step five, the drill hole is automatically drawn, which specifically includes the following steps: Step 51: Obtain the associated 3D model through the View of the cross-section; Step 52: Obtain the root node of the 3D model and traverse the structure tree of the 3D model to obtain the borehole coordinates (zx1, zy1), bottom coordinates (zx2, zy2), and borehole name (zk) of all boreholes; Step 53: Traverse the boreholes and profile lines, and use the MinimumDistance function to obtain the nearest distance d between the profile line and the borehole point, the index of the profile line segment where the nearest distance is located, and the intersection point p of the nearest distance profile line; Step 54: Traverse the profile lines in order. If the index is equal to the profile line segment number, obtain the length from the starting point of the profile line segment to point p. If the index is not equal to the profile line segment number, obtain the length of the profile line segment. Finally, add all the lengths together to obtain the projected distance h from the borehole point to the profile line. Step 55: The borehole's opening coordinates in the cross-sectional view are (minx+h, zy1), and the bottom coordinates are (minx+h, zy2). Draw the borehole line based on the opening and bottom coordinates.
2. The method for generating two-dimensional maps from a three-dimensional geological model based on the 3DE platform according to claim 1, characterized in that: In step two, the method for creating the cross-sectional view specifically includes the following steps: Step 21: Create a front view of the XY plane using the front view; Step 22: Generate a profile using the native profile view command; Step 23: Rotate and translate the generated cross-sectional view.