0026855: Draw commands to debug Boolean Operations Algorithm
[occt.git] / tests / bugs / modalg_6 / bug26224
1 puts "============"
2 puts "OCC26224"
3 puts "============"
4 puts ""
5 ###############################
6 ## Wrong result obtained by Common operator.
7 ###############################
8
9 restore [locate_data_file bug26224_b1.brep] b1
10 restore [locate_data_file bug26224_b2.brep] b2
11
12 bclearobjects
13 bcleartools
14 baddobjects b1
15 baddtools b2
16
17 bfillds
18 bbop result 0
19
20 set square 35006.6
21
22 set nbshapes_expected "
23 Number of shapes in shape
24  VERTEX : 9
25  EDGE : 9
26  WIRE : 1
27  FACE : 1
28  SHELL : 0
29  SOLID : 0
30  COMPSOLID : 0
31  COMPOUND : 1
32  SHAPE : 21
33
34 "
35 checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator"
36
37 set 3dviewer 1