0028802: The tolerance reached by approximator is used in creation of an edge, it...
[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 checkprops result -s 35006.6 
21 checkshape result
22
23 set nbshapes_expected "
24 Number of shapes in shape
25  VERTEX : 9
26  EDGE : 9
27  WIRE : 1
28  FACE : 1
29  SHELL : 0
30  SOLID : 0
31  COMPSOLID : 0
32  COMPOUND : 1
33  SHAPE : 21
34
35 "
36 checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator"
37 checkview -display result -3d -path ${imagedir}/${test_image}.png