1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/bugs/modalg_7/bug28764
nbv e121dd4d58 0029910: Porting to Debian80-64 : Regressions in Modeling Algorithms
Adjusting test cases.
Creation of new test cases.
2018-08-07 17:49:52 +03:00

28 lines
658 B
Plaintext

puts "========"
puts "OCC28764"
puts "========"
puts ""
#################################################
# [Regression to 7.0] Intersection of faces gives exception in debug mode
#################################################
restore [locate_data_file bug28764_ff.brep] f
explode f
####
axo
don f
fit
# Before the fix: Exception in Debug-mode only
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves f_1 f_2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 4.601149532364662e-008 1.0e-7 0.0
if {$NbCurv != 1} {
puts "Error: Please check NbCurves for intersector"
}
checkview -screenshot -2d -path ${imagedir}/${test_image}.png