1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/lowalgos/intss/bug29910_2
nbv a6ebe9fc7c 0028493: [Regression vs 7.0.0] Intersection algorithm produces curve with loop
1. New testgrid "lowalgos/intss" has been created. It will contain all test cases on geometrical intersection of two surfaces ("intersect" DRAW-command) and two faces ("bopcurves" DRAW-command).

2. New test case for the issue #28493 has been created because the problem is not reproduced on MASTER.

3. Test case (lowalgos/intss/bug24472) for the issue #29501 has been modified in order to check loops of the resulting intersection curves.
2018-10-30 16:04:24 +03:00

38 lines
1.2 KiB
Plaintext

puts "========"
puts "OCC29910: Porting to Debian80-64 : Regressions in Modeling Algorithms"
puts "========"
puts ""
# Different result between Debian 7 and Debian 8 and between MSVC 2010 and 2017.
puts "TODO ?OCC29910 Windows: Error: Tolerance = 4.0169383828521568e-006 is not equal to expected"
puts "TODO ?OCC29910 Linux: Error: Tolerance = 6.0392296447644325e-07 is not equal to expected"
puts "TODO ?OCC29910 ALL: Error : is WRONG because number of VERTEX entities in shape \"result\" is 7"
puts "TODO ?OCC29910 ALL: Error : is WRONG because number of EDGE entities in shape \"result\" is 5"
restore [locate_data_file bug29910_f1.brep] f1
restore [locate_data_file bug29910_f2.brep] f2
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves f1 f2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 1.0e-7 1.0e-7 0.0
if {$NbCurv != 4} {
puts "Error: Please check NbCurves for intersector"
}
bsection result f1 f2
checksection result -r 4
checkshape result
checknbshapes result -edge 4 -vertex 6
checkprops result -l 97.2011
if {[regexp "Faulties" [bopargcheck result]]} {
puts "Error: bopargcheck has found some faulties in result"
}
smallview
don result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png