0027802: [Regression to 7.0] Solid classifier raises exception ConstructionError
[occt.git] / tests / bugs / modalg_6 / bug26310_3
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 b1 b2
13
14bopcut res1
15boptuc res2
16
17checkshape res1
18checkshape res2
19
20set log1 [bopargcheck res1 #F]
21set log2 [bopargcheck res2 #F]
22
23if { [string compare -nocase $log1 "Shape(s) seem(s) to be valid for BOP.\n"] } {
24 puts "ERROR. res1 is not valid for BOP"
25}
26
27if { [string compare -nocase $log2 "Shape(s) seem(s) to be valid for BOP.\n"] } {
28 puts "ERROR. res2 is not valid for BOP"
29}
30
31smallview
32donly res1
33fit
34xwd ${imagedir}/${casename}_1.png
35donly res2
36fit
37xwd ${imagedir}/${casename}_2.png