0026342: No materials are read from STEP
[occt.git] / tests / bugs / modalg_1 / buc60788_2
CommitLineData
a87752f3 1puts "========"
2puts "BUC60788"
3puts "case 3"
4puts "========"
5
6#restore Cut_Shell_Case2.brep S1
7#restore Cut_Solid_Case2.brep S2
8
9restore [locate_data_file buc60788e.brep] S1
352ffd73 10checkshape S1
a87752f3 11restore [locate_data_file buc60787d.brep] S2
352ffd73 12checkshape S2
a87752f3 13
14bcut result S1 S2
15
16set nb_info [nbshapes result]
17regexp {COMPOUND +: +([-0-9.+eE]+)} $nb_info full err
18regexp {SHELL +: +([-0-9.+eE]+)} $nb_info full err1
19
4e57c75e 20if { $err != 1 || $err1 != 1} {
a87752f3 21 puts "Faulty : result should be a shell, but not a compound of faces"
22} else {
23 puts "BUC60788 - OK"
24}
4e57c75e 25set square 150200
a87752f3 26set 2dviewer 0