0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / tests / bugs / modalg_6 / bug26582
CommitLineData
876ca54f 1puts "============"
2puts "OCC26582"
3puts "============"
4puts ""
5###############################
6## Wrong result obtained by Common operator.
7###############################
8
9restore [locate_data_file bug26582_bx.brep] bx
10
11explode bx
12copy bx_1 b1
13copy bx_2 b2
14
15bclearobjects
16bcleartools
17baddobjects b1
18baddtools b2
19
20bfillds
21bbop result 0
22
58cf74e0 23checkprops result -s 39.1778
24checkshape result
876ca54f 25
26set nbshapes_expected "
27Number of shapes in shape
28 VERTEX : 5
29 EDGE : 7
30 WIRE : 3
31 FACE : 3
9526aa6a 32 SHELL : 0
876ca54f 33 SOLID : 0
34 COMPSOLID : 0
35 COMPOUND : 1
9526aa6a 36 SHAPE : 19
876ca54f 37"
38checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator"
5747059b 39checkview -display result -3d -path ${imagedir}/${test_image}.png