0026742: Update test cases for using checknbshapes procedure instead of global variables
[occt.git] / tests / bugs / modalg_5 / bug25354_15
1 puts "============"
2 puts "OCC25354"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Intersection operation
7 #######################################################################
8
9 # Case 15
10
11 restore [locate_data_file bug25354_f1.brep] b1
12 restore [locate_data_file bug25354_f2.brep] b2
13
14 ttranslate b2 -10 4  0
15
16 bop b1 b2
17 bopsection result
18
19 checknbshapes result -vertex 1 -edge 0 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 2
20 set 2dviewer 1