1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
abk a5806fd49e Input shapes were corrected by 'updatetolerance' in tests:
- bugs modalg bug697_3,
-             bug697_4,
-             bug697_7,
-             bug697_8,
-             bug697_11,
-             bug1255,
-             bug1255_1,
-             bug5729,
-             bug6181,
-             bug6182,
-             bug6272_85,
-             bug6272_86,
-             bug10842_5.
2013-03-06 15:07:17 +04:00

41 lines
852 B
Plaintext
Executable File

puts "============"
puts "OCC6182"
puts "============"
puts ""
######################################################
# Incorrect result of boolean cut
######################################################
set BugNumber OCC6182
restore [locate_data_file OCC6182_A.brep] s1
updatetolerance s1
restore [locate_data_file OCC6182_B.brep] s2
decho off
set che_s1 [checkshape s1]
set che_s2 [checkshape s2]
decho on
if { [regexp {Faulty} $che_s1] } {
puts "Faulty ${BugNumber} : checkshape is wrong for s1"
}
if { [regexp {Faulty} $che_s2] } {
puts "Faulty ${BugNumber} : checkshape is wrong for s2"
}
bcut result s1 s2
set square 318709
set nb_v_good 316
set nb_e_good 502
set nb_w_good 185
set nb_f_good 181
set nb_sh_good 1
set nb_sol_good 1
set nb_compsol_good 0
set nb_compound_good 1
set nb_shape_good 1187
set 2dviewer 0