0029380: Delete "checknbshapes" from bugs/modalg_6/bug27341* test cases
[occt.git] / tests / bugs / modalg_6 / bug26565_1
CommitLineData
9526aa6a 1puts "============"
2puts "OCC26565"
3puts "============"
4puts ""
5###############################
6## Compsolid after cut becomes compound of solids
7###############################
8
9box b1 10 10 10
10explode b1 f
11copy b1_1 f
12explode b1 e
13copy b1_8 e
14
15box b2 10 5 5
16
17bclearobjects
18bcleartools
19baddobjects f e
20baddtools b2
21
22bfillds
23bbop r 0
24
25nbshapes r
26
27bbop r 2
28
29nbshapes r
30explode r
31
32# should edge and face
33
34set ShapeType "FACE"
35if { [regexp $ShapeType [whatis r_1]] == 1 } {
36 puts "OK : There is $ShapeType; Compsolid is good"
37} else {
38 puts "Error : There is not $ShapeType; Compsolid is bad"
39}
40
41set ShapeType "EDGE"
42if { [regexp $ShapeType [whatis r_2]] == 1 } {
43 puts "OK : There is $ShapeType; Compsolid is good"
44} else {
45 puts "Error : There is not $ShapeType; Compsolid is bad"
46}