0029301: Improve performance of Boolean Operations
[occt.git] / tests / bugs / modalg_7 / bug29301
1 puts "========"
2 puts "OCC29301"
3 puts "========"
4 puts ""
5 #################################################
6 # Improve performance of Boolean Operations
7 #################################################
8
9 restore [locate_data_file bug29301_zh3.brep] cs
10
11 explode cs
12
13 bclearobjects
14 bcleartools
15 baddobjects cs_1
16 baddtools cs_2
17 bfillds
18 bbuild result
19
20 checkshape result
21 checknbshapes result -vertex 5 -edge 10 -wire 5 -face 5 -shell 2 -solid 2
22 checkprops result -s 4823.5 -v 10392.6
23 if {![regexp "OK" [bopcheck result]]} {
24   puts "Error: the result is self-interfered"
25 }
26
27 checkview -display result -2d -path ${imagedir}/${test_image}.png