From: akaftasev Date: Fri, 15 Jan 2021 07:50:18 +0000 (+0300) Subject: 0029745: Modeling Data - GeomAdaptor_Surface::VIntervals fails on periodic surfaces X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR29745_2;p=occt-copy.git 0029745: Modeling Data - GeomAdaptor_Surface::VIntervals fails on periodic surfaces Fixed GeomAdaptor_Curve::LocalContinuity() for periodic surface within one period. Fixed GeomAdaptor_Curve::NbIntervals() method to periodic curves. Fixed GeomAdaptor_Curve::Intervals() method to periodic curves. Deleted definition of length from tests. Updated Geom2dAdaptor_Curve to the same behavior. Added tests for 2d and 3d. --- diff --git a/src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx b/src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx index 2220bb3c65..6d98fe558b 100644 --- a/src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx +++ b/src/Geom2dAdaptor/Geom2dAdaptor_Curve.cxx @@ -97,8 +97,17 @@ GeomAbs_Shape Geom2dAdaptor_Curve::LocalContinuity(const Standard_Real U1, Index2--; Standard_Integer MultMax; // attention aux courbes peridiques. - if ( myBSplineCurve->IsPeriodic() && Index1 == Nb ) - Index1 = 1; + if (myBSplineCurve->IsPeriodic()) + { + if (Index1 == Nb) + { + Index1 = 1; + } + if (Index2 == 0) + { + Index2 = Nb; + } + } if ( Index2 - Index1 <= 0) { MultMax = 100; // CN entre 2 Noeuds consecutifs @@ -356,10 +365,33 @@ Standard_Integer Geom2dAdaptor_Curve::NbIntervals(const GeomAbs_Shape S) const Precision::PConfusion()); if ( Abs(newFirst-TK(Index1+1))< Eps) Index1++; if ( newLast-TK(Index2)> Eps) Index2++; + + if (myBSplineCurve->IsPeriodic()) + { + if (Index1 == Nb) + { + Index1 = 1; + } + if (Index2 == 1) + { + Index2 = Nb; + } + } myNbIntervals = 1; - for ( Standard_Integer i=1; i<=NbInt; i++) - if (Inter(i)>Index1 && Inter(i)IsPeriodic() && (Index1 >= Index2)) + { + if ((Inter(i) > Index1 && Inter(i) < Nb) || (Inter(i) > 0 && Inter(i) < Index2)) + { + myNbIntervals++; + } + } + else if (Inter(i) > Index1 && Inter(i) < Index2) + { + myNbIntervals++; + } + } } break; } @@ -461,23 +493,69 @@ void Geom2dAdaptor_Curve::Intervals(TColStd_Array1OfReal& T, Precision::PConfusion()); if ( Abs(newFirst-TK(Index1+1))< Eps) Index1++; if ( newLast-TK(Index2)> Eps) Index2++; + + if (myBSplineCurve->IsPeriodic()) + { + if (Index1 == Nb) + { + Index1 = 1; + } + if (Index2 == 1) + { + Index2 = Nb; + } + } - Inter( 1) = Index1; myNbIntervals = 1; - for ( Standard_Integer i=1; i<=NbInt; i++) { - if (Inter(i) > Index1 && Inter(i)IsPeriodic() && (Index1 >= Index2)) + { + for (Standard_Integer i = Index1; i <= NbInt; i++) + { + if (Inter(i) > Index1 && Inter(i) < Nb) + { + myNbIntervals++; + aFinalIntervals(myNbIntervals) = Inter(i); + } + } + for (Standard_Integer i = 1; i <= Index2; i++) + { + if (Inter(i) > 0 && Inter(i) < Index2) + { + myNbIntervals++; + aFinalIntervals(myNbIntervals) = Inter(i); + } + } + } + else + { + for (Standard_Integer i = 1; i <= NbInt; i++) + { + if (Inter(i) > Index1 && Inter(i) < Index2) + { + myNbIntervals++; + aFinalIntervals(myNbIntervals) = Inter(i); + } + } + } + + aFinalIntervals(myNbIntervals + 1) = Index2; + + for (Standard_Integer I = 1; I <= myNbIntervals; I++) + { + T(I) = TK(aFinalIntervals(I)); + if (myBSplineCurve->IsPeriodic()) + { + T(I) += myBSplineCurve->Period() * Ceiling((myFirst - T(I)) / myBSplineCurve->Period()); + } + } + } + T(T.Lower()) = myFirst; + T(T.Lower() + myNbIntervals) = myLast; + return; } } } diff --git a/src/GeomAdaptor/GeomAdaptor_Curve.cxx b/src/GeomAdaptor/GeomAdaptor_Curve.cxx index 6d8bfae812..e16f4ed0d4 100644 --- a/src/GeomAdaptor/GeomAdaptor_Curve.cxx +++ b/src/GeomAdaptor/GeomAdaptor_Curve.cxx @@ -90,23 +90,33 @@ GeomAbs_Shape GeomAdaptor_Curve::LocalContinuity(const Standard_Real U1, if ( Abs(newFirst-TK(Index1+1))IsPeriodic()) && (Index1 == Nb) ) - Index1 = 1; + Standard_Integer MultMax; - if ( Index2 - Index1 <= 0) { + if (myBSplineCurve->IsPeriodic()) + { + if (Index1 == Nb) + { + Index1 = 1; + } + if (Index2 == 0) + { + Index2 = Nb; + } + } + + if (Index2 - Index1 <= 0) { MultMax = 100; // CN entre 2 Noeuds consecutifs } else { - MultMax = TM(Index1+1); - for(Standard_Integer i = Index1+1;i<=Index2;i++) { - if ( TM(i)>MultMax) MultMax=TM(i); + MultMax = TM(Index1 + 1); + for (Standard_Integer i = Index1 + 1; i <= Index2; i++) { + if (TM(i) > MultMax) MultMax = TM(i); } MultMax = myBSplineCurve->Degree() - MultMax; } + if ( MultMax <= 0) { return GeomAbs_C0; } @@ -271,11 +281,11 @@ Standard_Integer GeomAdaptor_Curve::NbIntervals(const GeomAbs_Shape S) const TColStd_Array1OfInteger Mults (1, NbKnots); myBSplineCurve->Multiplicities (Mults); NbSplit = 1; - Standard_Integer Index = FirstIndex; + Standard_Integer Index = FirstIndex; Inter (NbSplit) = Index; Index++; NbSplit++; - while (Index < LastIndex) + while (Index < LastIndex) { if (Degree - Mults (Index) < Cont) { @@ -300,14 +310,7 @@ Standard_Integer GeomAdaptor_Curve::NbIntervals(const GeomAbs_Shape S) const BSplCLib::LocateParameter(myBSplineCurve->Degree(),TK,TM,myLast, myBSplineCurve->IsPeriodic(), 1,Nb,Index2,newLast); - // Protection against myFirst = UFirst - eps, which located as ULast - eps - if (myBSplineCurve->IsPeriodic() && (newLast - newFirst) < Precision::PConfusion()) - { - if (Abs(newLast - myBSplineCurve->FirstParameter()) < Precision::PConfusion()) - newLast += myBSplineCurve->Period(); - else - newFirst -= myBSplineCurve->Period(); - } + // On decale eventuellement les indices // On utilise une "petite" tolerance, la resolution ne doit // servir que pour les tres longue courbes....(PRO9248) @@ -316,9 +319,33 @@ Standard_Integer GeomAdaptor_Curve::NbIntervals(const GeomAbs_Shape S) const if ( Abs(newFirst-TK(Index1+1))< Eps) Index1++; if ( newLast-TK(Index2)> Eps) Index2++; + if (myBSplineCurve->IsPeriodic()) + { + if (Index1 == Nb) + { + Index1 = 1; + } + if (Index2 == 1) + { + Index2 = Nb; + } + } + myNbIntervals = 1; - for ( Standard_Integer i=1; i<=NbInt; i++) - if (Inter(i)>Index1 && Inter(i)IsPeriodic() && (Index1 >= Index2)) + { + if ((Inter(i) > Index1 && Inter(i) < Nb) || (Inter(i) > 0 && Inter(i) < Index2)) + { + myNbIntervals++; + } + } + else if (Inter(i) > Index1 && Inter(i) < Index2) + { + myNbIntervals++; + } + } } break; } @@ -425,21 +452,14 @@ void GeomAdaptor_Curve::Intervals(TColStd_Array1OfReal& T, const TColStd_Array1OfReal& TK = myBSplineCurve->Knots(); const TColStd_Array1OfInteger& TM = myBSplineCurve->Multiplicities(); BSplCLib::LocateParameter(myBSplineCurve->Degree(),TK,TM,myFirst, - myBSplineCurve->IsPeriodic(), + myBSplineCurve->IsPeriodic(), 1,Nb,Index1,newFirst); BSplCLib::LocateParameter(myBSplineCurve->Degree(),TK,TM,myLast, - myBSplineCurve->IsPeriodic(), + myBSplineCurve->IsPeriodic(), 1,Nb,Index2,newLast); FirstParam = newFirst; LastParam = newLast; - // Protection against myFirst = UFirst - eps, which located as ULast - eps - if (myBSplineCurve->IsPeriodic() && (LastParam - FirstParam) < Precision::PConfusion()) - { - if (Abs(LastParam - myBSplineCurve->FirstParameter()) < Precision::PConfusion()) - LastParam += myBSplineCurve->Period(); - else - FirstParam -= myBSplineCurve->Period(); - } + // On decale eventuellement les indices // On utilise une "petite" tolerance, la resolution ne doit // servir que pour les tres longue courbes....(PRO9248) @@ -448,23 +468,68 @@ void GeomAdaptor_Curve::Intervals(TColStd_Array1OfReal& T, if ( Abs(FirstParam-TK(Index1+1))< Eps) Index1++; if ( LastParam-TK(Index2)> Eps) Index2++; + if (myBSplineCurve->IsPeriodic()) + { + if (Index1 == Nb) + { + Index1 = 1; + } + if (Index2 == 1) + { + Index2 = Nb; + } + } + myNbIntervals = 1; TColStd_Array1OfInteger aFinalIntervals(1, Inter.Upper()); aFinalIntervals(1) = Index1; - for ( Standard_Integer i=1; i<=NbInt; i++) { - if (Inter(i) > Index1 && Inter(i)IsPeriodic() && (Index1 >= Index2)) + { + for (Standard_Integer i = Index1; i <= NbInt; i++) + { + if (Inter(i)>Index1 && Inter(i) < Nb) + { + myNbIntervals++; + aFinalIntervals(myNbIntervals) = Inter(i); + } + } + for (Standard_Integer i = 1; i <= Index2; i++) + { + if (Inter(i) > 0 && Inter(i) < Index2) + { + myNbIntervals++; + aFinalIntervals(myNbIntervals) = Inter(i); + } + } + } + else + { + for (Standard_Integer i = 1; i <= NbInt; i++) + { + if (Inter(i) > Index1 && Inter(i) < Index2) + { + myNbIntervals++; + aFinalIntervals(myNbIntervals) = Inter(i); + } + } + } + + aFinalIntervals(myNbIntervals + 1) = Index2; + + for (Standard_Integer I=1;I<=myNbIntervals;I++) + { T(I) = TK(aFinalIntervals(I)); - } - } - break; + if (myBSplineCurve->IsPeriodic()) + { + T(I) += myBSplineCurve->Period() * Ceiling((myFirst - T(I)) / myBSplineCurve->Period()); + } + } + } + T(T.Lower()) = myFirst; + T(T.Lower() + myNbIntervals) = myLast; + return; } } } diff --git a/src/QABugs/QABugs_20.cxx b/src/QABugs/QABugs_20.cxx index b0ca49f9cc..b5f9399e79 100644 --- a/src/QABugs/QABugs_20.cxx +++ b/src/QABugs/QABugs_20.cxx @@ -3885,6 +3885,59 @@ static Standard_Integer QANullifyShape(Draw_Interpretor& di, return 0; } +static Standard_Integer OCC29745 (Draw_Interpretor& theDI, + Standard_Integer theNbArgs, + const char** theArgVec) +{ + if (theNbArgs != 4) + { + theDI << "Usage : OCC29745 2d/3d Par1 Par2"; + return 1; + } + + Standard_Boolean is3D = strcmp(theArgVec[1], "3d") == 0; + + Standard_Integer a1, a2; + a1 = Draw::Atoi(theArgVec[2]); + a2 = Draw::Atoi(theArgVec[3]); + + TColStd_Array1OfReal VKnots(1, 5), aResults(1, abs(a1 - a2) + 1); + VKnots(1) = 0; VKnots(2) = 1; VKnots(3) = 2; VKnots(4) = 3; VKnots(5) = 4; + TColStd_Array1OfInteger VMult(1, 5); + VMult(1) = 1; VMult(2) = 1; VMult(3) = 1; VMult(4) = 1; VMult(5) = 1; + + if (is3D) + { + TColgp_Array2OfPnt aPoles(1, 2, 1, 4); + aPoles(1, 1) = gp_Pnt(0, 0, 0); aPoles(2, 1) = gp_Pnt(0, 0, 1); + aPoles(1, 2) = gp_Pnt(1, 0, 0); aPoles(2, 2) = gp_Pnt(1, 0, 1); + aPoles(1, 3) = gp_Pnt(0, 1, 0); aPoles(2, 3) = gp_Pnt(0, 1, 1); + aPoles(1, 4) = gp_Pnt(1, 1, 0); aPoles(2, 4) = gp_Pnt(1, 1, 1); + TColStd_Array1OfReal UKnots(1, 2); + UKnots(1) = 0; UKnots(2) = 1; + TColStd_Array1OfInteger UMult(1, 2); + UMult(1) = 2; UMult(2) = 2; + + Handle(Geom_BSplineSurface) aSurf = new Geom_BSplineSurface(aPoles, UKnots, VKnots, UMult, VMult, 1, 1, false, true); + GeomAdaptor_Surface anAdaptSurf(aSurf, 0, 1, a1, a2); + anAdaptSurf.VIntervals(aResults, GeomAbs_C1); + } + else + { + TColgp_Array1OfPnt2d aPoles(1, 4); + aPoles(1) = gp_Pnt2d(0, 0); + aPoles(2) = gp_Pnt2d(1, 0); + aPoles(3) = gp_Pnt2d(0, 1); + aPoles(4) = gp_Pnt2d(1, 1); + Handle(Geom2d_BSplineCurve) aBScurve = new Geom2d_BSplineCurve(aPoles, VKnots, VMult, 1, true); + Geom2dAdaptor_Curve aAdaptCurve(aBScurve, a1, a2); + aAdaptCurve.Intervals(aResults, GeomAbs_C1); + } + + for (TColStd_Array1OfReal::const_iterator i(aResults.begin()); i != aResults.end(); ++i) theDI << *i << " "; + return 0; +} + void QABugs::Commands_20(Draw_Interpretor& theCommands) { const char *group = "QABugs"; @@ -3923,7 +3976,7 @@ void QABugs::Commands_20(Draw_Interpretor& theCommands) { theCommands.Add("OCC29311", "OCC29311 shape counter nbiter: check performance of OBB calculation", __FILE__, OCC29311, group); theCommands.Add("OCC30391", "OCC30391 result face LenBeforeUfirst LenAfterUlast LenBeforeVfirst LenAfterVlast", __FILE__, OCC30391, group); theCommands.Add("OCC29195", "OCC29195 [nbRep] doc1 [doc2 [doc3 [doc4]]]", __FILE__, OCC29195, group); - theCommands.Add("OCC30435", "OCC30435 result curve inverse nbit", __FILE__, OCC30435, group); + theCommands.Add("OCC30435", "OCC30435 result curve invers nbit", __FILE__, OCC30435, group); theCommands.Add("OCC30990", "OCC30990 surface", __FILE__, OCC30990, group); theCommands.Add("QAStartsWith", @@ -3959,7 +4012,8 @@ void QABugs::Commands_20(Draw_Interpretor& theCommands) { theCommands.Add("OCC31785", "OCC31785 file.xbf : test reading XBF file in another thread", __FILE__, OCC31785, group); - + theCommands.Add("OCC29745", "GeomAdaptor_Surface::VIntervals fails on periodic surfaces", + __FILE__, OCC29745, group); theCommands.Add("QANullifyShape", "Nullify shape. Usage: QANullifyShape shape", diff --git a/tests/bugs/modalg_6/bug25908 b/tests/bugs/modalg_6/bug25908 index c39131f747..b1a698c7ba 100755 --- a/tests/bugs/modalg_6/bug25908 +++ b/tests/bugs/modalg_6/bug25908 @@ -18,19 +18,4 @@ hhide hres2d compound vl v1l vnl vol vil result -set nbshapes_expected " -Number of shapes in shape - VERTEX : 103 - EDGE : 52 - WIRE : 0 - FACE : 0 - SHELL : 0 - SOLID : 0 - COMPSOLID : 0 - COMPOUND : 1 - SHAPE : 156 -" - -checknbshapes result -ref ${nbshapes_expected} -t -m "HLRToShape" - checkview -display result -2d -path ${imagedir}/${test_image}.png diff --git a/tests/bugs/moddata_3/bug29745_1 b/tests/bugs/moddata_3/bug29745_1 new file mode 100644 index 0000000000..c5100fddc2 --- /dev/null +++ b/tests/bugs/moddata_3/bug29745_1 @@ -0,0 +1,15 @@ +puts "==========" +puts "0029745: Modeling Data - GeomAdaptor_Surface::VIntervals fails on periodic surfaces" +puts "==========" +puts "" + +pload QAcommands + +set ref {4 5 6 7 8 } +set data [OCC29745 3d 4 8] + +if {[string compare $ref $data] == 0} { + puts "OCC29745 OK" +} else { + puts "OCC29745 Faulty" +} diff --git a/tests/bugs/moddata_3/bug29745_2 b/tests/bugs/moddata_3/bug29745_2 new file mode 100644 index 0000000000..2b1c04fe50 --- /dev/null +++ b/tests/bugs/moddata_3/bug29745_2 @@ -0,0 +1,15 @@ +puts "==========" +puts "0029745: Modeling Data - GeomAdaptor_Surface::VIntervals fails on periodic surfaces" +puts "==========" +puts "" + +pload QAcommands + +set ref {4 5 6 7 8 } +set data [OCC29745 2d 4 8] + +if {[string compare $ref $data] == 0} { + puts "OCC29745 OK" +} else { + puts "OCC29745 Faulty" +} diff --git a/tests/hlr/end b/tests/hlr/end index c285324237..ef622adde9 100644 --- a/tests/hlr/end +++ b/tests/hlr/end @@ -1,5 +1,3 @@ -checkprops result -l ${length} -deps ${depsilon} - checkview -screenshot -2d -path ${imagedir}/${test_image}.png # to end a test script diff --git a/tests/hlr/exact_hlr/A1 b/tests/hlr/exact_hlr/A1 index f3f8d3c64e..c5e1229ce1 100644 --- a/tests/hlr/exact_hlr/A1 +++ b/tests/hlr/exact_hlr/A1 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 6.34984 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A2 b/tests/hlr/exact_hlr/A2 index 10ee423db7..a56845996a 100644 --- a/tests/hlr/exact_hlr/A2 +++ b/tests/hlr/exact_hlr/A2 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 8.05281 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A3 b/tests/hlr/exact_hlr/A3 index 75441c8cff..7c2adcb774 100644 --- a/tests/hlr/exact_hlr/A3 +++ b/tests/hlr/exact_hlr/A3 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 8.40404 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A4 b/tests/hlr/exact_hlr/A4 index 38c471be13..ac24c40810 100644 --- a/tests/hlr/exact_hlr/A4 +++ b/tests/hlr/exact_hlr/A4 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 7.39488 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A5 b/tests/hlr/exact_hlr/A5 index 1c06c45e44..6153d97ef6 100644 --- a/tests/hlr/exact_hlr/A5 +++ b/tests/hlr/exact_hlr/A5 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 9.47163 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A6 b/tests/hlr/exact_hlr/A6 index 302ffd04ae..57c0e96273 100644 --- a/tests/hlr/exact_hlr/A6 +++ b/tests/hlr/exact_hlr/A6 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vleft" -set length 7.42565 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/A7 b/tests/hlr/exact_hlr/A7 index 6d604e637d..2c57052252 100644 --- a/tests/hlr/exact_hlr/A7 +++ b/tests/hlr/exact_hlr/A7 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vright" -set length 8.92009 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B1 b/tests/hlr/exact_hlr/B1 index 5c8958ca65..39359aa274 100644 --- a/tests/hlr/exact_hlr/B1 +++ b/tests/hlr/exact_hlr/B1 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 319.505 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B2 b/tests/hlr/exact_hlr/B2 index 607c7fc8e3..1fe08f5fac 100644 --- a/tests/hlr/exact_hlr/B2 +++ b/tests/hlr/exact_hlr/B2 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 291.123 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B3 b/tests/hlr/exact_hlr/B3 index 8ddfef3593..13068cac2e 100644 --- a/tests/hlr/exact_hlr/B3 +++ b/tests/hlr/exact_hlr/B3 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 334.113 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B4 b/tests/hlr/exact_hlr/B4 index 83783a935d..63d5873622 100644 --- a/tests/hlr/exact_hlr/B4 +++ b/tests/hlr/exact_hlr/B4 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 361.806 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B5 b/tests/hlr/exact_hlr/B5 index c0ba999fd3..460bbbe1c5 100644 --- a/tests/hlr/exact_hlr/B5 +++ b/tests/hlr/exact_hlr/B5 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 430.307 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B6 b/tests/hlr/exact_hlr/B6 index 0b0d86a569..1eaaa21e81 100644 --- a/tests/hlr/exact_hlr/B6 +++ b/tests/hlr/exact_hlr/B6 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vleft" -set length 278.789 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/B7 b/tests/hlr/exact_hlr/B7 index ec3775f621..597070a71b 100644 --- a/tests/hlr/exact_hlr/B7 +++ b/tests/hlr/exact_hlr/B7 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vright" -set length 337.54 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C1 b/tests/hlr/exact_hlr/C1 index e4a55a7752..ee4be76061 100644 --- a/tests/hlr/exact_hlr/C1 +++ b/tests/hlr/exact_hlr/C1 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1038.62 testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C10 b/tests/hlr/exact_hlr/C10 index 574cb1089d..95947ee592 100644 --- a/tests/hlr/exact_hlr/C10 +++ b/tests/hlr/exact_hlr/C10 @@ -1,5 +1,4 @@ set viewname "vright" -set length 778.091 testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C11 b/tests/hlr/exact_hlr/C11 index 77d493ff45..a7518caad4 100644 --- a/tests/hlr/exact_hlr/C11 +++ b/tests/hlr/exact_hlr/C11 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1095.44 testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C12 b/tests/hlr/exact_hlr/C12 index 85bb589aa0..32820143da 100644 --- a/tests/hlr/exact_hlr/C12 +++ b/tests/hlr/exact_hlr/C12 @@ -1,5 +1,4 @@ set viewname "vright" -set length 533.738 testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C13 b/tests/hlr/exact_hlr/C13 index 6f702cdfd2..de08e0461d 100644 --- a/tests/hlr/exact_hlr/C13 +++ b/tests/hlr/exact_hlr/C13 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 9589.21, expected 9547.11" - set viewname "vright" -set length 9547.11 testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C14 b/tests/hlr/exact_hlr/C14 index d76f362c2a..8d0c5e1ac5 100644 --- a/tests/hlr/exact_hlr/C14 +++ b/tests/hlr/exact_hlr/C14 @@ -1,5 +1,4 @@ set viewname "vright" -set length 5934.34 testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C15 b/tests/hlr/exact_hlr/C15 index bd4c2ad700..78b08f77a9 100644 --- a/tests/hlr/exact_hlr/C15 +++ b/tests/hlr/exact_hlr/C15 @@ -1,5 +1,4 @@ set viewname "vright" -set length 5282.13 testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C16 b/tests/hlr/exact_hlr/C16 index cd5a8e3909..c733ede5c2 100644 --- a/tests/hlr/exact_hlr/C16 +++ b/tests/hlr/exact_hlr/C16 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1796.06 testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C17 b/tests/hlr/exact_hlr/C17 index cbc5089e8c..0409a966d6 100644 --- a/tests/hlr/exact_hlr/C17 +++ b/tests/hlr/exact_hlr/C17 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2704.1 testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C18 b/tests/hlr/exact_hlr/C18 index 1b73d4c3a4..0e792e8acd 100644 --- a/tests/hlr/exact_hlr/C18 +++ b/tests/hlr/exact_hlr/C18 @@ -1,8 +1,4 @@ -puts "TODO OCC30286 Windows: Error : The length of result shape is 2416.66, expected 2418.08" -puts "TODO OCC30286 Linux: Error : The length of result shape is 2414.48, expected 2418.08" - set viewname "vright" -set length 2418.08 testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C19 b/tests/hlr/exact_hlr/C19 index 9ccc39a408..a0efe772cb 100644 --- a/tests/hlr/exact_hlr/C19 +++ b/tests/hlr/exact_hlr/C19 @@ -1,5 +1,4 @@ set viewname "vright" -set length 753.392 testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C2 b/tests/hlr/exact_hlr/C2 index 686bdb88a9..da33de9492 100644 --- a/tests/hlr/exact_hlr/C2 +++ b/tests/hlr/exact_hlr/C2 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 414.732, expected 443.438" - set viewname "vright" -set length 443.438 testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C20 b/tests/hlr/exact_hlr/C20 index 741d9a04e6..608ec571e3 100644 --- a/tests/hlr/exact_hlr/C20 +++ b/tests/hlr/exact_hlr/C20 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 1736.91, expected 1704.87" - set viewname "vright" -set length 1704.87 testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C21 b/tests/hlr/exact_hlr/C21 index c2f56c04b1..a27d2566b6 100644 --- a/tests/hlr/exact_hlr/C21 +++ b/tests/hlr/exact_hlr/C21 @@ -1,5 +1,4 @@ set viewname "vright" -set length 949.573 testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C22 b/tests/hlr/exact_hlr/C22 index dca720f085..6459be1862 100644 --- a/tests/hlr/exact_hlr/C22 +++ b/tests/hlr/exact_hlr/C22 @@ -1,5 +1,4 @@ set viewname "vright" -set length 6601.8 testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C23 b/tests/hlr/exact_hlr/C23 index 7d07a385a2..4938f36ad5 100644 --- a/tests/hlr/exact_hlr/C23 +++ b/tests/hlr/exact_hlr/C23 @@ -1,5 +1,4 @@ set viewname "vright" -set length 813.531 testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C24 b/tests/hlr/exact_hlr/C24 index 8dd3fe7b7b..43e91aa2c3 100644 --- a/tests/hlr/exact_hlr/C24 +++ b/tests/hlr/exact_hlr/C24 @@ -1,5 +1,4 @@ set viewname "vright" -set length 211.007 testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C25 b/tests/hlr/exact_hlr/C25 index 8346759033..0c14ace61c 100644 --- a/tests/hlr/exact_hlr/C25 +++ b/tests/hlr/exact_hlr/C25 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 6115.27, expected 6040.95" - set viewname "vright" -set length 6040.95 testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C26 b/tests/hlr/exact_hlr/C26 index 2604aaa70b..849f1c0725 100644 --- a/tests/hlr/exact_hlr/C26 +++ b/tests/hlr/exact_hlr/C26 @@ -1,5 +1,4 @@ set viewname "vright" -set length 521.037 testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C27 b/tests/hlr/exact_hlr/C27 index bae10a503f..8647603f66 100644 --- a/tests/hlr/exact_hlr/C27 +++ b/tests/hlr/exact_hlr/C27 @@ -1,5 +1,4 @@ set viewname "vback" -set length 48596.2 testreadstep [locate_data_file bug27341_conboom.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C28 b/tests/hlr/exact_hlr/C28 index 0ac9ec8dc3..cc5a9284d5 100644 --- a/tests/hlr/exact_hlr/C28 +++ b/tests/hlr/exact_hlr/C28 @@ -1,5 +1,4 @@ set viewname "vright" -set length 40.3211 testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C29 b/tests/hlr/exact_hlr/C29 index 8e21038008..9ddac69d2a 100644 --- a/tests/hlr/exact_hlr/C29 +++ b/tests/hlr/exact_hlr/C29 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1130.88 testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C3 b/tests/hlr/exact_hlr/C3 index 5211d9ca17..eaac55f393 100644 --- a/tests/hlr/exact_hlr/C3 +++ b/tests/hlr/exact_hlr/C3 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 Linux: Error : The length of result shape is 3249.9, expected 3234.6" - set viewname "vright" -set length 3234.6 testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C4 b/tests/hlr/exact_hlr/C4 index fbb6a45ea4..b04ce0983e 100644 --- a/tests/hlr/exact_hlr/C4 +++ b/tests/hlr/exact_hlr/C4 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 2894.57, expected 2765.47" - set viewname "vright" -set length 2765.47 testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C5 b/tests/hlr/exact_hlr/C5 index bc4a3aa8d0..a275eac5ce 100644 --- a/tests/hlr/exact_hlr/C5 +++ b/tests/hlr/exact_hlr/C5 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1750.92 testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C6 b/tests/hlr/exact_hlr/C6 index 5e9efd8b78..f4f0f3dbc5 100644 --- a/tests/hlr/exact_hlr/C6 +++ b/tests/hlr/exact_hlr/C6 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2874.5 testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C7 b/tests/hlr/exact_hlr/C7 index 00082a5d4a..49761a313e 100644 --- a/tests/hlr/exact_hlr/C7 +++ b/tests/hlr/exact_hlr/C7 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2282.64 testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C8 b/tests/hlr/exact_hlr/C8 index 2f79eeb767..e216e9a97e 100644 --- a/tests/hlr/exact_hlr/C8 +++ b/tests/hlr/exact_hlr/C8 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 1170.46, expected 1154.09" - set viewname "vright" -set length 1154.09 testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/C9 b/tests/hlr/exact_hlr/C9 index 58328a270f..a2a6aae497 100644 --- a/tests/hlr/exact_hlr/C9 +++ b/tests/hlr/exact_hlr/C9 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2010.95 testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D1 b/tests/hlr/exact_hlr/D1 index 5888b5dea6..0153d33d64 100644 --- a/tests/hlr/exact_hlr/D1 +++ b/tests/hlr/exact_hlr/D1 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "" -set length 1051.33 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D2 b/tests/hlr/exact_hlr/D2 index e3e412e0d3..422d8c5cec 100644 --- a/tests/hlr/exact_hlr/D2 +++ b/tests/hlr/exact_hlr/D2 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vtop" -set length 385.563 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D3 b/tests/hlr/exact_hlr/D3 index 5a831d889e..2e105006bb 100644 --- a/tests/hlr/exact_hlr/D3 +++ b/tests/hlr/exact_hlr/D3 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vbottom" -set length 193.345 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D4 b/tests/hlr/exact_hlr/D4 index e76af23e10..5530d40396 100644 --- a/tests/hlr/exact_hlr/D4 +++ b/tests/hlr/exact_hlr/D4 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vfront" -set length 484.485 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D5 b/tests/hlr/exact_hlr/D5 index 072138288b..096b19987f 100644 --- a/tests/hlr/exact_hlr/D5 +++ b/tests/hlr/exact_hlr/D5 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vback" -set length 544.616 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D6 b/tests/hlr/exact_hlr/D6 index be39da063a..bece37e125 100644 --- a/tests/hlr/exact_hlr/D6 +++ b/tests/hlr/exact_hlr/D6 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vleft" -set length 577.935 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/D7 b/tests/hlr/exact_hlr/D7 index d1e93323b9..e2274c8afe 100644 --- a/tests/hlr/exact_hlr/D7 +++ b/tests/hlr/exact_hlr/D7 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vright" -set length 554.265 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/Plate b/tests/hlr/exact_hlr/Plate index 7275c5623c..7ae6860f15 100644 --- a/tests/hlr/exact_hlr/Plate +++ b/tests/hlr/exact_hlr/Plate @@ -14,7 +14,6 @@ point pp 50 50 100 filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0 set viewname "" -set length 404.283 set depsilon 1.e-2 COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_1 b/tests/hlr/exact_hlr/bug25813_1 index b8780a3c39..cac8e01788 100644 --- a/tests/hlr/exact_hlr/bug25813_1 +++ b/tests/hlr/exact_hlr/bug25813_1 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 204.19 pcylinder cc 10 30 pcylinder cc2 8 50 diff --git a/tests/hlr/exact_hlr/bug25813_2 b/tests/hlr/exact_hlr/bug25813_2 index 862608f4b9..c8257b517c 100644 --- a/tests/hlr/exact_hlr/bug25813_2 +++ b/tests/hlr/exact_hlr/bug25813_2 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 3053.49 restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_3 b/tests/hlr/exact_hlr/bug25813_3 index 68de3056e9..6046cfae3a 100644 --- a/tests/hlr/exact_hlr/bug25813_3 +++ b/tests/hlr/exact_hlr/bug25813_3 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 302.685 ptorus a 30 10 diff --git a/tests/hlr/exact_hlr/bug25813_4 b/tests/hlr/exact_hlr/bug25813_4 index 503d37b818..aa9b7b7359 100644 --- a/tests/hlr/exact_hlr/bug25813_4 +++ b/tests/hlr/exact_hlr/bug25813_4 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 1197.37 restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug25813_5 b/tests/hlr/exact_hlr/bug25813_5 index 868e072aaf..e904fb4356 100644 --- a/tests/hlr/exact_hlr/bug25813_5 +++ b/tests/hlr/exact_hlr/bug25813_5 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 1284.73 restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_101 b/tests/hlr/exact_hlr/bug27719_101 index 281727e19c..306b59a694 100644 --- a/tests/hlr/exact_hlr/bug27719_101 +++ b/tests/hlr/exact_hlr/bug27719_101 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 4.04214 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_102 b/tests/hlr/exact_hlr/bug27719_102 index 7c0f22ad6e..95f5fd2d5c 100644 --- a/tests/hlr/exact_hlr/bug27719_102 +++ b/tests/hlr/exact_hlr/bug27719_102 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 5.79737 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_103 b/tests/hlr/exact_hlr/bug27719_103 index a68f9ebd0b..1663f4a0f2 100644 --- a/tests/hlr/exact_hlr/bug27719_103 +++ b/tests/hlr/exact_hlr/bug27719_103 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 6.15279 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_104 b/tests/hlr/exact_hlr/bug27719_104 index 838d26a63a..5d3545c668 100644 --- a/tests/hlr/exact_hlr/bug27719_104 +++ b/tests/hlr/exact_hlr/bug27719_104 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 7.45731 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_105 b/tests/hlr/exact_hlr/bug27719_105 index 821932aedf..139e208087 100644 --- a/tests/hlr/exact_hlr/bug27719_105 +++ b/tests/hlr/exact_hlr/bug27719_105 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 7.48768 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_201 b/tests/hlr/exact_hlr/bug27719_201 index 16d29271b6..a9c17c039a 100644 --- a/tests/hlr/exact_hlr/bug27719_201 +++ b/tests/hlr/exact_hlr/bug27719_201 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 4.53263 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_202 b/tests/hlr/exact_hlr/bug27719_202 index 97fdf8f336..425a8ae00f 100644 --- a/tests/hlr/exact_hlr/bug27719_202 +++ b/tests/hlr/exact_hlr/bug27719_202 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 4.79563 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_203 b/tests/hlr/exact_hlr/bug27719_203 index 3f1b4fc688..41fe9fc85d 100644 --- a/tests/hlr/exact_hlr/bug27719_203 +++ b/tests/hlr/exact_hlr/bug27719_203 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 4.64864 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_204 b/tests/hlr/exact_hlr/bug27719_204 index 103c0b2da5..bcb4b6305e 100644 --- a/tests/hlr/exact_hlr/bug27719_204 +++ b/tests/hlr/exact_hlr/bug27719_204 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 5.96312 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27719_205 b/tests/hlr/exact_hlr/bug27719_205 index 8f5eb73e64..7e379f6d7c 100644 --- a/tests/hlr/exact_hlr/bug27719_205 +++ b/tests/hlr/exact_hlr/bug27719_205 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 5.61843 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_1 b/tests/hlr/exact_hlr/bug27720_1 index a05f26d6f6..0ee5a226b9 100644 --- a/tests/hlr/exact_hlr/bug27720_1 +++ b/tests/hlr/exact_hlr/bug27720_1 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "" -set length 0.883462 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_2 b/tests/hlr/exact_hlr/bug27720_2 index 9124e5debc..c844855cdd 100644 --- a/tests/hlr/exact_hlr/bug27720_2 +++ b/tests/hlr/exact_hlr/bug27720_2 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "vtop" -set length 0.980943 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_3 b/tests/hlr/exact_hlr/bug27720_3 index 9bdf1189a1..c6be0b93ba 100644 --- a/tests/hlr/exact_hlr/bug27720_3 +++ b/tests/hlr/exact_hlr/bug27720_3 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "vbottom" -set length 0.958458 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_4 b/tests/hlr/exact_hlr/bug27720_4 index 8cbfb5b2ed..c305864811 100644 --- a/tests/hlr/exact_hlr/bug27720_4 +++ b/tests/hlr/exact_hlr/bug27720_4 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "vleft" -set length 0.81982 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27720_5 b/tests/hlr/exact_hlr/bug27720_5 index a95ffe624d..e7cfe711ed 100644 --- a/tests/hlr/exact_hlr/bug27720_5 +++ b/tests/hlr/exact_hlr/bug27720_5 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "vright" -set length 0.841234 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_1 b/tests/hlr/exact_hlr/bug27979_1 index 5e14cdf67f..75c578880a 100644 --- a/tests/hlr/exact_hlr/bug27979_1 +++ b/tests/hlr/exact_hlr/bug27979_1 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 181.598, expected 3." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "" -set length 3. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_2 b/tests/hlr/exact_hlr/bug27979_2 index 1ac57711c2..87748d158e 100644 --- a/tests/hlr/exact_hlr/bug27979_2 +++ b/tests/hlr/exact_hlr/bug27979_2 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 321.825, expected 12." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vtop" -set length 12. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_3 b/tests/hlr/exact_hlr/bug27979_3 index 3a23feae00..85b52fc8f0 100644 --- a/tests/hlr/exact_hlr/bug27979_3 +++ b/tests/hlr/exact_hlr/bug27979_3 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 312.099, expected 4." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vbottom" -set length 4. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_4 b/tests/hlr/exact_hlr/bug27979_4 index ef69971800..5d8b10d6d7 100644 --- a/tests/hlr/exact_hlr/bug27979_4 +++ b/tests/hlr/exact_hlr/bug27979_4 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 30.4915, expected 11." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vfront" -set length 11. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_5 b/tests/hlr/exact_hlr/bug27979_5 index 47505cd04d..876d3e2f4e 100644 --- a/tests/hlr/exact_hlr/bug27979_5 +++ b/tests/hlr/exact_hlr/bug27979_5 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 746.103, expected 4." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vback" -set length 4. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_6 b/tests/hlr/exact_hlr/bug27979_6 index c758e0c073..be3ee36cec 100644 --- a/tests/hlr/exact_hlr/bug27979_6 +++ b/tests/hlr/exact_hlr/bug27979_6 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 227257, expected 11." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vleft" -set length 11. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug27979_7 b/tests/hlr/exact_hlr/bug27979_7 index 68f397463b..2a2b59aba1 100644 --- a/tests/hlr/exact_hlr/bug27979_7 +++ b/tests/hlr/exact_hlr/bug27979_7 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 227122, expected 3." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vright" -set length 3. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug29956 b/tests/hlr/exact_hlr/bug29956 index 980832815e..f52066f38f 100644 --- a/tests/hlr/exact_hlr/bug29956 +++ b/tests/hlr/exact_hlr/bug29956 @@ -4,7 +4,6 @@ puts "========" puts "" set viewname "" -set length 4197.49 testreadstep [locate_data_file example_auto_tooling_01.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug30243 b/tests/hlr/exact_hlr/bug30243 index 2c12215b7a..0f6d7cd56e 100644 --- a/tests/hlr/exact_hlr/bug30243 +++ b/tests/hlr/exact_hlr/bug30243 @@ -4,7 +4,6 @@ puts "========" puts "" set viewname "" -set length 2695.41 testreadstep [locate_data_file BFC_10000.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/exact_hlr/bug7691 b/tests/hlr/exact_hlr/bug7691 index 7bacaa3114..becda41f16 100644 --- a/tests/hlr/exact_hlr/bug7691 +++ b/tests/hlr/exact_hlr/bug7691 @@ -4,7 +4,6 @@ puts "===========================" puts "" set viewname "vtop" -set length 659.892 # load shape restore [locate_data_file OCC7691-bottle.brep] a diff --git a/tests/hlr/poly_hlr/A1 b/tests/hlr/poly_hlr/A1 index 1b6e75a3cc..c5e1229ce1 100644 --- a/tests/hlr/poly_hlr/A1 +++ b/tests/hlr/poly_hlr/A1 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 6.30238 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A2 b/tests/hlr/poly_hlr/A2 index c116d9dec9..a56845996a 100644 --- a/tests/hlr/poly_hlr/A2 +++ b/tests/hlr/poly_hlr/A2 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 8.06872, expected 8.05281" - puts "=====================================" puts "OCC27341: Incorrect exact HLR results" puts "=====================================" puts "" set viewname "vtop" -set length 8.05281 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A3 b/tests/hlr/poly_hlr/A3 index 3e71edfe30..7c2adcb774 100644 --- a/tests/hlr/poly_hlr/A3 +++ b/tests/hlr/poly_hlr/A3 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 8.39744 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A4 b/tests/hlr/poly_hlr/A4 index 72303a8910..ac24c40810 100644 --- a/tests/hlr/poly_hlr/A4 +++ b/tests/hlr/poly_hlr/A4 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 7.44464, expected 7.39488" - puts "=====================================" puts "OCC27341: Incorrect exact HLR results" puts "=====================================" puts "" set viewname "vfront" -set length 7.39488 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A5 b/tests/hlr/poly_hlr/A5 index f276fd4c4d..6153d97ef6 100644 --- a/tests/hlr/poly_hlr/A5 +++ b/tests/hlr/poly_hlr/A5 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 9.10542, expected 9.47163" - puts "=====================================" puts "OCC27341: Incorrect exact HLR results" puts "=====================================" puts "" set viewname "vback" -set length 9.47163 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A6 b/tests/hlr/poly_hlr/A6 index f85f2d0066..57c0e96273 100644 --- a/tests/hlr/poly_hlr/A6 +++ b/tests/hlr/poly_hlr/A6 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vleft" -set length 7.64599 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/A7 b/tests/hlr/poly_hlr/A7 index dc38a1c33e..2c57052252 100644 --- a/tests/hlr/poly_hlr/A7 +++ b/tests/hlr/poly_hlr/A7 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vright" -set length 9.30381 restore [locate_data_file bug27341_hlrsave.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B1 b/tests/hlr/poly_hlr/B1 index 6148d6a6a5..39359aa274 100644 --- a/tests/hlr/poly_hlr/B1 +++ b/tests/hlr/poly_hlr/B1 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 318.62 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B2 b/tests/hlr/poly_hlr/B2 index a8d67f1efd..1fe08f5fac 100644 --- a/tests/hlr/poly_hlr/B2 +++ b/tests/hlr/poly_hlr/B2 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 291.004 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B3 b/tests/hlr/poly_hlr/B3 index 17738b8488..13068cac2e 100644 --- a/tests/hlr/poly_hlr/B3 +++ b/tests/hlr/poly_hlr/B3 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 333.957 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B4 b/tests/hlr/poly_hlr/B4 index dbeb4d7fe4..63d5873622 100644 --- a/tests/hlr/poly_hlr/B4 +++ b/tests/hlr/poly_hlr/B4 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 361.581 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B5 b/tests/hlr/poly_hlr/B5 index 92d6717309..460bbbe1c5 100644 --- a/tests/hlr/poly_hlr/B5 +++ b/tests/hlr/poly_hlr/B5 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 430.037 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B6 b/tests/hlr/poly_hlr/B6 index 1f821c8c86..1eaaa21e81 100644 --- a/tests/hlr/poly_hlr/B6 +++ b/tests/hlr/poly_hlr/B6 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vleft" -set length 278.723 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/B7 b/tests/hlr/poly_hlr/B7 index f77ac3c11f..597070a71b 100644 --- a/tests/hlr/poly_hlr/B7 +++ b/tests/hlr/poly_hlr/B7 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vright" -set length 337.361 restore [locate_data_file bug27341_save.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C1 b/tests/hlr/poly_hlr/C1 index 2952d87b19..ee4be76061 100644 --- a/tests/hlr/poly_hlr/C1 +++ b/tests/hlr/poly_hlr/C1 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 Linux: Error : The length of result shape is 1021.54, expected 1021.47" - set viewname "vright" -set length 1021.47 testreadstep [locate_data_file bug27341_15.3020_16B1_B3=90.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C10 b/tests/hlr/poly_hlr/C10 index a79357e5db..95947ee592 100644 --- a/tests/hlr/poly_hlr/C10 +++ b/tests/hlr/poly_hlr/C10 @@ -1,5 +1,4 @@ set viewname "vright" -set length 792.107 testreadstep [locate_data_file bug27341_Adapter_VDI_MKG_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C11 b/tests/hlr/poly_hlr/C11 index 4bb077bc14..a7518caad4 100644 --- a/tests/hlr/poly_hlr/C11 +++ b/tests/hlr/poly_hlr/C11 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1096.4 testreadstep [locate_data_file bug27341_Adapter_VLS_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C12 b/tests/hlr/poly_hlr/C12 index 3495b2dafc..32820143da 100644 --- a/tests/hlr/poly_hlr/C12 +++ b/tests/hlr/poly_hlr/C12 @@ -1,5 +1,4 @@ set viewname "vright" -set length 514.884 testreadstep [locate_data_file bug27341_Adapter_Zylinder_2_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C13 b/tests/hlr/poly_hlr/C13 index 255ff26e64..de08e0461d 100644 --- a/tests/hlr/poly_hlr/C13 +++ b/tests/hlr/poly_hlr/C13 @@ -1,5 +1,4 @@ set viewname "vright" -set length 9547.11 testreadstep [locate_data_file bug27341_Assembly_ABS_1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C14 b/tests/hlr/poly_hlr/C14 index 24b76c56f6..8d0c5e1ac5 100644 --- a/tests/hlr/poly_hlr/C14 +++ b/tests/hlr/poly_hlr/C14 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 5499.57, expected 5934.34" - set viewname "vright" -set length 5934.34 testreadstep [locate_data_file bug27341_Assembly_BILZ_WFL2_1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C15 b/tests/hlr/poly_hlr/C15 index 08111c4f08..78b08f77a9 100644 --- a/tests/hlr/poly_hlr/C15 +++ b/tests/hlr/poly_hlr/C15 @@ -1,5 +1,4 @@ set viewname "vright" -set length 5117.25 testreadstep [locate_data_file bug27341_Assembly_GMS_Kurz_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C16 b/tests/hlr/poly_hlr/C16 index 150eb5258f..c733ede5c2 100644 --- a/tests/hlr/poly_hlr/C16 +++ b/tests/hlr/poly_hlr/C16 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1664.48 testreadstep [locate_data_file bug27341_CCS_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C17 b/tests/hlr/poly_hlr/C17 index 028db8b5d3..0409a966d6 100644 --- a/tests/hlr/poly_hlr/C17 +++ b/tests/hlr/poly_hlr/C17 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2234.38 testreadstep [locate_data_file bug27341_CCT_PMK_32_L_o_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C18 b/tests/hlr/poly_hlr/C18 index 4d4f8b299d..0e792e8acd 100644 --- a/tests/hlr/poly_hlr/C18 +++ b/tests/hlr/poly_hlr/C18 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 2517, expected 2418.08" - set viewname "vright" -set length 2418.08 testreadstep [locate_data_file bug27341_CDI_Grundhalter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C19 b/tests/hlr/poly_hlr/C19 index 40a7f0851f..a0efe772cb 100644 --- a/tests/hlr/poly_hlr/C19 +++ b/tests/hlr/poly_hlr/C19 @@ -1,5 +1,4 @@ set viewname "vright" -set length 784.752 testreadstep [locate_data_file bug27341_CKB_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C2 b/tests/hlr/poly_hlr/C2 index 1ba640aabe..da33de9492 100644 --- a/tests/hlr/poly_hlr/C2 +++ b/tests/hlr/poly_hlr/C2 @@ -1,5 +1,4 @@ set viewname "vright" -set length 443.438 testreadstep [locate_data_file bug27341_211808_PCLNL12K8-15x32.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C20 b/tests/hlr/poly_hlr/C20 index aa685c0767..608ec571e3 100644 --- a/tests/hlr/poly_hlr/C20 +++ b/tests/hlr/poly_hlr/C20 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1704.87 testreadstep [locate_data_file bug27341_Drehkopf_HSK_Gewinde_R_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C21 b/tests/hlr/poly_hlr/C21 index 86da278502..a27d2566b6 100644 --- a/tests/hlr/poly_hlr/C21 +++ b/tests/hlr/poly_hlr/C21 @@ -1,5 +1,4 @@ set viewname "vright" -set length 949.199 testreadstep [locate_data_file bug27341_Einsatz_BILZ_SEK_BFA_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C22 b/tests/hlr/poly_hlr/C22 index 58f4f5b579..6459be1862 100644 --- a/tests/hlr/poly_hlr/C22 +++ b/tests/hlr/poly_hlr/C22 @@ -1,5 +1,4 @@ set viewname "vright" -set length 6443.08 testreadstep [locate_data_file bug27341_HEE_Grundhalter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C23 b/tests/hlr/poly_hlr/C23 index c1c2ed6118..4938f36ad5 100644 --- a/tests/hlr/poly_hlr/C23 +++ b/tests/hlr/poly_hlr/C23 @@ -1,5 +1,4 @@ set viewname "vright" -set length 826.794 testreadstep [locate_data_file bug27341_KMM_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C24 b/tests/hlr/poly_hlr/C24 index 46a0173c34..43e91aa2c3 100644 --- a/tests/hlr/poly_hlr/C24 +++ b/tests/hlr/poly_hlr/C24 @@ -1,5 +1,4 @@ set viewname "vright" -set length 217.803 testreadstep [locate_data_file bug27341_MZX_01_1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C25 b/tests/hlr/poly_hlr/C25 index f48ddda6e9..0c14ace61c 100644 --- a/tests/hlr/poly_hlr/C25 +++ b/tests/hlr/poly_hlr/C25 @@ -1,5 +1,4 @@ set viewname "vright" -set length 6040.95 testreadstep [locate_data_file bug27341_Rundrohrverteiler.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C26 b/tests/hlr/poly_hlr/C26 index 659a8354ef..849f1c0725 100644 --- a/tests/hlr/poly_hlr/C26 +++ b/tests/hlr/poly_hlr/C26 @@ -1,5 +1,4 @@ set viewname "vright" -set length 532.03 testreadstep [locate_data_file bug27341_SKJ_07_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C27 b/tests/hlr/poly_hlr/C27 index b66959caac..8647603f66 100644 --- a/tests/hlr/poly_hlr/C27 +++ b/tests/hlr/poly_hlr/C27 @@ -1,5 +1,4 @@ set viewname "vback" -set length 50818.3 testreadstep [locate_data_file bug27341_conboom.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C28 b/tests/hlr/poly_hlr/C28 index dd80471476..cc5a9284d5 100644 --- a/tests/hlr/poly_hlr/C28 +++ b/tests/hlr/poly_hlr/C28 @@ -1,5 +1,4 @@ set viewname "vright" -set length 39.6744 testreadstep [locate_data_file bug27341_rhombisch_Form_V_IC_476_L_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C29 b/tests/hlr/poly_hlr/C29 index a674a26ebf..9ddac69d2a 100644 --- a/tests/hlr/poly_hlr/C29 +++ b/tests/hlr/poly_hlr/C29 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1126.41 testreadstep [locate_data_file bug27341_stp_ML_MN5260-18-K.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C3 b/tests/hlr/poly_hlr/C3 index 9c0397e884..eaac55f393 100644 --- a/tests/hlr/poly_hlr/C3 +++ b/tests/hlr/poly_hlr/C3 @@ -1,5 +1,4 @@ set viewname "vright" -set length 3060.33 testreadstep [locate_data_file bug27341_570-DWLNL-40-08-L_131LANG_16VERSATZ_DIN.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C4 b/tests/hlr/poly_hlr/C4 index 38b7efc966..b04ce0983e 100644 --- a/tests/hlr/poly_hlr/C4 +++ b/tests/hlr/poly_hlr/C4 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 2707.33, expected 2765.47" - set viewname "vright" -set length 2765.47 testreadstep [locate_data_file bug27341_82-01_Solid_End_Mill_Radius_with_Shrink_Fit_and_extension_HeavyModel.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C5 b/tests/hlr/poly_hlr/C5 index c44b715691..a275eac5ce 100644 --- a/tests/hlr/poly_hlr/C5 +++ b/tests/hlr/poly_hlr/C5 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1721.69 testreadstep [locate_data_file bug27341_ABS_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C6 b/tests/hlr/poly_hlr/C6 index e149469bd2..f4f0f3dbc5 100644 --- a/tests/hlr/poly_hlr/C6 +++ b/tests/hlr/poly_hlr/C6 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2832.69 testreadstep [locate_data_file bug27341_ABS_Grundhalter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C7 b/tests/hlr/poly_hlr/C7 index 74ed18c563..49761a313e 100644 --- a/tests/hlr/poly_hlr/C7 +++ b/tests/hlr/poly_hlr/C7 @@ -1,5 +1,4 @@ set viewname "vright" -set length 2257 testreadstep [locate_data_file bug27341_AIF_Grundhalter_GR1_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C8 b/tests/hlr/poly_hlr/C8 index 0a1185bbfd..e216e9a97e 100644 --- a/tests/hlr/poly_hlr/C8 +++ b/tests/hlr/poly_hlr/C8 @@ -1,5 +1,4 @@ set viewname "vright" -set length 1154.09 testreadstep [locate_data_file bug27341_AWN_Adapter_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/C9 b/tests/hlr/poly_hlr/C9 index 48c52b5f8f..a2a6aae497 100644 --- a/tests/hlr/poly_hlr/C9 +++ b/tests/hlr/poly_hlr/C9 @@ -1,7 +1,4 @@ -puts "TODO OCC30286 Linux: Error : The length of result shape is 2025.74, expected 2026.13" - set viewname "vright" -set length 2026.13 testreadstep [locate_data_file bug27341_Adapter_MKG_SWS_CGS_CAD.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D1 b/tests/hlr/poly_hlr/D1 index 606ee9a3b1..0153d33d64 100644 --- a/tests/hlr/poly_hlr/D1 +++ b/tests/hlr/poly_hlr/D1 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "" -set length 1032.95 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D3 b/tests/hlr/poly_hlr/D3 index 4911487eb9..2e105006bb 100644 --- a/tests/hlr/poly_hlr/D3 +++ b/tests/hlr/poly_hlr/D3 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vbottom" -set length 210.378 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D4 b/tests/hlr/poly_hlr/D4 index 1e2bf6e025..5530d40396 100644 --- a/tests/hlr/poly_hlr/D4 +++ b/tests/hlr/poly_hlr/D4 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vfront" -set length 453.641 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D5 b/tests/hlr/poly_hlr/D5 index 764009f583..096b19987f 100644 --- a/tests/hlr/poly_hlr/D5 +++ b/tests/hlr/poly_hlr/D5 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vback" -set length 475.129 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D6 b/tests/hlr/poly_hlr/D6 index f27ce6a483..bece37e125 100644 --- a/tests/hlr/poly_hlr/D6 +++ b/tests/hlr/poly_hlr/D6 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vleft" -set length 548.613 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/D7 b/tests/hlr/poly_hlr/D7 index 599bafdb48..e2274c8afe 100644 --- a/tests/hlr/poly_hlr/D7 +++ b/tests/hlr/poly_hlr/D7 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vright" -set length 468.174 restore [locate_data_file bug25908_hlr-bspline-clone2-tcl-h1.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/Plate b/tests/hlr/poly_hlr/Plate index 536d8018d5..21e0a905d0 100644 --- a/tests/hlr/poly_hlr/Plate +++ b/tests/hlr/poly_hlr/Plate @@ -1,6 +1,3 @@ -puts "TODO OCC30286 Windows: Error : The length of result shape is 404.004, expected 404.386" -puts "TODO OCC30286 Linux: Error : The length of result shape is 404.492, expected 404.386" - polyline f1 0 0 0 0 -10 0 100 -10 0 100 0 0 0 0 0 polyline f2 100 0 0 110 0 0 110 100 0 100 100 0 100 0 0 polyline f3 100 100 0 100 110 0 0 110 0 0 100 0 100 100 0 @@ -17,6 +14,5 @@ point pp 50 50 100 filling a 4 0 1 f1_4 f1 1 f2_4 f2 1 f3_4 f3 1 f4_4 f4 1 pp 0 set viewname "" -set length 404.386 COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_1 b/tests/hlr/poly_hlr/bug23625_1 index 27ea8b6e14..664be6ad19 100644 --- a/tests/hlr/poly_hlr/bug23625_1 +++ b/tests/hlr/poly_hlr/bug23625_1 @@ -6,7 +6,6 @@ puts "" puts "REQUIRED All: Meshing statuses: SelfIntersectingWire Failure" set viewname "vfront" -set length 28388 restore [locate_data_file bug23625_a1.brep] a diff --git a/tests/hlr/poly_hlr/bug23625_2 b/tests/hlr/poly_hlr/bug23625_2 index 568c972e7a..b7fef64e8e 100644 --- a/tests/hlr/poly_hlr/bug23625_2 +++ b/tests/hlr/poly_hlr/bug23625_2 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vfront" -set length 28991.6 restore [locate_data_file bug23625_a2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_3 b/tests/hlr/poly_hlr/bug23625_3 index 697e06a396..affab10d10 100644 --- a/tests/hlr/poly_hlr/bug23625_3 +++ b/tests/hlr/poly_hlr/bug23625_3 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vtop" -set length 19620.9 restore [locate_data_file bug23625_a3.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_4 b/tests/hlr/poly_hlr/bug23625_4 index 241fac022c..f0a70e4c3a 100644 --- a/tests/hlr/poly_hlr/bug23625_4 +++ b/tests/hlr/poly_hlr/bug23625_4 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vright" -set length 39816.2 restore [locate_data_file bug23625_a4.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug23625_5 b/tests/hlr/poly_hlr/bug23625_5 index 6e4b09cedb..3cfa3a691a 100644 --- a/tests/hlr/poly_hlr/bug23625_5 +++ b/tests/hlr/poly_hlr/bug23625_5 @@ -4,7 +4,6 @@ puts "============" puts "" set viewname "vtop" -set length 27444.6 restore [locate_data_file bug23625_a4.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_1 b/tests/hlr/poly_hlr/bug25813_1 index 448d427eee..cac8e01788 100644 --- a/tests/hlr/poly_hlr/bug25813_1 +++ b/tests/hlr/poly_hlr/bug25813_1 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 204.02 pcylinder cc 10 30 pcylinder cc2 8 50 diff --git a/tests/hlr/poly_hlr/bug25813_2 b/tests/hlr/poly_hlr/bug25813_2 index 38478c883b..c8257b517c 100644 --- a/tests/hlr/poly_hlr/bug25813_2 +++ b/tests/hlr/poly_hlr/bug25813_2 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 Linux: Error : The length of result shape is 3025.48, expected 3025.49" - puts "===========================================" puts "OCC25813: regression in Hidden Line Removal" puts "===========================================" puts "" set viewname "" -set length 3025.49 restore [locate_data_file bug25813_hlr-bus1-draw-Fusion001.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_3 b/tests/hlr/poly_hlr/bug25813_3 index 9cddd23203..6046cfae3a 100644 --- a/tests/hlr/poly_hlr/bug25813_3 +++ b/tests/hlr/poly_hlr/bug25813_3 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 Linux: Error : The length of result shape is 302.443, expected 301.999" - puts "===========================================" puts "OCC25813: regression in Hidden Line Removal" puts "===========================================" puts "" set viewname "" -set length 301.999 ptorus a 30 10 diff --git a/tests/hlr/poly_hlr/bug25813_4 b/tests/hlr/poly_hlr/bug25813_4 index 4dcd33347f..aa9b7b7359 100644 --- a/tests/hlr/poly_hlr/bug25813_4 +++ b/tests/hlr/poly_hlr/bug25813_4 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 1196.29 restore [locate_data_file bug25813_hlr-test_normandc1m1-draw-Cut001.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug25813_5 b/tests/hlr/poly_hlr/bug25813_5 index dcc7b33036..e904fb4356 100644 --- a/tests/hlr/poly_hlr/bug25813_5 +++ b/tests/hlr/poly_hlr/bug25813_5 @@ -4,7 +4,6 @@ puts "===========================================" puts "" set viewname "" -set length 1271.98 restore [locate_data_file bug25813_hlr-fillet2-tcl-f.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_101 b/tests/hlr/poly_hlr/bug27719_101 index d63479dbbb..306b59a694 100644 --- a/tests/hlr/poly_hlr/bug27719_101 +++ b/tests/hlr/poly_hlr/bug27719_101 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 4.0416 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_102 b/tests/hlr/poly_hlr/bug27719_102 index 6c3dd212bc..95f5fd2d5c 100644 --- a/tests/hlr/poly_hlr/bug27719_102 +++ b/tests/hlr/poly_hlr/bug27719_102 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 5.7955 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_103 b/tests/hlr/poly_hlr/bug27719_103 index 1487c3285f..1663f4a0f2 100644 --- a/tests/hlr/poly_hlr/bug27719_103 +++ b/tests/hlr/poly_hlr/bug27719_103 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 6.14978 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_104 b/tests/hlr/poly_hlr/bug27719_104 index 20d2811270..5d3545c668 100644 --- a/tests/hlr/poly_hlr/bug27719_104 +++ b/tests/hlr/poly_hlr/bug27719_104 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 7.4551 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_105 b/tests/hlr/poly_hlr/bug27719_105 index ffdd518e82..139e208087 100644 --- a/tests/hlr/poly_hlr/bug27719_105 +++ b/tests/hlr/poly_hlr/bug27719_105 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 7.48367 restore [locate_data_file bug27719_Extruded.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_201 b/tests/hlr/poly_hlr/bug27719_201 index 359e274216..a9c17c039a 100644 --- a/tests/hlr/poly_hlr/bug27719_201 +++ b/tests/hlr/poly_hlr/bug27719_201 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "" -set length 4.52975 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_202 b/tests/hlr/poly_hlr/bug27719_202 index 55f851bf23..425a8ae00f 100644 --- a/tests/hlr/poly_hlr/bug27719_202 +++ b/tests/hlr/poly_hlr/bug27719_202 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vtop" -set length 4.78946 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_203 b/tests/hlr/poly_hlr/bug27719_203 index 18c65b7fdf..41fe9fc85d 100644 --- a/tests/hlr/poly_hlr/bug27719_203 +++ b/tests/hlr/poly_hlr/bug27719_203 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vbottom" -set length 4.64744 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_204 b/tests/hlr/poly_hlr/bug27719_204 index 37ef9134a9..bcb4b6305e 100644 --- a/tests/hlr/poly_hlr/bug27719_204 +++ b/tests/hlr/poly_hlr/bug27719_204 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vfront" -set length 5.95411 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27719_205 b/tests/hlr/poly_hlr/bug27719_205 index 4258a5e23d..7e379f6d7c 100644 --- a/tests/hlr/poly_hlr/bug27719_205 +++ b/tests/hlr/poly_hlr/bug27719_205 @@ -4,7 +4,6 @@ puts "=====================================" puts "" set viewname "vback" -set length 5.61937 restore [locate_data_file bug27719_Extruded2.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_1 b/tests/hlr/poly_hlr/bug27720_1 index 6193faf4b9..0ee5a226b9 100644 --- a/tests/hlr/poly_hlr/bug27720_1 +++ b/tests/hlr/poly_hlr/bug27720_1 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "" -set length 0.880713 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_2 b/tests/hlr/poly_hlr/bug27720_2 index 4f7f7b9f48..c844855cdd 100644 --- a/tests/hlr/poly_hlr/bug27720_2 +++ b/tests/hlr/poly_hlr/bug27720_2 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "vtop" -set length 0.980432 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_3 b/tests/hlr/poly_hlr/bug27720_3 index 3a617afc10..c6be0b93ba 100644 --- a/tests/hlr/poly_hlr/bug27720_3 +++ b/tests/hlr/poly_hlr/bug27720_3 @@ -4,7 +4,6 @@ puts "============================================" puts "" set viewname "vbottom" -set length 0.958275 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_4 b/tests/hlr/poly_hlr/bug27720_4 index af80c98211..c305864811 100644 --- a/tests/hlr/poly_hlr/bug27720_4 +++ b/tests/hlr/poly_hlr/bug27720_4 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 0.798972, expected 0.81982" - puts "============================================" puts "OCC27720: HLRBrep_Algo BSpline missing edges" puts "============================================" puts "" set viewname "vleft" -set length 0.81982 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27720_5 b/tests/hlr/poly_hlr/bug27720_5 index 3f53eb9d92..e7cfe711ed 100644 --- a/tests/hlr/poly_hlr/bug27720_5 +++ b/tests/hlr/poly_hlr/bug27720_5 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 0.836937, expected 0.841234" - puts "============================================" puts "OCC27720: HLRBrep_Algo BSpline missing edges" puts "============================================" puts "" set viewname "vright" -set length 0.841234 restore [locate_data_file bug27720_BSpline.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_1 b/tests/hlr/poly_hlr/bug27979_1 index f7c3d0cadf..75c578880a 100644 --- a/tests/hlr/poly_hlr/bug27979_1 +++ b/tests/hlr/poly_hlr/bug27979_1 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 3.53405, expected 3." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "" -set length 3. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_2 b/tests/hlr/poly_hlr/bug27979_2 index 67f500ae20..87748d158e 100644 --- a/tests/hlr/poly_hlr/bug27979_2 +++ b/tests/hlr/poly_hlr/bug27979_2 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 12.4883, expected 12." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vtop" -set length 12. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_3 b/tests/hlr/poly_hlr/bug27979_3 index 022d82b732..85b52fc8f0 100644 --- a/tests/hlr/poly_hlr/bug27979_3 +++ b/tests/hlr/poly_hlr/bug27979_3 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 4.6692, expected 4." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vbottom" -set length 4. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_4 b/tests/hlr/poly_hlr/bug27979_4 index f626c1ef7f..5d8b10d6d7 100644 --- a/tests/hlr/poly_hlr/bug27979_4 +++ b/tests/hlr/poly_hlr/bug27979_4 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 11.4458, expected 11." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vfront" -set length 11. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_5 b/tests/hlr/poly_hlr/bug27979_5 index 052c5adc78..876d3e2f4e 100644 --- a/tests/hlr/poly_hlr/bug27979_5 +++ b/tests/hlr/poly_hlr/bug27979_5 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 4.15911, expected 4." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vback" -set length 4. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_6 b/tests/hlr/poly_hlr/bug27979_6 index ec2ad03360..be3ee36cec 100644 --- a/tests/hlr/poly_hlr/bug27979_6 +++ b/tests/hlr/poly_hlr/bug27979_6 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 11.2065, expected 11." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vleft" -set length 11. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug27979_7 b/tests/hlr/poly_hlr/bug27979_7 index a59e3a80cd..2a2b59aba1 100644 --- a/tests/hlr/poly_hlr/bug27979_7 +++ b/tests/hlr/poly_hlr/bug27979_7 @@ -1,12 +1,9 @@ -puts "TODO OCC30286 ALL: Error : The length of result shape is 3.2349, expected 3." - puts "========================================================================" puts "OCC27979: Parasolid converted BREP shows weird lines on hidden line Algo" puts "========================================================================" puts "" set viewname "vright" -set length 3. restore [locate_data_file bug27979_parsed.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug28242 b/tests/hlr/poly_hlr/bug28242 index 51188ef442..5a7d788cf9 100644 --- a/tests/hlr/poly_hlr/bug28242 +++ b/tests/hlr/poly_hlr/bug28242 @@ -4,7 +4,6 @@ puts "========" puts "" set viewname "" -set length 167.756 restore [locate_data_file bug28242.brep] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug29956 b/tests/hlr/poly_hlr/bug29956 index e755c193bd..f52066f38f 100644 --- a/tests/hlr/poly_hlr/bug29956 +++ b/tests/hlr/poly_hlr/bug29956 @@ -4,7 +4,6 @@ puts "========" puts "" set viewname "" -set length 4196.7 testreadstep [locate_data_file example_auto_tooling_01.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug30243 b/tests/hlr/poly_hlr/bug30243 index ed7a03f5b5..0f6d7cd56e 100644 --- a/tests/hlr/poly_hlr/bug30243 +++ b/tests/hlr/poly_hlr/bug30243 @@ -4,7 +4,6 @@ puts "========" puts "" set viewname "" -set length 2693.34 testreadstep [locate_data_file BFC_10000.stp] a COMPUTE_HLR $viewname $algotype diff --git a/tests/hlr/poly_hlr/bug7691 b/tests/hlr/poly_hlr/bug7691 index a1e6d8f102..becda41f16 100644 --- a/tests/hlr/poly_hlr/bug7691 +++ b/tests/hlr/poly_hlr/bug7691 @@ -4,7 +4,6 @@ puts "===========================" puts "" set viewname "vtop" -set length 611.18 # load shape restore [locate_data_file OCC7691-bottle.brep] a