0030386: Modeling Algorithms - Unable to perform Cut operation
[occt.git] / tests / bugs / modalg_7 / bug27224
CommitLineData
340054e1 1puts "========"
2puts "OCC27224"
3puts "========"
4puts ""
5############################################################################
6# Incorrect result of boolean operation in boolean bcut_complex Q1 test case
7############################################################################
8
9restore [locate_data_file buc60290a.rle] sol1
10restore [locate_data_file buc60290b.rle] sol2
11
12explode sol1 f
13explode sol2 f
14
15bsection result sol2_1 sol1_1
16
17regexp {nb alone Vertices : ([-0-9.+eE]+)} [checksection result] full nbv
18
19if { $nbv != 0 } {
20 puts "Error : Incorrect result of boolean operation"
21} else {
22 puts "OK : Correct result of boolean operation"
23}
24
25smallview
26donly result
27fit
28
29checkview -screenshot -2d -path ${imagedir}/${test_image}.png