0025423: Incorrect result of splitting some shapes
[occt.git] / tests / bugs / modalg_6 / bug26310_4
CommitLineData
7365fad6 1puts "========"
2puts "OCC26310"
3puts "========"
4puts ""
5#################################################
6# Very slow boolean cut operations on cylinders
7#################################################
8
9restore [locate_data_file OCC26310-b1.brep] b1
10restore [locate_data_file OCC26310-b2.brep] b2
11
12bop b2 b1
13
14bopcut res1
15boptuc res2
16
17checkshape res1
18checkshape res2
19
20set log1 [bopargcheck res1 #F]
21set log2 [bopargcheck res2 #F]
22
23if { [string first "Faulties for FIRST shape found : 2" $log1] >= 0 } {
24 puts "ERROR in bopargcheck res1"
25}
26
27if { [string first "Shapes with Continuity C0 : YES Cases(2) Total shapes(2)" $log1] >= 0 } {
28 puts "ERROR. res1 with continuity C0."
29}
30
31if { [string first "Faulties for FIRST shape found : 2" $log2] >= 0 } {
32 puts "ERROR in bopargcheck res2"
33}
34
35if { [string first "Shapes with Continuity C0 : YES Cases(2) Total shapes(2)" $log2] >= 0 } {
36 puts "ERROR. res2 with continuity C0."
37}
38
39smallview
40donly res1
41fit
42xwd ${imagedir}/${casename}_1.png
43donly res2
44fit
45xwd ${imagedir}/${casename}_2.png