[bos #26723] EDF 24464 - Problem of extra-edges

This commit is contained in:
jfa 2022-03-09 18:33:58 +03:00
parent c6dad39806
commit 8bd22224ca

View 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