diff --git a/src/ChFi3d/ChFi3d_Builder_6.cxx b/src/ChFi3d/ChFi3d_Builder_6.cxx index ddb773f27f..531a0d7073 100755 --- a/src/ChFi3d/ChFi3d_Builder_6.cxx +++ b/src/ChFi3d/ChFi3d_Builder_6.cxx @@ -521,12 +521,14 @@ Standard_Boolean ChFi3d_Builder::CompleteData { Handle(BRepBlend_AppFunc) TheFunc = new (BRepBlend_AppFunc)(lin, Func, tolapp3d, 1.e-5); + + Standard_Integer Degmax = 20, Segmax = 100; BRepBlend_AppSurface approx (TheFunc, lin->Point(1).Parameter(), lin->Point(lin->NbPoints()).Parameter(), tolapp3d, 1.e-5, //tolapp2d, tolerance max tolappangle, // Contact G1 - myConti); + myConti, Degmax, Segmax); if (!approx.IsDone()) { #ifdef DEB cout << "Approximation non faite !!!" << endl;