From: jfa Date: Wed, 9 Mar 2022 15:33:58 +0000 (+0300) Subject: [bos #26723] EDF 24464 - Problem of extra-edges X-Git-Tag: V9_9_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8bd22224ca77f3d7b9fb84a3e767f4ef6edd9bdb;p=modules%2Fgeom.git [bos #26723] EDF 24464 - Problem of extra-edges --- diff --git a/src/BlockFix/BlockFix_BlockFixAPI.cxx b/src/BlockFix/BlockFix_BlockFixAPI.cxx index 1e1a7b6ff..513526b3b 100644 --- a/src/BlockFix/BlockFix_BlockFixAPI.cxx +++ b/src/BlockFix/BlockFix_BlockFixAPI.cxx @@ -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