From c6b807b8e64ea1d9d118c7ff21bc53c687483015 Mon Sep 17 00:00:00 2001 From: gka Date: Fri, 1 Nov 2019 17:50:49 +0300 Subject: [PATCH] 0031123: Operation "fixshape" sets tolerance of face too big for face based on the uclosed but not periodic BSpline surface In the method ShapeFix_Wire::FixShifted() check on closure of surface is replaced on the check of the periodicity of surface --- src/ShapeFix/ShapeFix_Wire.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ShapeFix/ShapeFix_Wire.cxx b/src/ShapeFix/ShapeFix_Wire.cxx index b1d8eb45cb..3a2a32360d 100644 --- a/src/ShapeFix/ShapeFix_Wire.cxx +++ b/src/ShapeFix/ShapeFix_Wire.cxx @@ -1365,8 +1365,8 @@ Standard_Boolean ShapeFix_Wire::FixShifted() Handle(ShapeAnalysis_Surface) surf = myAnalyzer->Surface(); //#78 rln 12.03.99 S4135: checking spatial closure with Precision - Standard_Boolean uclosed = surf->IsUClosed(Precision()); - Standard_Boolean vclosed = surf->IsVClosed(Precision()) || surf->Surface()->IsKind (STANDARD_TYPE(Geom_SphericalSurface)); + Standard_Boolean uclosed = surf->Surface()->IsUPeriodic();//Precision()); + Standard_Boolean vclosed = surf->Surface()->IsVPeriodic();//Precision()) || surf->Surface()->IsKind (STANDARD_TYPE(Geom_SphericalSurface)); //#67 rln 01.03.99 S4135: ims010.igs entity D11900 (2D contour is 2*PI higher than V range [-pi/2,p/2]) // PTV 26.06.2002 begin -- 2.39.5