In view of the difficult calculation and complex construction procedures in the large-area complex foundation treatment plan, based on actual engineering projects, the BIM application plan of foundation treatment in the whole life cycle of design and construction is studied. The article first visualizes the drilling data of geological survey in three dimensions. Then, on this basis, we use the Kriging algorithm to interpolate and fit the three-dimensional geological layer data with the borehole data as the sample data. The results of the experiment show that the three-dimensional model of geological bodies constructed by BIM technology can directly express the distribution of geological layers. This method realizes the information exchange between the BIM model and the numerical simulation software, and improves the accuracy of the calculation results.