0026938: Boolean operations fail between two ellipsoids
[occt.git] / tests / bugs / modalg_6 / bug26310_2
1 puts "========"
2 puts "OCC26310"
3 puts "========"
4 puts ""
5 #################################################
6 # Very slow boolean cut operations on cylinders
7 #################################################
8
9 restore [locate_data_file OCC26310-b1.brep] b1 
10 restore [locate_data_file OCC26310-b2.brep] b2 
11
12 bsection result b1 b2
13
14 smallview
15 donly result
16
17 set log [checksection result]
18
19 if { [string compare -nocase $log " nb alone Vertices : 0\n\n"] } {
20   puts "ERROR: the section is not closed"
21 } else {
22   puts "The section is OK"
23 }
24
25 fit
26 checkview -screenshot -2d -path ${imagedir}/${test_image}.png