To make the Kriging interpolation more consistent with the actual coal seam shape, combine interpolation points into a triangular mesh, extract a large triangular mesh using MATLAB for local interpolation, then identify triangular meshes with similar normal vectors. Formulate them into a plane, remove interpolation points inside the plane. Finally, continue interpolation at the boundaries, generate a triangular mesh, clip using the original boundary lines to retain internal triangular meshes, re-establish the boundary lines, and ultimately disperse the boundary lines into points. The research results show that applying this method to the construction of the Dananhu No. 2 open-pit mine coal seam model has improved the problem of coal seam transition stiffness, such as abnormal large-area triangulation in areas with large elevation differences, saving about 27000KB, about the memory occupied by the four-layer coal seam model, preventing boundary line positioning due to reasons such as too small density of points on the coal seam reserve boundary line and transitions are inaccurate, making the model transition at the boundary smoother and more consistent with the actual coal seam change trend. This method can be extended to the construction of all mine models.