0027300: Boolean operation produces invalid shape in terms of "bopargcheck" command
[occt.git] / tests / bugs / modalg_6 / bug27282_1
... / ...
CommitLineData
1puts "============"
2puts "OCC27282"
3puts "============"
4puts ""
5###############################
6## [Regression to 6.9.1] smesh/bugs_00/A6: Cut produces an empty shape
7###############################
8
9restore [locate_data_file bug27282_cmpd.brep] a
10explode a
11
12bclearobjects
13bcleartools
14baddobjects a_1
15baddtools a_2
16
17bfillds
18
19# CUT-operation
20bbop result 2
21
22set log [bopargcheck result #F]
23
24if { [string compare -nocase $log "Shape(s) seem(s) to be valid for BOP.\n"] } {
25 puts "ERROR. result is not valid for BOP"
26}
27
28checkshape result
29checknbshapes result -solid 1 -face 4
30checkprops result -v 2.96079e+007
31
32checkview -display result -2d -path ${imagedir}/${test_image}.png