1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/tests/bugs/modalg/buc60788_2
2012-12-07 16:29:17 +04:00

30 lines
740 B
Plaintext
Executable File

puts "TODO OCC12345 ALL: Faulty : result should be a shell, but not a compound of faces"
puts "TODO OCC12345 ALL: Error : The square of result shape is"
puts "========"
puts "BUC60788"
puts "case 3"
puts "========"
#restore Cut_Shell_Case2.brep S1
#restore Cut_Solid_Case2.brep S2
restore [locate_data_file buc60788e.brep] S1
puts [checkshape S1]
restore [locate_data_file buc60787d.brep] S2
puts [checkshape S2]
bcut result S1 S2
set nb_info [nbshapes result]
regexp {COMPOUND +: +([-0-9.+eE]+)} $nb_info full err
regexp {SHELL +: +([-0-9.+eE]+)} $nb_info full err1
if { $err != 0 || $err1 != 1} {
puts "Faulty : result should be a shell, but not a compound of faces"
} else {
puts "BUC60788 - OK"
}
set square 0
set 2dviewer 0