This paper mainly analyses the characters and boundary conditions of B-spline curve, and demonstrates the advantages of tke cubic B-spline curve in the computer drawing of soil test curves through comparing the curves drawn by computer for two kinds of mathematical mode between the cubic spline curve and cubic B-spline curve.