0022727: Fillet not produces a result
authorJGV <>
Fri, 21 Oct 2011 17:40:30 +0000 (17:40 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:30:52 +0000 (19:30 +0400)
src/ChFi3d/ChFi3d_Builder_6.cxx

index ddb773f..531a0d7 100755 (executable)
@@ -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;