Mine plan automatic drawing method and device based on mine information model
Patent Information
- Application Number
- CN202611391202.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-09
- Publication Date
- 2026-10-13
AI Technical Summary
设计人员根据矿山地质勘探报告、开拓设计方案等文档资料,在CAD软件中手动绘制矿山中段平面图,逐一标注信息,这种绘图方式耗时耗力,且人为错误率高
[0015]根据本发明提供的一种基于矿山信息模型的矿山平面图自动绘制方法及装置,与目前人工依赖CAD绘图软件进行手动矿山平面图绘制的方式相比,本发明的矿山平面图的绘制过程全程无需人工参与,从而能够提高矿山平面图的绘制效率和绘制准确度。具体地,通过中段标高值构建水平切割平面,对三维矿山信息模型中的井巷模型执行轴线路径与切割平面的逐段求交计算以生成井巷投影图元,对块体模型执行体元筛选与截面计算以生成块体投影图元,从而实现三维模型到二维中段平面图的自动转换,避免了人工手动绘制的过程,从而能够提高块体投影图元的绘制效率和绘制准确度;通过直接利用包含几何与属性信息的三维矿山信息模型来进行平面图绘制,确保了二维图纸的数据来源是完整且结构化的,避免了传统手工绘图中因参照不同底图或数据源而可能产生的信息遗漏或不一致的问题;通过自动从三维矿山信息模型中提取属性信息来生成标注图元,避免了人工查找数据、手动输入标注的繁琐且易错的环节,从而能够提高标注图元的生成效率和生成准确度;通过预设图层规则自动将不同类型的图元放置在不同图层进行平面图生成,生成的图纸结构清晰,便于后续的编辑、查询、打印和归档管理。
Smart Images

