Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
[occt.git] / tests / bugs / moddata / bug22703
1 puts "==========="
2 puts "OCC22703"
3 puts "==========="
4 puts ""
5 #######################################################################
6 #  Exception in bop command for the specified shapes
7 #######################################################################
8
9 set BugNumber OCC22703
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC22703-faceAC.brep] b1 
13
14 puts "Load second shape ..."
15 restore [locate_data_file OCC22703-pln.brep] b2 
16
17 puts "Prepare boolean operation ..."
18
19 if [catch { bop b1 b2 } catch_result] {
20     puts "Faulty ${BugNumber}"
21 } else {
22     puts "${BugNumber}  OK"
23 }
24
25 set 2dviewer 0
26