]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
[bos #26723] EDF 24464 - Problem of extra-edges
authorjfa <jfa@opencascade.com>
Wed, 9 Mar 2022 15:33:58 +0000 (18:33 +0300)
committerjfa <jfa@opencascade.com>
Wed, 9 Mar 2022 15:33:58 +0000 (18:33 +0300)
src/BlockFix/BlockFix_BlockFixAPI.cxx

index 1e1a7b6ffea859ae99d2b1db4e058c4405b9de4c..513526b3b471cee4b1851d14266e5590274ca0a6 100644 (file)
@@ -96,6 +96,8 @@ void BlockFix_BlockFixAPI::Perform()
     //Unifier.SetLinearTolerance(myTolerance);
     Unifier.SetLinearTolerance(Precision::Confusion());
     Unifier.SetAngularTolerance(Precision::Confusion());
+    //Unifier.SetAngularTolerance(1e-5);
+    //Unifier.SetAngularTolerance(0.1);
     Unifier.Build();
     aResult = Unifier.Shape();
   }
@@ -121,6 +123,7 @@ void BlockFix_BlockFixAPI::Perform()
   Standard_Boolean isConcatBSplines = Standard_True;
   Unifier.Initialize(aResult, isUnifyEdges, isUnifyFaces, isConcatBSplines);
   Unifier.SetLinearTolerance(myTolerance);
+  Unifier.SetAngularTolerance(1e-5);
   Unifier.Build();
   myShape = Unifier.Shape();
 #endif