Figure CN122906266A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital design and information technology for mines, and in particular to a method and apparatus for automatically drawing mine plans based on a mine information model. Background Technology
[0002] The intermediate level plan is one of the core engineering drawings in underground mine design. It shows the planar layout of all underground development works at the intermediate level, including roadways, chambers, shafts, ramps, and other shaft and tunnel works, as well as the spatial distribution and grade characteristics of the ore body. The intermediate level plan serves as the fundamental technical basis for many key aspects of mine development scheme design, mining method selection, ventilation system design, and safety technology measure formulation.
[0003] Currently, the drawing of mid-section plan maps in mines mainly relies on designers manually drawing them using general-purpose 2D CAD software such as AutoCAD. Designers manually draw the mid-section plan maps in CAD software based on documents such as mine geological exploration reports and development design plans, and annotate information one by one. This drawing method is time-consuming, labor-intensive, and has a high rate of human error. Summary of the Invention
[0004] This invention provides a method and apparatus for automatically drawing mine plan maps based on a mine information model, which mainly improves the drawing efficiency and accuracy of mine plan maps.
[0005] According to a first aspect of the present invention, a method for automatically drawing a mine plan based on a mine information model is provided, comprising: Obtain a three-dimensional mine information model and interruption elevation values of the target mine, wherein the three-dimensional mine information model includes a shaft and tunnel model and a block model; A horizontal cutting plane is constructed based on the interrupted elevation value. The intersection of the tunnel model and the horizontal cutting plane is calculated. Based on the tunnel intersection result, a two-dimensional tunnel projection primitive labeled with tunnel attribute information is determined. The intersection of the block model and the horizontal cutting plane is calculated. Based on the block intersection result, a two-dimensional block projection primitive labeled with block attribute information is determined. According to the preset annotation rule template, the information to be annotated is extracted from the tunnel attribute information of the two-dimensional tunnel projection primitives and the block attribute information of the two-dimensional block projection primitives, and the annotation primitives are generated based on the information to be annotated. Based on the two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives, and the labeled primitives, a two-dimensional mine interruption plan view of the target mine is obtained by overlaying them according to preset layer rules.
[0006] Optionally, the intersection of the tunnel model and the horizontal cutting plane is calculated, and based on the intersection result, a two-dimensional tunnel projection primitive labeled with tunnel attribute information is determined, including: Determine the axis path of the tunnel model and decompose the axis path into a sequence of line segments connected by adjacent control points; For each line segment in the line segment sequence, the positional relationship between the two endpoints of the line segment and the horizontal cutting plane is determined. Based on the positional relationship, the intersection information between the line segment and the horizontal cutting plane is determined. Based on the intersection information of each line segment, a two-dimensional tunnel projection primitive labeled with tunnel attribute information is determined.
[0007] Optionally, determining the intersection information of the line segment and the horizontal cutting plane based on the positional relationship includes: If the Z coordinates of the two endpoints of the line segment are located on both sides of the horizontal cutting plane, the intersection coordinates of the line segment and the horizontal cutting plane are determined by linear interpolation as the intersection information. If the Z coordinates of the two endpoints of the line segment are both equal to the interrupt elevation value corresponding to the horizontal cutting plane, then the line segment located on the horizontal cutting plane is taken as the intersection information; If the Z coordinates of the two endpoints of the line segment are both located on the same side of the horizontal cutting plane, then it is determined that the line segment and the horizontal cutting plane have no intersection. Based on the intersection information of each line segment, two-dimensional tunnel projection primitives labeled with tunnel attribute information are determined, including: For the line segment sequence, the intersection points of the line segments with the horizontal cutting plane and the line segments on the horizontal cutting plane are sorted and connected according to the topological connection order of the tunnel model to obtain the two-dimensional plane projection path line of the tunnel model at the interruption elevation; Determine the shaft and tunnel attribute information of the shaft and tunnel model, and associate the shaft and tunnel attribute information with the two-dimensional plane projection path line to obtain two-dimensional shaft and tunnel projection primitives labeled with shaft and tunnel attribute information.
[0008] Optionally, the intersection of the block model and the horizontal cutting plane is calculated, and based on the block intersection result, a two-dimensional block projection primitive labeled with block attribute information is determined, including: In the block model, select multiple intersecting volume elements whose Z coordinate range intersects with the interruption elevation value; The intersection section between each intersecting volume element and the horizontal cutting plane is determined, and the intersection sections of adjacent intersecting volume elements are merged to generate the cross-sectional outline polygon of the block model at the interrupted elevation. Determine the block attribute information of the block model, and associate the block attribute information with the cross-sectional contour polygon to obtain a two-dimensional block projection primitive labeled with the block attribute information.
[0009] Optionally, after overlaying the two-dimensional shaft projection primitives, the two-dimensional block projection primitives, and the labeled primitives according to preset layer rules to obtain a two-dimensional mine interruption plan of the target mine, the method further includes: Establish a two-way association between each element in the two-dimensional mine interruption plan and the corresponding model in the three-dimensional mine information model; In response to the change operation of the three-dimensional mine information model, change information for the three-dimensional mine information model is obtained, and corresponding elements in the two-dimensional mine interruption plan are changed in a linked manner based on the change information and the bidirectional correlation.
[0010] Optionally, generating labeled primitives based on the information to be labeled includes: The information to be annotated is combined into annotation text according to a preset template format. The annotation text includes tunnel annotation text for annotating the two-dimensional tunnel projection elements and block annotation text for annotating the two-dimensional block projection elements. The annotation position of the annotation text in the two-dimensional shaft and tunnel projection primitive and the two-dimensional block projection primitive is determined, wherein the annotation position of the shaft and tunnel annotation text is determined based on the shaft and tunnel projection path line in the two-dimensional shaft and tunnel projection primitive, and the annotation position of the block annotation text is determined based on the geometric center of the block profile contour in the two-dimensional block projection primitive; Annotated primitives are generated based on the labeled text and the labeled location.
[0011] Optionally, after generating the labeled primitives based on the labeled text and the labeled positions, the method further includes: Construct a bounding rectangle for each of the labeled elements, and detect whether there is an overlapping area between any two bounding rectangles. If there is, under the constraint that the label leaders of the two labeled elements with overlapping areas point to the corresponding elements, adjust the label positions of the two labeled elements with overlapping areas to be non-overlapping.
[0012] According to a second aspect of the present invention, an automatic mine plan drawing device based on a mine information model is provided, comprising: The acquisition unit is used to acquire the three-dimensional mine information model and interruption elevation values of the target mine, wherein the three-dimensional mine information model includes a shaft model and a block model; The projection primitive determination unit is used to construct a horizontal cutting plane based on the interruption elevation value, find the intersection between the tunnel model and the horizontal cutting plane, determine the two-dimensional tunnel projection primitive labeled with tunnel attribute information based on the tunnel intersection result, find the intersection between the block model and the horizontal cutting plane, and determine the two-dimensional block projection primitive labeled with block attribute information based on the block intersection result; The annotation element generation unit is used to extract the information to be annotated from the shaft attribute information of the two-dimensional shaft projection element annotation and the block attribute information of the two-dimensional block projection element annotation according to the preset annotation rule template, and generate annotation elements based on the information to be annotated; The plan drawing unit is used to overlay the two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives, and the labeled primitives according to preset layer rules to obtain a two-dimensional mine interruption plan of the target mine.
[0013] According to a third aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the above-described method for automatically drawing mine plan maps based on a mine information model.
[0014] According to a fourth aspect of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the above-described method for automatically drawing mine plan maps based on a mine information model.
[0015] The present invention provides an automatic drawing method and apparatus for mine plan based on a mine information model. Compared with the current method of manually drawing mine plan by relying on CAD drawing software, the drawing process of the mine plan of the present invention does not require human intervention throughout the entire process, thereby improving the drawing efficiency and accuracy of mine plan. Specifically, by constructing a horizontal cutting plane using the mid-section elevation value, the tunnel model in the 3D mine information model is subjected to segment-by-segment intersection calculations of the axis path and the cutting plane to generate tunnel projection primitives. Similarly, volume element selection and section calculations are performed on the block model to generate block projection primitives. This achieves automatic conversion from a 3D model to a 2D mid-section plan view, avoiding manual drawing and improving the efficiency and accuracy of block projection primitive drawing. By directly utilizing the 3D mine information model containing geometric and attribute information for plan view drawing, the data source for the 2D drawings is ensured to be complete and structured, avoiding information omissions or inconsistencies that may occur when referring to different base maps or data sources in traditional manual drawing. By automatically extracting attribute information from the 3D mine information model to generate annotation primitives, the tedious and error-prone process of manually searching for data and manually inputting annotations is avoided, thus improving the efficiency and accuracy of annotation primitive generation. Furthermore, by automatically placing different types of primitives on different layers through preset layer rules, the generated drawings have a clear structure, facilitating subsequent editing, querying, printing, and archiving management. Attached Figure Description
[0016] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings: Figure 1 The flowchart illustrates a method for automatically drawing a mine plan based on a mine information model, according to an embodiment of the present invention. Figure 2 This invention provides a flowchart of another method for automatically drawing mine plan maps based on a mine information model. Figure 3 This invention provides a schematic diagram of the structure of an automatic mine plan drawing device based on a mine information model, according to an embodiment of the present invention. Figure 4 This invention provides a schematic diagram of another automatic mine plan drawing device based on a mine information model. Figure 5 A schematic diagram of the physical structure of a computer device provided in an embodiment of the present invention is shown. Detailed Implementation
[0017] The present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the present application can be combined with each other.
[0018] Currently, manually drawing mine plans using CAD drawing software is time-consuming, labor-intensive, and has a high rate of human error.
[0019] To address the aforementioned problems, embodiments of the present invention provide a method for automatically drawing mine plan maps based on a mine information model, such as... Figure 1 As shown, the method includes: 101. Obtain the three-dimensional mine information model and interruption elevation values of the target mine. The three-dimensional mine information model includes the tunnel model and the block model.
[0020] In this embodiment of the invention, a complete three-dimensional mine information model of the target mine is loaded into the mine information model database. This three-dimensional mine information model includes shaft and tunnel models and block models, each carrying attribute data. The shaft and tunnel models carry spatial coordinate sequences, cross-sectional shape and size parameters, and project category attributes for each shaft and tunnel project, such as main shaft project, auxiliary shaft project, inclined ramp project, transport roadway, connecting roadway, etc., as well as the elevation of the corresponding section and support information. The block models carry a regularly arranged three-dimensional voxel array, with each voxel having spatial location coordinates, such as center point coordinates or corner point coordinates, voxel size parameters, and geological attributes, such as ore grade, block number, ore type, and density. The loaded model data can then be structured and parsed to establish a spatial index data structure, such as an octree or R-tree index, to support subsequent efficient spatial queries and intersection calculations. Simultaneously, interruption elevation values can be determined according to actual needs. The embodiments of the present invention directly utilize a three-dimensional mine information model containing geometric and attribute information to draw plan views, ensuring that the data source of the two-dimensional drawings is complete and structured, and avoiding the problems of information omission or inconsistency that may occur in traditional manual drawing due to reference to different base maps or data sources.
[0021] In this embodiment of the invention, taking an iron ore mine as an example, the corresponding three-dimensional mine information model includes a total of 87 shaft and tunnel models, covering 3 main shaft projects (including 1 main vertical shaft and 2 auxiliary vertical shafts), 5 inclined shaft projects, 42 transport tunnels, 28 connecting tunnels, and 9 chambers. Each shaft and tunnel model includes the coordinate sequence of axis path control points, cross-sectional shape (e.g., rectangular, arched, or circular), dimensional parameters, project category code, and other attributes. The block model covers a space of approximately 1200m × 800m × 600m in the mining area, with each volumetric element having a size of 10m × 10m × 10m, totaling approximately 57,600 volumetric elements. Each volumetric element carries geological attributes such as total iron grade, magnetic iron grade, ore density, and block number.
[0022] 102. Construct a horizontal cutting plane based on the interrupted elevation value, find the intersection between the tunnel model and the horizontal cutting plane, and determine the two-dimensional tunnel projection primitive labeled with tunnel attribute information based on the tunnel intersection result. Find the intersection between the block model and the horizontal cutting plane, and determine the two-dimensional block projection primitive labeled with block attribute information based on the block intersection result.
[0023] In this embodiment of the invention, a horizontal cutting plane with an infinitely extending normal vector (0, 0, 1) passing through the point (0, 0, H) is constructed using the interruption elevation value F. Then, for each tunnel model, spatial intersection calculations with the horizontal cutting plane are performed one by one. Finally, based on the intersection results, the two-dimensional planar projection path line of the tunnel model on the horizontal cutting plane is determined. Finally, the attribute data of the tunnel model is associated with the two-dimensional planar projection path line to form a two-dimensional tunnel projection primitive. Simultaneously, using a spatial index data structure, all voxels in the block model whose Z-coordinate range intersects with the interruption elevation value H are selected. For each selected voxel, spatial intersection calculations with the horizontal cutting plane are performed one by one. Finally, based on the intersection results, the intersection section of each voxel with the horizontal cutting plane is determined. Based on the intersection section of each voxel, the cross-sectional contour polygon of the block model on the horizontal cutting plane is determined. The attribute data of the block model is associated with the cross-sectional contour polygon to form a two-dimensional block projection primitive. This invention, through the automatic construction of horizontal cutting planes and the execution of spatial intersection calculations, can accurately extract the true cross-sectional contours of tunnels and ore bodies at specific elevations. This replaces the traditional manual drawing and tracing methods, shortening drawing time and fundamentally eliminating geometric errors caused by human interpretation and drawing, ensuring absolute spatial consistency between 2D drawings and 3D models. Furthermore, this invention constructs horizontal cutting planes using mid-section elevation values, performs segment-by-segment intersection calculations between the axis paths and cutting planes on the tunnel models in the 3D mine information model to generate tunnel projection primitives, and performs volume element filtering and cross-section calculations on the block models to generate block projection primitives. This achieves automatic conversion from 3D models to 2D mid-section plan views, avoiding manual drawing and thus improving the efficiency and accuracy of block projection primitive drawing.
[0024] 103. Based on the preset annotation rule template, extract the information to be annotated from the tunnel attribute information of the two-dimensional tunnel projection element annotation and the block attribute information of the two-dimensional block projection element annotation, and generate annotation elements based on the information to be annotated.
[0025] The preset annotation rule template records various information that needs to be annotated. In this embodiment of the invention, engineering information annotations and geological information annotations on the plan view are generated by an automatic annotation engine using two-dimensional shaft and tunnel projection primitives carrying attribute information and two-dimensional block projection primitives. These engineering information annotations and geological information annotations are collectively referred to as annotation primitives. Specifically, according to the preset annotation rule template, the information to be annotated is extracted from the attribute fields associated with each primitive as the information to be annotated. For example, for shaft and tunnel projection primitives, information such as the engineering category name and cross-sectional dimensions are extracted as the information to be annotated; engineering category names include main shaft engineering, auxiliary shaft engineering, and ramp engineering. For block projection primitives, information such as ore grade value and block number are extracted as the information to be annotated. Finally, annotation primitives are generated based on the information to be annotated. This embodiment of the invention generates annotation primitives by automatically extracting attribute information from the three-dimensional mine information model, avoiding the tedious and error-prone process of manually searching for data and manually inputting annotations, thereby improving the generation efficiency and accuracy of annotation primitives.
[0026] 104. Based on the two-dimensional shaft and tunnel projection primitives, two-dimensional block projection primitives and labeled primitives, the two-dimensional mine interruption plan view of the target mine is obtained by overlaying them according to the preset layer rules.
[0027] In this embodiment of the invention, two-dimensional shaft and tunnel projection elements, two-dimensional block projection elements, and annotation elements are managed and overlaid according to preset layer rules to synthesize a complete two-dimensional mine interruption plan. For example, the shaft and tunnel axis projection is placed on the shaft and tunnel engineering layer; the ore block profile outline is placed on the geological information layer; the engineering category annotation is placed on the engineering annotation layer; and the grade information annotation is placed on the geological annotation layer. Mapping auxiliary elements such as a frame, legend, scale bar, and coordinate grid are added to output the final two-dimensional mid-section plan. This embodiment of the invention automatically places different types of elements on different layers to generate the plan through preset layer rules. The generated drawing has a clear structure, facilitating subsequent editing, querying, printing, and archiving. Furthermore, the entire process of drawing the mine plan in this embodiment of the invention requires no manual intervention, thereby improving the efficiency and accuracy of mine plan drawing.
[0028] The present invention provides an automatic drawing method for mine plan based on a mine information model. Compared with the current method of manually drawing mine plan by relying on CAD drawing software, the drawing process of the mine plan of the present invention does not require human intervention throughout the entire process, thereby improving the drawing efficiency and accuracy of mine plan. Specifically, by constructing a horizontal cutting plane using the mid-section elevation value, the tunnel model in the 3D mine information model is subjected to segment-by-segment intersection calculations of the axis path and the cutting plane to generate tunnel projection primitives. Similarly, volume element selection and section calculations are performed on the block model to generate block projection primitives. This achieves automatic conversion from a 3D model to a 2D mid-section plan view, avoiding manual drawing and improving the efficiency and accuracy of block projection primitive drawing. By directly utilizing the 3D mine information model containing geometric and attribute information for plan view drawing, the data source for the 2D drawings is ensured to be complete and structured, avoiding information omissions or inconsistencies that may occur when referring to different base maps or data sources in traditional manual drawing. By automatically extracting attribute information from the 3D mine information model to generate annotation primitives, the tedious and error-prone process of manually searching for data and manually inputting annotations is avoided, thus improving the efficiency and accuracy of annotation primitive generation. Furthermore, by automatically placing different types of primitives on different layers through preset layer rules, the generated drawings have a clear structure, facilitating subsequent editing, querying, printing, and archiving management.
[0029] Furthermore, to better illustrate the above-described process of automatically drawing a mine plan, as a refinement and extension of the above embodiments, this invention provides another method for automatically drawing a mine plan based on a mine information model, such as... Figure 2 As shown, the method includes: 201. Obtain the three-dimensional mine information model and interruption elevation values of the target mine. The three-dimensional mine information model includes the tunnel model and the block model.
[0030] Specifically, when a two-dimensional mine interruption plan needs to be drawn for a target mine, a three-dimensional mine information model is first obtained from the database. This three-dimensional mine information model is a full-lifecycle digital model constructed for the field of mining engineering, containing three-dimensional geometric information, engineering attribute information, and geological attribute information, covering shaft and tunnel models, block models, and geological body models. A two-dimensional mine interruption plan refers to a two-dimensional engineering drawing formed in underground mine design by projecting information such as shaft and tunnel engineering and ore body distribution near a specific elevation onto that elevation as a reference. It is a key technical document for the design of underground development and transportation systems. A shaft and tunnel model is a three-dimensional solid model formed by parametrically modeling underground development projects such as tunnels, chambers, shafts, and ramps in an underground mine. It includes attribute information such as spatial coordinates, axis paths, cross-sectional shape and size, and engineering category. A block model refers to a digital geological model that discretizes the space where the ore body is located into regular three-dimensional elements. Each element carries geological attribute information such as ore grade, ore type, and density, and is the basic data for mine reserve estimation and mining design.
[0031] 202. Construct a horizontal cutting plane based on the interrupted elevation value.
[0032] Specifically, for example, if the interrupted elevation is H = -494m, the horizontal cutting plane P is constructed based on this value as follows: normal vector n = (0, 0, 1), passing through the point (0, 0, -494). This embodiment of the invention, by introducing a horizontal cutting plane as a cutting reference, can accurately project complex three-dimensional spatial entities, such as inclined tunnels and irregular ore bodies, into a two-dimensional coordinate system. This dimensionality reduction method based on analytical geometry eliminates spatial positional deviations caused by visual perspective and subjective estimation in traditional manual drawing, ensuring that the generated planar map achieves pixel-level consistency with the three-dimensional model in terms of geometric topology.
[0033] 203. Determine the axis path of the tunnel model and decompose the axis path into a sequence of line segments connected by adjacent control points.
[0034] Specifically, for the tunnel model, its geometric center axis is determined as the axis path. The axis path is then discretized, for example, by selecting a series of key control points on the axis path based on a preset accuracy threshold or curvature variation characteristics. In curved sections, the control points are dynamically densified according to the radius of curvature to ensure that the error of the polyline approximation curve is within the allowable range. Each control point contains three-dimensional coordinates, and connecting adjacent control points sequentially yields multiple line segments, all of which form a line segment sequence.
[0035] 204. For each line segment in the line segment sequence, determine the positional relationship between the two endpoints of the line segment and the horizontal cutting plane, determine the intersection information between the line segment and the horizontal cutting plane based on the positional relationship, and determine the two-dimensional mine roadway projection graphic element marked with mine roadway attribute information based on the intersection information of each line segment.
[0036] For the embodiment of the present invention, for each line segment in the line segment sequence, it is determined which side of the horizontal cutting plane the two endpoints of the line segment are on, and then the intersection information between the line segment and the horizontal cutting plane needs to be determined based on the information. On this basis, step 204 specifically includes: if the Z-coordinates of the two endpoints of the line segment are respectively located on two sides of the horizontal cutting plane, determining the intersection coordinates of the line segment and the horizontal cutting plane by means of linear interpolation as the intersection information; if the Z-coordinates of the two endpoints of the line segment are both equal to the interruption elevation value corresponding to the horizontal cutting plane, taking the line segment located on the horizontal cutting plane as the intersection information; if the Z-coordinates of the two endpoints of the line segment are both located on the same side of the horizontal cutting plane, determining that there is no intersection between the line segment and the horizontal cutting plane.
[0037] Specifically, if the Z-coordinates (vertical coordinates) of the two endpoints of the line segment are respectively located on two sides of the horizontal cutting plane P, that is, one end has Z>H and the other end has Z<H, where H is the vertical coordinate value of the horizontal cutting plane P, the intersection coordinates of the line segment and the plane P are calculated, which can be specifically calculated by the linear interpolation method: the X-coordinate of the intersection point = X1 + (H - Z1) × (X2 - X1) / (Z2 - Z1), and the Y-coordinate of the intersection point = Y1 + (H - Z1) × (Y2 - Y1) / (Z2 - Z1). Where (X1, Y1, Z1) and (X2, Y2, Z2) are the coordinates of the two endpoints respectively. If the Z-coordinates of the two endpoints of the line segment are both equal to H, the entire line segment is located on the cutting plane and is directly retained; if the Z-coordinates of the two endpoints of the line segment are both located on the same side of the cutting plane, the line segment has no intersection with the plane P and is skipped. Thereafter, it is necessary to determine the two-dimensional mine roadway projection graphic element based on the intersection information. On this basis, the method includes: for the line segment sequence, sorting and connecting the intersection points of the line segments and the horizontal cutting plane and the line segments on the horizontal cutting plane according to the topological connection sequence of the mine roadway model, to obtain the two-dimensional plane projection path line of the mine roadway model at the interruption elevation; determining the mine roadway attribute information of the mine roadway model, and associating the mine roadway attribute information with the two-dimensional plane projection path line to obtain the two-dimensional mine roadway projection graphic element marked with the mine roadway attribute information.
[0038] Specifically, the intersection points obtained by finding the intersection of all line segments with the horizontal cutting plane, and the line segments located on the cutting plane, are sorted and connected according to the topological connection order of the original shaft model to generate a two-dimensional planar projection path line for each shaft at that elevation, i.e., the axis projection. For vertical shaft models, if its axis is vertical and passes through elevation H, a projection graphic of its cross-sectional outline, such as a circle or rectangle, is generated on the cutting plane. Each projection path line is associated and bound to the attribute information of its corresponding shaft model, including attribute fields such as project category, project name, cross-sectional dimensions, and support type, forming a two-dimensional shaft projection primitive carrying complete attribute information.
[0039] For example, taking a certain iron mine as an example, 87 shaft models are traversed, and intersection calculations with the cutting plane P are performed one by one: For the ramp engineering model, its axis path descends spirally in three-dimensional space. Taking ramp No. 1 as an example, its axis path is defined by 326 control points and decomposed into 325 line segments. After segment-by-segment intersection judgment, 8 line segments intersect with the cutting plane at elevation -494m, and the coordinates of 8 intersection points are calculated. These intersection points are connected in topological order to generate the two-dimensional projection path line of the ramp at elevation -494m. For the vertical shaft model, its axis is vertical and all pass through elevation -494m. The cross-sectional parameters of each vertical shaft are extracted, and the cross-sectional projection profile is generated at the corresponding position on the cutting plane. For the horizontal tunnel model, 35 tunnels with a mid-section elevation attribute of -494m are selected. The Z coordinate of their axis path is all -494m. The X and Y coordinate sequences of their axis path are directly extracted as the two-dimensional projection path line. All shaft and tunnel projection paths are associated with their corresponding project category, project name, cross-sectional dimensions, and other attribute information.
[0040] By maintaining the topological order of the original model, this invention can automatically reconnect discrete intersections into continuous polyline paths, ensuring that the generated two-dimensional primitives can accurately reflect the actual extension direction and turning relationship of the tunnel at that elevation, thus meeting the engineering design requirements for graphical connectivity.
[0041] 205. Find the intersection between the block model and the horizontal cutting plane, and determine the two-dimensional block projection primitives labeled with block attribute information based on the block intersection results.
[0042] In this embodiment of the invention, in order to draw a two-dimensional mine interruption plan view, it is also necessary to determine two-dimensional block projection primitives. Based on this, step 205 specifically includes: selecting multiple intersecting primitives in the block model whose Z coordinate range intersects with the interruption elevation value; determining the intersection section of each intersecting primitive with the horizontal cutting plane, and merging the intersection sections of adjacent intersecting primitives to generate the cross-sectional contour polygon of the block model at the interruption elevation; determining the block attribute information of the block model, and associating the block attribute information with the cross-sectional contour polygon to obtain two-dimensional block projection primitives labeled with block attribute information.
[0043] Specifically, in the block model, a spatial index data structure is used to filter all voxels whose Z-coordinate range intersects with the interrupted elevation value H. For regular cuboid voxels, the condition for the Z-coordinate range intersecting with the interrupted elevation value H is: the Z-coordinate of the voxel's bottom surface ≤ H ≤ the Z-coordinate of the voxel's top surface. Then, for each filtered intersecting voxel, its intersection section with the horizontal cutting plane P is calculated. For regular cuboid voxels, the intersection section with the horizontal cutting plane P is rectangular, and its four corner coordinates can be directly determined by the voxel's length and width. The rectangular sections of adjacent voxels under the same block number are merged to generate the overall profile polygon of the block at the interrupted elevation. Then, the cross-section of each voxel or the merged block profile is associated and bound with the geological attribute information of the corresponding voxel in the block model, including attribute fields such as ore grade, block number, and ore type. This yields a two-dimensional block projection primitive labeled with block attribute information. In geological block models that typically contain millions or even tens of millions of voxels, this invention directly excludes all irrelevant voxels located above and below the cutting plane, performing geometric calculations only on a very small number of intersecting voxels. This reduces data throughput and improves drawing efficiency. Since block models are inherently discrete, by merging the intersecting sections of adjacent voxels, sections sharing a boundary can be automatically identified and merged. This operation fuses multiple square or rectangular sections into a complete, closed sectional profile polygon, not only restoring the true shape of the geological ore body but also avoiding numerous broken lines in the 2D drawings, ensuring the quality of subsequent mine interruption plan views.
[0044] For example, using an octree spatial index, voxels with Z-coordinates within the range of -494m are quickly filtered out. The filtering criteria are: voxel bottom Z-coordinate ≤ -494 ≤ voxel top Z-coordinate. After filtering, a total of 1152 voxels intersect the cutting plane. For each intersecting voxel, its cross-sectional rectangle at the -494m elevation is calculated, with the four corner coordinates determined by the voxel's length and width range. Adjacent voxel cross-sectional rectangles belonging to the same block number are merged, and a polygon Boolean union operation is used to generate the overall profile polygon of each block. Each profile polygon is associated with the average total iron grade of the corresponding voxel and the block number.
[0045] 206. Based on the preset annotation rule template, extract the information to be annotated from the tunnel attribute information of the two-dimensional tunnel projection element annotation and the block attribute information of the two-dimensional block projection element annotation, and generate annotation elements based on the information to be annotated.
[0046] In this embodiment of the invention, the annotation information required for drawing a two-dimensional mine interruption plan view, as shown in the preset annotation rule template, is extracted from the shaft attribute information annotated in the two-dimensional shaft projection primitives and the block attribute information annotated in the two-dimensional block projection primitives as the annotation information to be annotated. Then, annotation primitives need to be generated based on the annotation information. Therefore, step 206 specifically includes: combining the annotation information into annotation text according to the preset template format, wherein the annotation text includes shaft annotation text for annotating the two-dimensional shaft projection primitives and block annotation text for annotating the two-dimensional block projection primitives; determining the annotation position of the annotation text in the two-dimensional shaft projection primitives and the two-dimensional block projection primitives, wherein the annotation position of the shaft annotation text is determined based on the shaft projection path line in the two-dimensional shaft projection primitives, and the annotation position of the block annotation text is determined based on the geometric center of the block profile contour in the two-dimensional block projection primitives; and generating annotation primitives based on the annotation text and the annotation position.
[0047] The preset template format is a text format pre-set according to actual needs. Specifically, firstly, the information to be labeled corresponding to the two-dimensional shaft and tunnel projection elements is combined into shaft and tunnel label text according to the preset template format, and the information to be labeled corresponding to the two-dimensional block projection elements is combined into block label text according to the preset template format. Then, the label position of the label text in the corresponding projection element is determined. For example, when labeling a shaft and tunnel projection path line, i.e., when labeling a two-dimensional shaft and tunnel projection element, the label position is set at the midpoint of the path line, and the label leader line is drawn from the midpoint of the path line; when labeling a ore body profile, i.e., when labeling a two-dimensional block projection element, the label position is set at the geometric center point of the profile outline polygon. Finally, shaft and tunnel label elements are generated based on the shaft and tunnel label text and the corresponding label position, and block label elements are generated based on the block label text and the corresponding label position, including two-dimensional graphic elements such as label leader lines and label text boxes. This embodiment of the invention can improve the accuracy of label element generation by determining reasonable label text and label position to generate label elements.
[0048] Furthermore, after generating the labeled primitives, in order to avoid the primitives overlapping and affecting the drawing effect, it is also necessary to detect and adjust the labeled positions. Based on this, the method includes: constructing a bounding rectangle for each labeled primitive, detecting whether there is an overlapping area between any two bounding rectangles, and if so, adjusting the labeled positions of the two labeled primitives with overlapping areas to be non-overlapping under the constraint that the labeled leaders of the two labeled primitives with overlapping areas point to the corresponding primitives.
[0049] Specifically, overlap detection and avoidance optimization are performed on all annotations, including: constructing a bounding rectangle for each annotation element; detecting whether there is overlap between any two bounding rectangles; for overlapping annotation elements, using a layout optimization algorithm based on force-oriented or greedy strategies, adjusting the position of the standard text box in the annotation element away from the overlapping area while keeping the annotation leader pointing to the correct annotation object; iteratively executing overlap detection and position adjustment until there is no overlap between all annotations or the preset maximum number of iterations is reached. This embodiment of the invention, by performing overlap detection on annotations and adjusting the position of overlapping annotations, can ensure the integrity of annotation information in the planar drawing and improve drawing quality.
[0050] For example, the automatic annotation engine is activated to generate annotations for all shaft and tunnel projection elements and block projection elements: Shaft and tunnel engineering annotations: Engineering category names are generated for each shaft and tunnel projection path, such as main shaft engineering, No. 1 ramp engineering, transport roadway, etc. The text size of the annotations is automatically adjusted according to the drawing scale. The initial annotation position is set at the midpoint offset of the path line; Grade information annotations: Grade annotations are generated for each ore block profile outline, and the annotation position is set at the geometric center of the outline polygon. Then, intelligent avoidance layout optimization is performed: 23 pairs of overlapping and conflicting annotations are detected. After 6 iterations of force-guided layout adjustment, all annotations are no longer overlapping, and the annotation leaders clearly point to the corresponding annotation objects.
[0051] 207. Based on the two-dimensional shaft and tunnel projection primitives, two-dimensional block projection primitives and labeled primitives, the two-dimensional mine interruption plan view of the target mine is obtained by overlaying them according to the preset layer rules.
[0052] The preset layer rules are set according to actual needs, assigning different graphic elements to different layers. Each layer contains information such as level, color, and line type. For example, the lithology fill layer is set at the bottom layer to hold 2D block projection elements; the tunnel outline layer is set in the middle layer to hold 2D shaft projection elements; and the text annotation and symbol label layer is set at the top layer to hold various label elements. This layered management ensures the clarity and standardization of subsequent graphic output. Then, the graphic elements of different layers are overlaid, and a mine coordinate grid, scale bar, legend, and title block are automatically added to output a 2D mine interruption plan view.
[0053] Furthermore, after drawing the two-dimensional mine interruption plan, it is also necessary to perform linkage processing between the three-dimensional mine information model and the two-dimensional mine interruption plan. Based on this, the method includes: establishing a bidirectional association relationship between each graphic element in the two-dimensional mine interruption plan and the corresponding model in the three-dimensional mine information model; responding to the change operation of the three-dimensional mine information model, obtaining change information for the three-dimensional mine information model, and performing linkage changes on the corresponding graphic elements in the two-dimensional mine interruption plan based on the change information and the bidirectional association relationship.
[0054] Specifically, a data association and change monitoring mechanism are established between the 2D mine interruption plan and the 3D mine information model, including: Association Establishment: A bidirectional reference relationship is established between each element in the 2D mine interruption plan and its source 3D mine information model object, recording which model object, at which elevation, and through which intersection operation the element was obtained. Change Monitoring and Triggering: When modifications are made to the 3D mine information model in the 3D environment, such as adjusting the roadway axis path, modifying cross-sectional dimensions, or updating the block model grade values, change information is captured through a model change event monitoring mechanism. Incremental Update Execution: Based on the captured change information, the affected 3D mine information model objects and their corresponding elements in the 2D mine interruption plan are determined. Only the affected elements are modified in a linked manner, achieving incremental and rapid updates to the 2D mine interruption plan and ensuring data consistency between the 2D mine interruption plan and the 3D mine information model.
[0055] According to another method for automatically drawing mine plans based on a mine information model provided by the present invention, compared with the current method of manually drawing mine plans by relying on CAD drawing software, the drawing process of the mine plan of the present invention does not require human intervention throughout the entire process, thereby improving the drawing efficiency and accuracy of mine plans. Specifically, by constructing a horizontal cutting plane using the mid-section elevation value, the tunnel model in the 3D mine information model is subjected to segment-by-segment intersection calculations of the axis path and the cutting plane to generate tunnel projection primitives. Similarly, volume element selection and section calculations are performed on the block model to generate block projection primitives. This achieves automatic conversion from a 3D model to a 2D mid-section plan view, avoiding manual drawing and improving the efficiency and accuracy of block projection primitive drawing. By directly utilizing the 3D mine information model containing geometric and attribute information for plan view drawing, the data source for the 2D drawings is ensured to be complete and structured, avoiding information omissions or inconsistencies that may occur when referring to different base maps or data sources in traditional manual drawing. By automatically extracting attribute information from the 3D mine information model to generate annotation primitives, the tedious and error-prone process of manually searching for data and manually inputting annotations is avoided, thus improving the efficiency and accuracy of annotation primitive generation. Furthermore, by automatically placing different types of primitives on different layers through preset layer rules, the generated drawings have a clear structure, facilitating subsequent editing, querying, printing, and archiving management.
[0056] Furthermore, as Figure 1 In specific implementation, embodiments of the present invention provide an automatic mine plan drawing device based on a mine information model, such as... Figure 3 As shown, the device includes: an acquisition unit 31, a projection element determination unit 32, an annotation element generation unit 33, and a plan view drawing unit 34.
[0057] The acquisition unit 31 can be used to acquire the three-dimensional mine information model and interruption elevation value of the target mine, wherein the three-dimensional mine information model includes a shaft model and a block model.
[0058] The projection primitive determination unit 32 can be used to construct a horizontal cutting plane based on the interrupted elevation value, find the intersection between the tunnel model and the horizontal cutting plane, determine a two-dimensional tunnel projection primitive labeled with tunnel attribute information based on the tunnel intersection result, find the intersection between the block model and the horizontal cutting plane, and determine a two-dimensional block projection primitive labeled with block attribute information based on the block intersection result.
[0059] The annotation element generation unit 33 can be used to extract the information to be annotated from the shaft attribute information of the two-dimensional shaft projection element annotation and the block attribute information of the two-dimensional block projection element annotation according to the preset annotation rule template, and generate annotation elements based on the information to be annotated.
[0060] The plan drawing unit 34 can be used to overlay the two-dimensional shaft and tunnel projection elements, the two-dimensional block projection elements, and the labeled elements according to preset layer rules to obtain a two-dimensional mine interruption plan of the target mine.
[0061] In specific application scenarios, in order to determine the two-dimensional shaft projection primitives, such as Figure 4 As shown, the projection element determination unit 32 includes a decomposition module 321 and a projection element determination module 322.
[0062] The decomposition module 321 can be used to determine the axis path of the tunnel model and decompose the axis path into a sequence of line segments connected by adjacent control points.
[0063] The projection primitive determination module 322 can be used to determine the positional relationship between the two endpoints of each line segment in the line segment sequence and the horizontal cutting plane, determine the intersection information between the line segment and the horizontal cutting plane based on the positional relationship, and determine the two-dimensional tunnel projection primitive labeled with tunnel attribute information based on the intersection information of each line segment.
[0064] In specific application scenarios, to determine the two-dimensional tunnel projection primitives, the projection primitive determination module 322 can be used as follows: if the Z coordinates of the two endpoints of the line segment are located on opposite sides of the horizontal cutting plane, then the intersection coordinates of the line segment and the horizontal cutting plane are determined by linear interpolation as intersection information; if the Z coordinates of the two endpoints of the line segment are both equal to the interrupted elevation value corresponding to the horizontal cutting plane, then the line segment located on the horizontal cutting plane is taken as intersection information; if the Z coordinates of the two endpoints of the line segment are both located on the same side of the horizontal cutting plane, then it is determined that the line segment and the horizontal cutting plane have no intersection; for the line segment sequence, the intersection points of the line segments and the horizontal cutting plane and the line segments on the horizontal cutting plane are sorted and connected according to the topological connection order of the tunnel model to obtain the two-dimensional plane projection path line of the tunnel model at the interrupted elevation; the tunnel attribute information of the tunnel model is determined, and the tunnel attribute information is associated with the two-dimensional plane projection path line to obtain two-dimensional tunnel projection primitives labeled with tunnel attribute information.
[0065] In specific application scenarios, in order to determine the two-dimensional block projection primitives, the projection primitive determination unit 32 also includes a filtering module 323 and a merging module 324.
[0066] The filtering module 323 can be used to filter out multiple intersecting volume elements in the block model whose Z coordinate range intersects with the interruption elevation value.
[0067] The merging module 324 can be used to determine the intersection section of each intersecting volume element and the horizontal cutting plane, and merge the intersection sections of adjacent intersecting volume elements to generate the cross-sectional contour polygon of the block model at the interrupted elevation.
[0068] The projection primitive determination module 322 can also be used to determine the block attribute information of the block model, and associate the block attribute information with the cross-sectional contour polygon to obtain a two-dimensional block projection primitive labeled with the block attribute information.
[0069] In specific application scenarios, in order to link and change the three-dimensional mine information model and the two-dimensional mine interruption plan, the device also includes a linkage change unit 35.
[0070] The linkage change unit 35 can be used to establish a bidirectional association between each graphic element in the two-dimensional mine interruption plan and the corresponding model in the three-dimensional mine information model; in response to the change operation of the three-dimensional mine information model, it can obtain change information for the three-dimensional mine information model, and perform linkage change on the corresponding graphic element in the two-dimensional mine interruption plan based on the change information and the bidirectional association.
[0071] In specific application scenarios, in order to generate labeled elements, the labeled element generation unit 33 includes a combination module 331, a position determination module 332, and a labeled element generation module 333.
[0072] The combination module 331 can be used to combine the information to be annotated into annotation text according to a preset template format. The annotation text includes tunnel annotation text for annotating the two-dimensional tunnel projection elements and block annotation text for annotating the two-dimensional block projection elements.
[0073] The position determination module 332 can be used to determine the annotation position of the annotation text in the two-dimensional tunnel projection primitive and the two-dimensional block projection primitive, wherein the annotation position of the tunnel annotation text is determined based on the tunnel projection path line in the two-dimensional tunnel projection primitive, and the annotation position of the block annotation text is determined based on the geometric center of the block profile contour in the two-dimensional block projection primitive.
[0074] The annotation element generation module 333 can be used to generate annotation elements based on the annotation text and the annotation position.
[0075] In specific application scenarios, in order to perform overlap detection and position adjustment on the labeled elements, the labeled element generation unit 33 also includes a position adjustment module 334.
[0076] The position adjustment module 334 can be used to construct a bounding rectangle for each of the labeled elements, detect whether there is an overlapping area between any two bounding rectangles, and if so, adjust the position of the two labeled elements with overlapping areas to be non-overlapping under the constraint that the label leaders of the two labeled elements with overlapping areas point to the corresponding elements.
[0077] It should be noted that other corresponding descriptions of the functional modules involved in the automatic mine plan drawing device based on a mine information model provided in this embodiment of the invention can be found in the following references. Figure 1 The corresponding description of the method shown will not be repeated here.
[0078] Based on the above, Figure 1Accordingly, this embodiment of the invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the following steps: acquiring a three-dimensional mine information model and interruption elevation values of the target mine, wherein the three-dimensional mine information model includes a shaft and tunnel model and a block model; constructing a horizontal cutting plane based on the interruption elevation values, intersecting the shaft and tunnel model with the horizontal cutting plane, determining two-dimensional shaft and tunnel projection primitives labeled with shaft and tunnel attribute information based on the shaft and tunnel intersection results, intersecting the block model with the horizontal cutting plane, determining two-dimensional block projection primitives labeled with block attribute information based on the block intersection results; extracting information to be labeled from the shaft and tunnel attribute information labeled by the two-dimensional shaft and tunnel projection primitives and the block attribute information labeled by the two-dimensional block projection primitives according to a preset labeling rule template, generating labeled primitives based on the information to be labeled; and overlaying the two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives, and the labeled primitives according to a preset layer rule to obtain a two-dimensional mine interruption plan view of the target mine.
[0079] Based on the above, Figure 1 The method shown and as Figure 3 The embodiment of the device shown in the invention also provides a physical structure diagram of a computer device, such as... Figure 5 As shown, the computer device includes: a processor 41, a memory 42, and a computer program stored in the memory 42 and executable on the processor. Both the memory 42 and the processor 41 are mounted on a bus 43. When the processor 41 executes the program, it performs the following steps: acquiring a three-dimensional mine information model and interruption elevation values of the target mine, wherein the three-dimensional mine information model includes a tunnel model and a block model; constructing a horizontal cutting plane based on the interruption elevation values; finding the intersection between the tunnel model and the horizontal cutting plane; and determining the tunnel attribute information based on the tunnel intersection result. The two-dimensional shaft and tunnel projection primitives are used to find the intersection between the block model and the horizontal cutting plane. Based on the intersection result, two-dimensional block projection primitives labeled with block attribute information are determined. According to a preset labeling rule template, the information to be labeled is extracted from the shaft and tunnel attribute information labeled by the two-dimensional shaft and tunnel projection primitives and the block attribute information labeled by the two-dimensional block projection primitives, respectively. Label primitives are generated based on the information to be labeled. The two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives and the label primitives are overlaid according to preset layer rules to obtain a two-dimensional mine interruption plan view of the target mine.
[0080] Through the technical solution of this invention, a horizontal cutting plane is constructed using the mid-section elevation value. The intersection calculation of the axis path and the cutting plane is performed segment by segment on the shaft and tunnel model in the 3D mine information model to generate shaft and tunnel projection elements. Volume element selection and section calculation are performed on the block model to generate block projection elements, thereby achieving automatic conversion from a 3D model to a 2D mid-section plan view, avoiding the manual drawing process and improving the drawing efficiency and accuracy of block projection elements. By directly utilizing the 3D mine information model containing geometric and attribute information for plan view drawing, the data source of the 2D drawings is ensured to be complete and structured, avoiding the information omissions or inconsistencies that may occur when referring to different base maps or data sources in traditional manual drawing. By automatically extracting attribute information from the 3D mine information model to generate annotation elements, the tedious and error-prone process of manually searching for data and manually inputting annotations is avoided, thereby improving the generation efficiency and accuracy of annotation elements. By automatically placing different types of elements on different layers through preset layer rules for plan view generation, the generated drawings have a clear structure, facilitating subsequent editing, querying, printing, and archiving management.
[0081] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0082] 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.
Claims
1. A method for automatically drawing mine plan maps based on a mine information model, characterized in that, include: Obtain a three-dimensional mine information model and interruption elevation values of the target mine, wherein the three-dimensional mine information model includes a shaft and tunnel model and a block model; A horizontal cutting plane is constructed based on the interrupted elevation value. The intersection of the tunnel model and the horizontal cutting plane is calculated. Based on the tunnel intersection result, a two-dimensional tunnel projection primitive labeled with tunnel attribute information is determined. The intersection of the block model and the horizontal cutting plane is calculated. Based on the block intersection result, a two-dimensional block projection primitive labeled with block attribute information is determined. According to the preset annotation rule template, the information to be annotated is extracted from the tunnel attribute information of the two-dimensional tunnel projection primitives and the block attribute information of the two-dimensional block projection primitives, and the annotation primitives are generated based on the information to be annotated. Based on the two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives, and the labeled primitives, a two-dimensional mine interruption plan view of the target mine is obtained by overlaying them according to preset layer rules.
2. The method according to claim 1, characterized in that, The intersection of the tunnel model and the horizontal cutting plane is calculated, and based on the intersection result, two-dimensional tunnel projection primitives labeled with tunnel attribute information are determined, including: Determine the axis path of the tunnel model and decompose the axis path into a sequence of line segments connected by adjacent control points; For each line segment in the line segment sequence, the positional relationship between the two endpoints of the line segment and the horizontal cutting plane is determined. Based on the positional relationship, the intersection information between the line segment and the horizontal cutting plane is determined. Based on the intersection information of each line segment, a two-dimensional tunnel projection primitive labeled with tunnel attribute information is determined.
3. The method according to claim 2, characterized in that, Determining the intersection information of the line segment and the horizontal cutting plane based on the positional relationship includes: If the Z coordinates of the two endpoints of the line segment are located on both sides of the horizontal cutting plane, the intersection coordinates of the line segment and the horizontal cutting plane are determined by linear interpolation as the intersection information. If the Z coordinates of the two endpoints of the line segment are both equal to the interrupt elevation value corresponding to the horizontal cutting plane, then the line segment located on the horizontal cutting plane is taken as the intersection information; If the Z coordinates of the two endpoints of the line segment are both located on the same side of the horizontal cutting plane, then it is determined that the line segment and the horizontal cutting plane have no intersection. Based on the intersection information of each line segment, two-dimensional tunnel projection primitives labeled with tunnel attribute information are determined, including: For the line segment sequence, the intersection points of the line segments with the horizontal cutting plane and the line segments on the horizontal cutting plane are sorted and connected according to the topological connection order of the tunnel model to obtain the two-dimensional plane projection path line of the tunnel model at the interruption elevation; Determine the shaft and tunnel attribute information of the shaft and tunnel model, and associate the shaft and tunnel attribute information with the two-dimensional plane projection path line to obtain two-dimensional shaft and tunnel projection primitives labeled with shaft and tunnel attribute information.
4. The method according to claim 1, characterized in that, The intersection of the block model and the horizontal cutting plane is calculated, and based on the intersection result, a two-dimensional block projection primitive labeled with block attribute information is determined, including: In the block model, select multiple intersecting volume elements whose Z coordinate range intersects with the interruption elevation value; The intersection section between each intersecting volume element and the horizontal cutting plane is determined, and the intersection sections of adjacent intersecting volume elements are merged to generate the cross-sectional outline polygon of the block model at the interrupted elevation. Determine the block attribute information of the block model, and associate the block attribute information with the cross-sectional contour polygon to obtain a two-dimensional block projection primitive labeled with the block attribute information.
5. The method according to claim 1, characterized in that, After overlaying the two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives, and the labeled primitives according to preset layer rules to obtain a two-dimensional mine interruption plan view of the target mine, the method further includes: Establish a two-way association between each element in the two-dimensional mine interruption plan and the corresponding model in the three-dimensional mine information model; In response to the change operation of the three-dimensional mine information model, change information for the three-dimensional mine information model is obtained, and corresponding elements in the two-dimensional mine interruption plan are changed in a linked manner based on the change information and the bidirectional correlation.
6. The method according to claim 1, characterized in that, Generate labeled primitives based on the information to be labeled, including: The information to be annotated is combined into annotation text according to a preset template format. The annotation text includes tunnel annotation text for annotating the two-dimensional tunnel projection elements and block annotation text for annotating the two-dimensional block projection elements. The annotation position of the annotation text in the two-dimensional shaft and tunnel projection primitive and the two-dimensional block projection primitive is determined, wherein the annotation position of the shaft and tunnel annotation text is determined based on the shaft and tunnel projection path line in the two-dimensional shaft and tunnel projection primitive, and the annotation position of the block annotation text is determined based on the geometric center of the block profile contour in the two-dimensional block projection primitive; Annotated primitives are generated based on the labeled text and the labeled location.
7. The method according to claim 6, characterized in that, After generating labeled primitives based on the labeled text and the labeled locations, the method further includes: Construct a bounding rectangle for each of the labeled elements, and detect whether there is an overlapping area between any two bounding rectangles. If there is, under the constraint that the label leaders of the two labeled elements with overlapping areas point to the corresponding elements, adjust the label positions of the two labeled elements with overlapping areas to be non-overlapping.
8. An automatic drawing device for mine plan based on a mine information model, characterized in that, include: The acquisition unit is used to acquire the three-dimensional mine information model and interruption elevation values of the target mine, wherein the three-dimensional mine information model includes a shaft model and a block model; The projection primitive determination unit is used to construct a horizontal cutting plane based on the interruption elevation value, find the intersection between the tunnel model and the horizontal cutting plane, determine the two-dimensional tunnel projection primitive labeled with tunnel attribute information based on the tunnel intersection result, find the intersection between the block model and the horizontal cutting plane, and determine the two-dimensional block projection primitive labeled with block attribute information based on the block intersection result; The annotation element generation unit is used to extract the information to be annotated from the shaft attribute information of the two-dimensional shaft projection element annotation and the block attribute information of the two-dimensional block projection element annotation according to the preset annotation rule template, and generate annotation elements based on the information to be annotated; The plan drawing unit is used to overlay the two-dimensional shaft and tunnel projection primitives, the two-dimensional block projection primitives, and the labeled primitives according to preset layer rules to obtain a two-dimensional mine interruption plan of the target mine.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.